how to install nginx after removed it manually

Posted by april on Ask Ubuntu See other posts from Ask Ubuntu or by april
Published on 2013-10-19T16:03:10Z Indexed on 2013/10/19 16:08 UTC
Read the original article Hit count: 683

Filed under:

I have installed nginx using app

sudo apt-get install software-properties-common

sudo add-apt-repository ppa:nginx/stable

sudo apt-get install software-properties-common

sudo apt-get update

apt -get install nginx

Than I use whereis "nginx" and remove all files manually (rm) now i wanna re-install nginx but its not work it was return error

awk: cannot open /etc/nginx/nginx.conf (No such file or directory)

i create /etc/nginx/nginx.conf then use apt-get install nginx its complete install but not work

© Ask Ubuntu or respective owner

Related posts about nginx