Skip to content

Instantly share code, notes, and snippets.

@pwnmeow
Forked from shmidtelson/ajenti-v-php7.3.sh
Created February 2, 2021 07:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pwnmeow/80d4b122f646f3b45e57675d2e9ad56d to your computer and use it in GitHub Desktop.
Save pwnmeow/80d4b122f646f3b45e57675d2e9ad56d to your computer and use it in GitHub Desktop.
Ubuntu Nginx Web Server with Ajenti with PHP 7.3
#Insall Ajenti ubuntu 18.04
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
# install python imaging
apt upgrade
apt-get install python-pillow
cd ~
wget http://security.ubuntu.com/ubuntu/pool/universe/p/pillow/python-imaging_4.1.1-3build2_all.deb
dpkg -i python-imaging_4.1.1-3build2_all.deb
wget -O- https://raw.github.com/ajenti/ajenti/1.x/scripts/install-ubuntu.sh | sudo sh
apt-get install ajenti -y
service ajenti restart
# Uninstall Apache2
sudo apt-get autoremove && sudo apt-get remove apache2* -y
# PHP 7 REPO
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
# Install Ajenti-v
apt-get install ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php7.3-fpm php7.3-mysql php7.3-curl php7.3-json php7.3-gd php7.3-curl php7.3-zip -y
# If you want FTP
apt-get install ajenti-v-ftp-pureftpd -y
# If you want mail
apt-get install ajenti-v-mail -y
# If you want POP support (for gmail etc.)
apt-get install courier-pop -y
# Restart All Services
sudo service php7.3-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