Skip to content

Instantly share code, notes, and snippets.

@stypr
Last active August 17, 2019 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stypr/b86b188c5483913ba2e2 to your computer and use it in GitHub Desktop.
Save stypr/b86b188c5483913ba2e2 to your computer and use it in GitHub Desktop.
Install newest version of ARM nginx on Raspberry Pi
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