Skip to content

Instantly share code, notes, and snippets.

@darkniki
Forked from seanmcn/gist:62a021a765ad4f8e593b
Last active June 3, 2018 15:44
Show Gist options
  • Select an option

  • Save darkniki/66a5c0a7524242e54ad8027c1a5ffb28 to your computer and use it in GitHub Desktop.

Select an option

Save darkniki/66a5c0a7524242e54ad8027c1a5ffb28 to your computer and use it in GitHub Desktop.
The Perfect Web Server - Nginx, PHP7.0, Ajenti, Ubuntu
#Insall Ajenti
apt 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 update
apt install ajenti
service ajenti restart
# Uninstall Apache2
sudo apt autoremove && sudo apt remove apache2*
# Install Ajenti-v
apt install ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php7.0-fpm php7.0-mysql
# If you <3 Ruby
apt install ajenti-v-ruby-unicorn ajenti-v-ruby-puma
# If you need Python
apt install ajenti-v-python-gunicorn
# If you need nodeJS
apt install ajenti-v-nodejs
# If you want FTP
apt install ajenti-v-ftp-pureftpd
# If you want mail
apt install ajenti-v-mail
# If you want POP support (for gmail etc.)
apt install courier-pop
# Restart All Services
/etc/init.d/php7.0-fpm restart
/etc/init.d/nginx restart
/etc/init.d/ajenti restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment