The installation of Ajenti Control Panel on Ubuntu 18.04 LTS is an easy and quick process since an automated installer is provided for you. You only need to download and run a bash script installer which does all the dirty work for you.
Step 1: Update your system
Ensure your system and packages are updated.
sudo apt update sudo apt -y upgrade
It is recommended to reboot your server after an upgrade.
Step 2: Install Ajenti Control Panel on Ubuntu 18.04 LTS
You can choose to install Ajenti V2 or Ajenti 1.x. From my tests, Ajenti V2 is limited in features. If you need a complete server management solution, then choose v1.x.
Install Ajenti 1.x on Ubuntu 18.04 LTS
1. Install python-imaging dependency:
sudo apt -y install wget wget http://security.ubuntu.com/ubuntu/pool/universe/p/pillow/python-imaging_4.1.1-3build2_all.deb sudo pkg -i python-imaging_4.1.1-3build2_all.deb
Selecting previously unselected package python-imaging. (Reading database ... 106170 files and directories currently installed.) Preparing to unpack python-imaging_4.1.1-3build2_all.deb ... Unpacking python-imaging (4.1.1-3build2) ... Setting up python-imaging (4.1.1-3build2) ...
2. Import Ajenti repository GPG key
wget http://repo.ajenti.org/debian/key -O- | sudo apt-key add -
3. Add Ajenti repository:
echo "deb http://repo.ajenti.org/ng/debian main main ubuntu" | sudo tee /etc/apt/sources.list.d/ajenti.list
4. Install Ajenti 1.x on Ubuntu 18.04
sudo apt update sudo apt -y install ajenti
Now start and enable Ajenti service:
sudo systemctl status ajenti sudo systemctl enable ajenti
Ajenti will listen on HTTPS port
8000 by default
Login to Ajenti 1.x using:
Default username : root Default password : admin
Ajenti 1.x dashboard looks like below:
Ajenti V is a plugin suite for Ajenti 1.x, which adds fast, efficient and easy-to-setup web hosting capabilities. Install Ajenti V on Ubuntu 18.04 by running:
sudo apt -y install ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php7.2-fpm php7.2-mysql
Restart ajenti service after above installations:
sudo systemctl restart ajenti
Websites management link will be added to Ajenti interface. Enable Nginx and FPM services.
You will see:
You can also manage MySQL databases.
Install Ajenti 2 on Ubuntu 18.04 LTS (Not Fully Featured)
Download and run the installer using the following commands:
curl https://raw.githubusercontent.com/ajenti/ajenti/master/scripts/install.sh | sudo bash -s -
In a nutshell, this is what the installer does behind the hood:
- Install dependencies and Python development tools required by Ajenti
- Upgrade the Python Pip package manager
- Install Ajenti and its Plugins
The installer will enable the
ajenti service for you.
:: Installing initscript /bin/systemctl Created symlink /etc/systemd/system/multi-user.target.wants/ajenti.service -> /lib/systemd/system/ajenti.service. :: Complete Ajenti will be listening at HTTP port 8000 Log in with your root password or another OS user
Access Ajenti 2 Control Panel
As seen from the installation output, the Ajenti Control Panel will be listening on HTTP port 8000. If you have UFW firewall enabled, allow this port to access the web interface.
sudo ufw allow 8000/tcp
Then open your favorite web browser and navigate to
Log in with your root password or another OS user to start managing your server. The default page after login looks like one below:
Ajenti also gives you the conform of launching a terminal from a web browser as the user logged in as.
Update and install other Ajenti Plugins under the “Plugins” section. You now have a working Ajenti Control Panel installed on your Ubuntu 18.04 LTS server.