Answer the question
In order to leave comments, you need to log in
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:
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
Deploy Ruby On Rails on
Ubuntu 16.04 Xenial Xerus
I just needed with passenger)))
https://gorails.com/deploy/ubuntu/16.04
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
apt-get update
apt-get install nginx
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 questionAsk a Question
731 491 924 answers to any question