Last active
August 17, 2019 19:39
-
-
Save stypr/b86b188c5483913ba2e2 to your computer and use it in GitHub Desktop.
Install newest version of ARM nginx on Raspberry Pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /tmp | |
apt-get build-dep nginx | |
apt-get source nginx | |
cd /tmp/nginx-1.4.2 && sudo dpkg-buildpackage -uc -b | |
service nginx stop | |
apt-get remove nginx | |
dpkg-deb -I /tmp/nginx_1.4.2-1~squeeze_armhf.deb | |
dpkg -i /tmp/nginx_1.4.2-1~squeeze_armhf.deb | |
# in case of dpkg error use the following command: | |
# sudo dpkg -i --force-overwrite /tmp/nginx_1.4.2-1~squeeze_armhf.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment