In this blog post, we will look at how to Install Ajenti Control Panel on Ubuntu 18.04 LTS. Ajenti is an open source Web-based Server management and configuration Panel written in Python, JavaScript, and AngularJS. Those who’ll benefit more from Ajenti are system Administrations managing websites, DNS, Cron, Firewall, Files, Logs, Mail hosting services e.t.c.

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.

sudo reboot

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
sudo pkg -i python-imaging_4.1.1-3build2_all.deb

Sample output:

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 -O- | sudo apt-key add -

3. Add Ajenti repository:

echo "deb 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

install ajenti 1.x ubuntu 18.04 login

Login to Ajenti 1.x using:

Default username : root
Default password : admin

Ajenti 1.x dashboard looks like below:

install ajenti 1.x ubuntu 18.04 dashboardInstall Ajenti V  Plugin

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.

install ajenti 1.x ubuntu 18.04 websites

You will see:

install ajenti 1.x ubuntu 18.04 websites fpm

You can also manage MySQL databases.

install ajenti 1.x ubuntu 18.04 mysql management

Install Ajenti 2 on Ubuntu 18.04 LTS (Not Fully Featured)

Download and run the installer using the following commands:

curl | 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
Created symlink /etc/systemd/system/ -> /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 http://[IP|Hostname]:8000

install ajenti ubuntu 18.04 login

Log in with your root password or another OS user to start managing your server. The default page after login looks like one below:

install ajenti ubuntu 18.04 dashboard

Ajenti also gives you the conform of launching a terminal from a web browser as the user logged in as.

install ajenti ubuntu 18.04 terminal

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.

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!

As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.


Please enter your comment!
Please enter your name here