jokeru@box:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
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
apt-get install build-essential | |
cd /usr/src/ | |
wget http://nginx.org/download/nginx-1.6.0.tar.gz | |
tar -xzf nginx-1.6.0.tar.gz | |
cd nginx-1.6.0/ | |
./configure --help | |
./configure \ | |
--prefix=/usr/local/nginx \ |
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
--- /usr/lib/python2.7/CGIHTTPServer.py 2014-10-26 19:24:43.087509000 +0000 | |
+++ /usr/lib/python2.7/CGIHTTPServer.ubuntu.py 2014-10-26 19:33:00.487509000 +0000 | |
@@ -243,10 +243,10 @@ | |
return | |
# Child | |
try: | |
- try: | |
- os.setuid(nobody) | |
- except os.error: | |
- pass |
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
#!/usr/bin/env bash | |
if [ "$AWS_PROFILE" = "" ]; then | |
echo "No AWS_PROFILE set" | |
exit 1 | |
fi | |
for region in $(aws ec2 describe-regions --region eu-west-1 | jq -r .Regions[].RegionName); do |