This time, I’m gonna write a tutorial for installing NginX in Debian VPS.
Because my default Debian VPS is not having NginX in the repo, then we will make the repository list :
# nano /etc/apt/sources.list
Add the following lines to the last line :
deb http://nginx.org/packages/debian/ squeeze nginx
deb-src http://nginx.org/packages/debian/ squeeze nginx
Save the file by pressing Ctrl + O
Quit from the nano by pressing Ctrl + X
Install the NginX :
# apt-get install nginx
Our Debian VPS will automatically installing the version 0.6. You have NginX installed in your Debian VPS
If you want to do a manual installation for the NginX, you can try to compile it.
Bellow is the tutorial for compiling NginX for working with IPv6 :
# apt-get install libpcre3 libpcre3-dev libpcrecpp0 libssl-dev zlib1g-dev
# wget http://nginx.org/download/nginx-1.0.8.tar.gz
# tar -xvzf nginx-1.0.8.tar.gz
# cd nginx-1.0.8
# ./configure –with-ipv6
# make
# make install
Mantab artikelnya, sekalian lanjutin buat install mysql dan phpmyadminnya mas 🙂