Ajenti is a free to use and open source Server management and configuration Panel written in Python, JavaScript, and AngularJS. It provides a web dashboard for administration as opposed to command line management. With this tool you can manage websites, DNS, Cron, Firewall, Files, Logs, Mail hosting services e.t.c. This guide will discuss the installation of Ajenti Control Panel on Ubuntu 20.04.

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

  • Ajenti Core: Web interface development framework which includes a web server, IoC container, a simplistic web framework and set of core components aiding in client-server communications.
  • Ajenti Panel: Consists of plugins developed for the Ajenti Core and a startup script, together providing a server administration panel experience.

Install Ajenti Control Panel on Ubuntu 20.04

The Ajenti control panel can be installed on Ubuntu 18.04+ Linux system. The good thing about this installation is that it is purely automated.

Step 1: Update System

Make sure you’re working on a fresh installation of Ubuntu 20.04 server. A lot of dependencies will be installed automatically.

Update and upgrade your Ubuntu machine.

sudo apt update
sudo apt dist-upgrade

If the upgrade is completed reboot the system before initiating installation of Ajenti on Ubuntu 20.04.

sudo systemctl reboot

Step 2: Install Ajenti on Ubuntu 20.04

There is a script provided for the installation of Ajenti control panel on Ubuntu 20.04. First download the script with curl.

curl -O https://raw.githubusercontent.com/ajenti/ajenti/master/scripts/install.sh

Run the installer script with sudo command.

sudo bash ./install.sh

The installation of Ajenti on Ubuntu 20.04 could take some time depending on your internet connection. once it finishes you should get output like below.

....
:: Installing initscript
/usr/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

Confirm there is a service listening on 8000.

# 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 <->

Step 3: Open Ajenti Web Console on Ubuntu 20.04

Open your server IP address or hostname on port 8000 from your browser.

install ajenti control panel ubuntu 01

The Logins are your root password or another OS user.

install ajenti control panel ubuntu 02

Additional plugins can be installed under GENERAL > Plugins

install ajenti control panel ubuntu 03

Same for SYSTEM > Packages > APT|PIP

install ajenti control panel ubuntu 04

Systemd service managing the Panel is called ajenti.

$ 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.

sudo systemctl restart ajenti

Enjoy using Ajenti to manage your Ubuntu 20.04 Server from a web console.

install ajenti control panel ubuntu 05

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.

LEAVE A REPLY

Please enter your comment!
Please enter your name here