How to Install Ajenti Control Panel to Manage Linux Servers

Ajenti is an open-source web-based system management control panel for managing remote Linux system administration tasks from the web browser much similar to the Webmin system administration tool.

Ajenti is a much powerful and lightweight tool, that provides a fast and responsive web interface for managing small server set-ups and is also best suitable for VPS and Dedicated servers.

[ You might also like: Best Control Panels to Manage Linux Servers ]

It has been built with many pre-made plugins for configuring and monitoring server software and services such as Apache, Cron, File System, Firewall, MySQL, Nginx, Munin, Samba, FTP, Squid, and many other tools like File Manager, Code Editor for developers and Terminal access.


  • Debian 9 or later
  • Ubuntu Bionic or later
  • RHEL 8 or later

In this article, you will learn how to install Ajenti Control Panel on a fresh Linux system to manage a variety of Linux server management tasks from a web browser.

Installing Ajenti Control Panel in Linux

To install Ajenti, first, you need to update and upgrade your system software to the latest version as shown.

$ sudo apt update && sudo apt upgrade -y    [On Ubuntu & Debian]
$ sudo dnf update && sudo dnf upgrade -y    [On RHEL]

Once system updates are completed, reboot the system before starting the installation of Ajenti.

$ sudo systemctl reboot

After reboot, download the Ajenti installation script using the following curl command, which will install Ajenti along with all the needed dependencies as shown.

Install Ajenti on Debian/Ubuntu

$ curl | sudo bash -s -

Install Ajenti on RHEL/Rocky & AlmaLinux

On RHEL-based distributions, you need to enable the EPEL repository to install needed Ajenti dependencies as shown.

$ sudo dnf install
$ dnf install -y gcc python3-devel python3-pip python3-pillow python3-augeas python3-dbus chrony openssl-devel redhat-lsb-core

After installing all the required dependencies, now install Ajenti using the installation script as shown.

$ curl | sudo bash -s -
Installing Ajenti Control Panel
Installing Ajenti Control Panel
Ajenti Installation Completes
Ajenti Installation Completes

After Ajenti installation finishes, open the “8000” port on the firewall/router for remote access of the web interface.

$ sudo ufw allow 8000   [On Ubuntu & Debian]
$ sudo firewall-cmd --permanent --zone=public --add-port=8000/tcp  [On RHEL]
$ sudo firewall-cmd --reload

To access the Ajenti control panel web interface, open a web browser and type the IP of the server where we’ve installed Ajenti, and enter credentials of your system: username “root” and root password.

Ajenti Login
Ajenti Login
Ajenti Control Panel Dashboard
Ajenti Control Panel Dashboard
Terminal Access from Ajenti
Terminal Access from Ajenti

The Ajenti service can be started, stopped, restarted using the following commands.

$ sudo systemctl stop ajenti
$ sudo systemctl start ajenti
$ sudo systemctl restart ajenti
$ sudo systemctl status ajenti

Uninstall Ajenti Control Panel in Linux

Ajenti is a group of Python modules installed with pip, issued with a systemd script. So it’s essential to delete the systemd script, then the Python libraries, and the configurations files.

$ sudo systemctl stop ajenti.service
$ sudo systemctl disable ajenti.service
$ sudo systemctl daemon-reload
$ sudo rm -f /lib/systemd/system/ajenti.service

Then simply remove all Python modules:

$ sudo pip3 uninstall -y aj ajenti-panel ajenti.plugin.ace ajenti.plugin.auth-users ajenti.plugin.core ajenti.plugin.dashboard ajenti.plugin.filesystem ajenti.plugin.passwd ajenti.plugin.plugins ajenti.plugin.session-list ajenti.plugin.settings

If you don’t need configuration files, just delete the directory /etc/ajenti/:

$ sudo rm -rf /etc/ajenti/
Uninstall Ajenti Control Panel
Uninstall Ajenti Control Panel

For more information visit the Ajenti homepage.

Ravi Saive
I am an experienced GNU/Linux expert and a full-stack software developer with over a decade in the field of Linux and Open Source technologies

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.