- download 64 bit Debian 8.4 Jessie vmware image from http://www.osboxes.org/debian/#debian-8-4-jessie-vmware
Username: osboxes Password: osboxes.org Root Account Password: osboxes.org
TODO: should setup a new user or change password
- get sudo, add osboxes user under root ALL=(ALL:ALL) ALL osboxes ALL=(ALL:ALL) ALL
su
aptitude -y install sudo
visudo
- install c/c++ compilers and make
comment (#) the cdrom line(s) in /etc/apt/sources.list
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install make
- download nginx + libressl install script https://gist.github.com/noname77/3f1753b49889d39654f71b6e1c18c8da
wget https://gist.githubusercontent.com/noname77/3f1753b49889d39654f71b6e1c18c8da/raw/5da39a78d2f754b8f35d04c2edb5e5c6ccddb5a6/build_nginx.sh
- the default modules also require:
- HTTP gzip module requires the zlib library
- HTTP image filter module requires the GD library
- GeoIP module requires the GeoIP library
sudo apt-get install zlib1g-dev
sudo apt-get install libgd2-xpm-dev
sudo apt-get install libgeoip-dev
- run the script
chmod +x ./build-nginx
./build-nginx
- create necessary ??? folders
sudo mkdir -p /var/lib/nginx/body
sudo mkdir /var/log/nginx
- run nginx
sudo nginx