Problem deploying ngrest under nginx on Ubuntu 16.04
Closed this issue · 0 comments
hoang408 commented
As ngrest service fails on my Windows 7 PC and the Ubuntu 18.04 VM that runs on it, I try doing it on my Ubuntu 16.04 machine following this guide:
github.com/loentar/ngrest/wiki/Deploy-ngrest-under-Nginx
It fails at sudo apt-get build-dep nginx
with multiple Failed to fetch complaints. Googling around I find this guide:
www.howtoforge.com/tutorial/how-to-install-nginx-and-google-pagespeed-on-ubuntu-16-04/
Some magic happens after these commands:
sudo sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ABF5BD827BD9BF62
sudo apt-get update
I then go back to the ~/nginx-build
folder and execute sudo apt-get build-dep nginx
. It happily builds. I figure this may help others.