How to Install Ajenti Control Panel on Ubuntu 20.04

Ajenti is a hosting control panel that is free to use and its open-source server management, it’s make you set up a website very easily with a clean and modern interface. You wouldn’t feel difficult in setting up the application server, databases and routing. It is written in Python, JavaScript, and AngularJS. Where you can easily manage the websites, firewall, files, logs and mail hosting services.

Our technical team support will assist you in installing the Ajenti control panel on Ubuntu 20.04 on your behalf under our server management plan. You can also take assistance from our technical team support 24/7 for fixing the error or any sort of installation and migration.

Follow the steps to install the Ajenti control panel on Ubuntu 20.04

The Ajenti Project consists of Ajenti Core and a set of stock plugins forming the Ajenti Panel.

Update System initially, update and upgrade the Ubuntu machine by executing the command:

$ sudo apt update
$ sudo apt dist-upgrade

Once you update the ubuntu then you have to reboot the system before initiating the installation of Ajenti on Ubuntu 20.04.

For this we can use the following command:

$ sudo systemctl reboot

Installing Ajenti on Ubuntu 20.04

Execute the command and install Wget

$ sudo apt-get install wget -y

Once wget is installed, issue the following commands:

$ 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

With the following commands, need to import the necessary GPG key. 

$ wget http://repo.ajenti.org/debian/key -O- | sudo apt-key add

And create a new ajenti.list file with the following command:

$ echo "deb http://repo.ajenti.org/ng/debian main main ubuntu" | sudo tee /etc/apt/sources.list.d/ajenti.list

Execute the commands and install the Ajenti

$ sudo apt update
$ sudo apt -y install ajenti

Finally, install the Ajenti V plugin with the following command:

$ sudo apt -y install ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php7.2-fpm php7.2-mysql

 Start and enable Ajenti by executing the command.

$ sudo systemctl start ajenti
$ sudo systemctl enable ajenti

Also, we can confirm there is a service listening on 8000 using the following:

# ss -tunelp | grep 8000
tcp LISTEN 0 10 0.0.0.0:8000 0.0.0.0:* users:(("/usr/local/bin/",pid=21271,fd=9),("/usr/bin/python",pid=21264,fd=9)) ino:31300 sk:5 <->

Opening Ajenti Web Console on Ubuntu 20.04

Use the server IP address or hostname on port 8000 in the browser to get the UI.

The Logins are root passwords or another OS user.

Additional plugins can be installed under GENERAL > Plugins.

Same for SYSTEM > Packages > APT|PIP

Systemd service managing the Panel is called ajenti.

Executive the commands and check the status.

$ systemctl status ajenti
ajenti.service - Ajenti panel
Loaded: loaded (/lib/systemd/system/ajenti.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-06-10 17:31:58 CEST; 25min ago
Process: 21260 ExecStart=/usr/bin/python3 /usr/local/bin/ajenti-panel -d (code=exited, status=0/SUCCESS)
Tasks: 14 (limit: 18721)
Memory: 273.9M
CGroup: /system.slice/ajenti.service
├─21264 /usr/bin/python3 /usr/local/bin/ajenti-panel
├─21594 /usr/local/bin/ajenti-panel worker [restricted session]
└─21613 /usr/local/bin/ajenti-panel worker [session 1]
....

Executive the command and restart.

$ sudo systemctl restart ajenti

Common error encountered

For installing the Ajenti control panel, we have to install the python-imaging dependency. The installation of python-imaging using the following command will error out:

 $ sudo pkg -i python-imaging_4.1.1-3build2_all.deb

To fix executive the command:

$ sudo apt-get install -f

Conclusion

In short, follow the steps to install Ajenti Control Panel on Ubuntu 20.04. Need assistance to install the Ajenti control panel on your behalf with help of our technical team support.

FREE SERVER AUDITING

Get Auditing Report of Your Server for FREE!!

Fix this issue for

$25/Hour

$6.25/Hour

Applicable only to the first hour.