Skip to content

Instantly share code, notes, and snippets.

@stypr stypr/install.sh
Last active Aug 17, 2019

Embed
What would you like to do?
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
You can’t perform that action at this time.