Bobcares

Install Ajenti Control Panel on Ubuntu 20.04 – How to do

by | Apr 26, 2021

Wondering how to Install Ajenti Control Panel on Ubuntu 20.04. We can help you.

Ajenti is a free-to-use and open-source Server management and configuration Panel. It is written in Python, JavaScript, and AngularJS.

With this tool, we can manage websites, DNS, Cron, Firewall, Files, Logs, Mail hosting services, etc. The dashboard makes it easier to manage servers.

Here at Bobcares, we handle requests from our customers to Install Ajenti Control Panel on Ubuntu 20.04 as a part of Server Management Services.

Today, let us see how our Support techs resolve this issue for our customers.

Steps to Install Ajenti Control Panel on Ubuntu 20.04

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

1. Update System

Firstly, update and upgrade the Ubuntu machine using the following commands:

$ sudo apt update
$ sudo apt dist-upgrade

Once the update is complete we can reboot the system before initiating the installation of Ajenti on Ubuntu 20.04.

For this we can use the following command:

$ sudo systemctl reboot

2.  Installing Ajenti on Ubuntu 20.04

We will install wget using the following command first:

$ 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

Next, we will import the necessary GPG key with the following command:

$ 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

After that we will install Ajenti with the following commands:

$ 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

We can Start and enable Ajenti using the following 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 <->

3. Opening Ajenti Web Console on Ubuntu 20.04

Now, we need to can use the server IP address or hostname on port 8000 in our browser to get the UI.

The Logins are root passwords or another OS user.

install ajenti control panel on ubuntu

Additional plugins can be installed under GENERAL > Plugins.

Same for SYSTEM > Packages > APT|PIP

Systemd service managing the Panel is called ajenti.

We can check the status using the following command:

$ 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)
Main PID: 21264 (/usr/bin/python)
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]
....

This can be restarted anytime as required using the following command:

$ 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 this, we can use the following command:

$ sudo apt-get install -f

[Need assistance? We can help you]

Conclusion

In short, we saw how our Support Engineers install Ajenti Control Panel on Ubuntu 20.04 for our customers.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.