Skip to content

Instantly share code, notes, and snippets.

@kn9
Created November 26, 2016 21:37
Show Gist options
  • Save kn9/c9501bb187c90bf14935b4acb45ba2ef to your computer and use it in GitHub Desktop.
Save kn9/c9501bb187c90bf14935b4acb45ba2ef to your computer and use it in GitHub Desktop.
The Perfect Web Server - OpenSSL, Nginx, MySQL (PostgreSQL), Ajenti, Wordpress, Debian 7.x
#Insall Ajenti
apt-get update
wget http://repo.ajenti.org/debian/key -O- | apt-key add -
echo "deb http://repo.ajenti.org/ng/debian main main ubuntu" >> /etc/apt/sources.list
apt-get update
apt-get install ajenti
service ajenti restart
# Uninstall Apache2
sudo apt-get autoremove && sudo apt-get remove apache2*
# Install Ajenti-v (other packages: ajenti-v-ruby-unicorn ajenti-v-ruby-puma ajenti-v-python-gunicorn ajenti-v-nodejs)
apt-get install ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php-fpm php5-mysql ajenti-v-mail ajenti-v-ftp-pureftpd
# If you want POP support (for gmail etc.)
apt-get install courier-pop
# Restart All Services
sudo service php5-fpm restart
sudo service nginx restart
sudo service ajenti restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment