Skip to content

Instantly share code, notes, and snippets.

@debashisbarman
debashisbarman / forwardport.sh
Created May 15, 2020 10:43 — forked from Bostonncity/forwardport.sh
Forward port 80 to 8080 on EC2 instance.
sudo iptables -t nat -L
sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8000
@apcro
apcro / gist:99ced7c8a5b20fd77622e7394c2049ac
Last active July 15, 2022 11:27
Installing libvips from source and making it work
Installing `libvips` from source on Ubuntu 18.04 Bionic
(See the first comment at https://gist.github.com/apcro/99ced7c8a5b20fd77622e7394c2049ac for a formatted version of this gist)
<code>
wget https://github.com/libvips/libvips/releases/download/v8.8.2/vips-8.8.2.tar.gz
tar -xvf vips-8.8.2.tar.gz
cd vips-8.8.2
./configure
</code>
@renexu
renexu / build_libvips.md
Created January 24, 2019 19:46
build latest libvips deb on ubuntu 18.04

These are the steps to build latest libvips (8.7.4) deb package on ubuntu 18.04

##1. install build scripts

# sudo apt install build-essential devscripts

##2. download vips source