A
A
Anton Misyagin2016-05-17 09:09:07
linux
Anton Misyagin, 2016-05-17 09:09:07

How to install nginx on Ubuntu server 16.04 x64?

There was sadness, I downloaded and configured all the software needed for the site, except for nginx. Before that, everything worked on version 14.04. Here I run the same script that installs the software for me and the following ambush occurs: b57f4fc50d0e435dac4d169bb89f0a78.png
Tell me what to do? I'm not very familiar with Linux, so I'm asking for help)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Anton Misyagin, 2016-05-17
@sunnmas

Deploy Ruby On Rails on
Ubuntu 16.04 Xenial Xerus

I just needed with passenger)))
https://gorails.com/deploy/ubuntu/16.04

S
Schoolboy., 2016-05-17
@viphorizon

Add the lines to sources.list, just don't forget to change the codename, here's the list :

deb http://nginx.org/packages/ubuntu/ codename nginx
deb-src http://nginx.org/packages/ubuntu/ codename nginx

And then:
apt-get update
apt-get install nginx

Y
Yuri Chudnovsky, 2016-05-17
@Frankenstine

You have a dependency package on trusty, which is ubuntu 14.04; at the same time, you still have 16.04, which means that the repository from the old system is in the sources list and you are trying to install a hodgepodge of two versions. Change trusty to xenial in the source list and update the list of packages.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question