-
Notifications
You must be signed in to change notification settings - Fork 1
Manual Install
Gary Cornell edited this page Jul 1, 2017
·
7 revisions
-
You will need to create directories manually by doing a manual install such as sites-available / sites-enabled / nginx.conf edits / conf.d/vhosts.conf / Symlinks etc its not worth it you are not experienced I implore you to use my auto install bash script as it does it all.
-
Lets start with the web server Nginx, we will use the latest mainline version
- Add the repo sources and grab the signing key for NGINX
nano /etc/apt/sources.list
- at the bottom add:
deb http://nginx.org/packages/mainline/ubuntu/ xenial nginx
deb-src http://nginx.org/packages/mainline/ubuntu/ xenial nginx
- Save file
cd /tmp
curl -O https://nginx.org/keys/nginx_signing.key && apt-key add ./nginx_signing.key
apt update
apt install nginx -y
- Check Version
nginx -V