Last active
August 21, 2021 02:47
-
-
Save kn9/856659334d08cdc40efd4bd5fd55fb64 to your computer and use it in GitHub Desktop.
Ubuntu Nginx Web Server with Ajenti with PHP 7.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 -y | |
service ajenti restart | |
# Uninstall Apache2 | |
sudo apt-get autoremove && sudo apt-get remove apache2* -y | |
# Install Ajenti-v | |
apt-get install ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php7.0-fpm php7.0-mysql php7.0-curl php7.0-json php7.0-gd php7.0-curl php7.0-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.0-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
Hi,
Thanks for sharing,
Just want to know how can i update ajenti-v with php5.5 to php5.6 or 7.0
Thanks