Last active
July 20, 2024 16:30
-
-
Save seanmcn/62a021a765ad4f8e593b to your computer and use it in GitHub Desktop.
The Perfect Web Server - Nginx, Ajenti, Ubuntu
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 | |
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 |
@Bananenbaas Which Ubuntu version are you using? My guess is that you are using 16.x or greater, which comes with PHP 7 support by default. See: http://stackoverflow.com/questions/36788873/package-php5-have-no-installation-candidate-ubuntu-16-04
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all thanks for the post. I get this error when trying to install fpm and php5
Do you know a solution?