Email This List Email This List Print This List Print This List

The Best Web and Mail Serv­er setup

The Per­fect Web Serv­er — Nginx, Ajenti, Ubuntu

#Insall Ajenti
apt-get update
wget http://​repo​.ajenti​.org/​d​e​b​i​a​n​/​key ‑O- | apt-key add -
echo deb http://​repo​.ajenti​.org/​n​g​/​d​e​b​ian main main ubuntu » /etc/apt/sources.list
apt-get update
apt-get install ajenti
ser­vice ajenti restart
# Unin­stall Apache2
sudo apt-get autore­move && sudo apt-get remove apache2*
# Install Ajenti‑v
apt-get install ajenti‑v ajenti-v-nginx ajenti-v-mysql ajenti-v-php-fpm php5-mysql
# If you <3 Ruby
apt-get install ajenti-v-ruby-uni­corn ajenti-v-ruby-puma
# If you need Python
apt-get install ajenti-v-python-guni­corn
# If you need nodeJS
apt-get install ajenti-v-nodejs
# If you want FTP
apt-get install ajenti-v-ftp-pureft­pd
# If you want mail
apt-get install ajenti-v-mail
# If you want POP sup­port (for gmail etc.)
apt-get install cour­i­er-pop
# Restart All Ser­vices
sudo ser­vice php5-fpm restart
sudo ser­vice nginx restart
sudo ser­vice ajenti restart

Related Post

admin has written 133 articles