Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save 13122310958/2c0e1f73c1b714ff76200cee6a3ca5ac to your computer and use it in GitHub Desktop.
Save 13122310958/2c0e1f73c1b714ff76200cee6a3ca5ac to your computer and use it in GitHub Desktop.
The Perfect Web Server - Nginx, Ajenti, Ubuntu
#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
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-unicorn ajenti-v-ruby-puma
# If you need Python
apt-get install ajenti-v-python-gunicorn
# If you need nodeJS
apt-get install ajenti-v-nodejs
# If you want FTP
apt-get install ajenti-v-ftp-pureftpd
# If you want mail
apt-get install ajenti-v-mail
# 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
@13122310958
Copy link
Author

sudo su -

@13122310958
Copy link
Author

#update . fix can not found python-imaging :
wget https://launchpad.net/ubuntu/+source/pillow/4.1.1-3build2/+build/13243580/+files/python-imaging_4.1.1-3build2_all.deb
dpkg -i python-imaging_4.1.1-3build2_all.deb

php 7.2

sudo apt-get install ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php7.2-fpm php7.2-mysql php7.2-curl php7.2-json php7.2-gd php7.2-curl php7.2-zip php7.2-curl curl php7.2-dev -y
sudo apt-get install imagemagick -y

sudo apt install php-xml php7.2-xml php7.2-gd unzip zip -y
sudo apt-get install ajenti-v-ftp-pureftpd -y

@gerMdz
Copy link

gerMdz commented Jul 2, 2020

Gracias, Muchas gracias

@elaoshi
Copy link

elaoshi commented Nov 4, 2020

sudo apt-get install software-properties-common -y

sudo apt --fix-broken install

sudo apt install php7.2-mbstring

@elaoshi
Copy link

elaoshi commented May 10, 2021

php 7.4

sudo apt-get install ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php7.4-fpm php7.4-mysql php7.4-curl php7.4-json php7.4-gd php7.4-curl php7.4-zip php7.4-curl curl php7.4-dev -y

sudo apt install php-xml php7.4-xml php7.4-gd unzip zip php7.4-mbstring php7.4-redis -y

@NorDULaN
Copy link

NorDULaN commented Apr 1, 2022

Gracias)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment