Saturday, May 27, 2017

Linux: Install Nginx on Debian jessie 8.8.0

One of the very famous web server to date is nginx. For me, it is more sophisticated than apache web server. In this tutorial, we are going to install Nginx in Debian Jessie 8.8.0. 

1. Don't forget to update. Use apt-get update when you are root. If your not a root user, you can use sudo apt-get update. Make sure that you are connected to internet when updating the repositories. 

apt-get update


apt-get update

2. Install nginx. Type the command below to install nginx. After that, the server will ask you a question if do you want to continue installing this package and you must press Y to accept the installation and click enter to process the installation.

apt-get install nginx


3. Test your browser.  Open your web browser like chrome or firefox and navigate to the ip address of your browser or use localhost. Finally, if url is right, you will see a nginx welcome message .


No comments:

Post a Comment