Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
@VincentVToscano

This comment has been minimized.

Copy link

commented Sep 1, 2015

Hey, thanks for posting this. Just wondering if you've had experience installing nginx with additonal modules but still using Ajenti to admin the webserver. I tend to use some Nginx modules that are located in the extras package and would be interested to use Ajenti. Take care

@Lon3ly

This comment has been minimized.

Copy link

commented Dec 30, 2015

hello , thanks for this steps my server new Perfact

@itskawsar

This comment has been minimized.

Copy link

commented Nov 22, 2016

Great post 👍
What to do if I need PHP7 Support?

@tiipiik

This comment has been minimized.

Copy link

commented Feb 10, 2017

@itskawsar replace php5-mysql and php5-fpm by php7.0-mysql and php7.0-fpm

@Bananenbaas

This comment has been minimized.

Copy link

commented Feb 28, 2017

First of all thanks for the post. I get this error when trying to install fpm and php5

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ajenti-v-php-fpm : Depends: php5-fpm but it is not installable
E: Unable to correct problems, you have held broken packages.****

Do you know a solution?

@pablophg

This comment has been minimized.

Copy link

commented Apr 11, 2017

@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
You can’t perform that action at this time.