Hi mates,
I’m having hard time trying to find a good or well-documented procedure on how to install nginx v.1.4.4
I found some tut, but it seems there are some issues when it comes to debugging…
I followed the tut above to get the right version 1.4.4, but couldn’t.
is there a straight forward process to reach that without extra headache??
Thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I finally found the solution to my issue… and this is the procedure just in case if someone run into such problem: <br> <br>1- Edit the sources list: sudo nano /etc/apt/sources.list <br>add the following based on your OS, mine is Debian Wheezy::: <br>deb http://ftp.uk.debian.org/debian wheezy-backports main <br>deb-src http://ftp.uk.debian.org/debian wheezy-backports main <br> <br>Ctrl+X and push y to save the work. <br> <br>2- update your resources: sudo apt-get update <br> <br>3- install some packages that you need to the upgrade::: <br>sudo apt-get install dpkg-dev build-essential zlib1g-dev libpcre3 libpcre3-dev unzip <br> <br>4- sudo apt-get -t wheezy-backports build-dep nginx <br> <br>5- create a folder for the latest nginx packages: mkdir custom-nginx-1.4.4 <br>go inside the dir where you created it::: cd custom-nginx-1.4.4 <br> <br>6- download the pkge::: sudo apt-get -t wheezy-backports source nginx <br> <br>7- change the log version in the log file::: sudo nano ~/custom-nginx-1.4.4/nginx-1.4.4/debian/changelog <br> <br>e.g::: originally like this 1.4.4-1~bpro70+1, then change it to anything like this 1.4.4-1~bpro70+1_sms <br> <br>save your file and exit <br> <br>8- enter to the main folder of nginx::: cd ~/custom-nginx-1.4.4/nginx-1.4.4 <br>then build the pkge::: sudo dpkg-buildpackage -b <br> <br>9- when the build up finished, enter these command line::: <br>sudo dpkg -i nginx-full_1.4.4-1~bpo70+1-sms_amd64.deb nginx-common_1.4.4-1~bpo70+1-sms_all.deb nginx_1.4.4-1~bpo70+1-sms_all.deb <br> <br>10 run::: sudo apt-get -f install <br> <br>and you are done. you can check the version of you nginx using this command::: nginx -v or nginx -V <br> <br>These steps are based on the tut here: https://www.digitalocean.com/community/articles/how-to-add-ngx_pagespeed-module-to-nginx-in-debian-wheezy <br> <br>Good luck <br> <br>
v.important note: in step 7, I mentioned “then change it to anything like this 1.4.4-1~bpro70+1_sms” <br> <br>underscore is not allowed, so you can use hyphen instead.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.