Install Ajenti Control Panel on Rocky Linux 8|CentOS 8

This article explains how to install Ajenti Control Panel on Rocky Linux 8 / CentOS 8. Ajenti Control Panel is a free, open source, lightweight, web-based graphical user interface control panel for Linux servers. It is similar to the Webmin and cPanel modules. System administrators use it to easily manage remote servers. It provides more operations needed to configure and keep the server updated. It’s easy to install, configure, customize, and install new plug-ins. The Ajenti control panel has many amazing features, including:

  • GUI based on Google’s AngularJS
  • Embedded web server
  • It has a clean and well-documented interface.
  • With high performance.
  • High security through sandbox
  • Interface component set
  • Network socket engine
  • Inventory remote API i. e account management, file system access, Augeas remote processing.
  • Fully support mobile phones and tablets
  • It has notifications, modals and real-time updates
  • Pluggable authorization module, custom permissions
  • Pluggable authentication and authorization: PAM, Mozilla roles, custom account storage.

Here are some simple steps on how to install Ajenti Control Panel on CentOS 8|RHEL 8|Rocky Linux 8.

1) Add EPEL repository on CentOS 8|RHEL 8|Rocky Linux 8

First, before we install the Ajenti control panel, we need to add the EPEL repository required to install Ajenti’s dependencies.

sudo dnf -y install epel-release

Install Ajenti dependencies.

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

2) Install Ajenti control panel on CentOS 8|RHEL 8|Rocky Linux 8.

After adding the required repositories and downloading the dependencies, we can now use this command to install the Ajenti control panel on CentOS 8|RHEL 8|Rocky Linux 8. This script downloads and automatically installs Ajenti

curl https://raw.githubusercontent.com/ajenti/ajenti/master/scripts/install.sh | sudo bash -s -

Sample output:

.......
Collecting pip
  Downloading https://files.pythonhosted.org/packages/ca/31/b88ef447d595963c01060998cb329251648acf4a067721b0452c45527eb8/pip-21.2.4-py3-none-any.whl (1.6MB)
    100% |████████████████████████████████| 1.6MB 513kB/s 
Collecting wheel
  Downloading https://files.pythonhosted.org/packages/04/80/cad93b40262f5d09f6de82adbee452fd43cdff60830b56a74c5930f7e277/wheel-0.37.0-py2.py3-none-any.whl
Collecting setuptools
  Downloading https://files.pythonhosted.org/packages/bd/25/5bdf7f1adeebd4e3fa76b2e2f045ae53ee208e40a4231ad0f0c3007e4353/setuptools-57.4.0-py3-none-any.whl (819kB)
    100% |████████████████████████████████| 819kB 949kB/s 
...............
:: Installing Ajenti
Collecting ajenti-panel
  Downloading ajenti-panel-2.1.40.tar.gz (31 kB)
Collecting ajenti.plugin.core
  Downloading ajenti.plugin.core-0.98.tar.gz (15.1 MB)
     |████████████████████████████████| 15.1 MB 1.6 MB/s 
Collecting ajenti.plugin.dashboard
  Downloading ajenti.plugin.dashboard-0.39.tar.gz (33 kB)
Collecting ajenti.plugin.settings
  Downloading ajenti.plugin.settings-0.30.tar.gz (46 kB)
................
:: Installing initscript
/bin/systemctl
Created symlink /etc/systemd/system/multi-user.target.wants/ajenti.service → /usr/lib/systemd/system/ajenti.service.
:: Complete

Ajenti will be listening at HTTP port 8000
Log in with your root password or another OS user

From the above output, Ajenti has been automatically launched and enabled on your system.Check the status of the Ajenti service on CentOS 8|RHEL 8|Rocky Linux 8

Check the status of the service.

$ sudo systemctl status ajenti
 ajenti.service - Ajenti panel
   Loaded: loaded (/usr/lib/systemd/system/ajenti.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2021-08-19 07:46:27 EDT; 5min ago
  Process: 7554 ExecStartPost=/bin/sleep 5 (code=exited, status=0/SUCCESS)
  Process: 7552 ExecStart=/bin/python3 /usr/local/bin/ajenti-panel -d (code=exited, status=0/SUCCESS)
 Main PID: 7555 (python3)
    Tasks: 3 (limit: 6892)
   Memory: 44.7M
   CGroup: /system.slice/ajenti.service
           ├─7555 /bin/python3 /usr/local/bin/ajenti-panel -d
           └─7595 /usr/local/bin/ajenti-panel worker [restricted session]

Aug 19 07:46:21 rockylinux8.linuxvmimages.local systemd[1]: Starting Ajenti panel...
Aug 19 07:46:27 rockylinux8.linuxvmimages.local systemd[1]: Started Ajenti panel.

Configure firewall

After starting the Ajenti service, we need to open port 8000 on the firewall. After enabling the port through the firewall, we will be able to access and log in to the Ajenti web interface. To allow ports to pass through the firewall on CentOS 8|RHEL 8|Rocky Linux 8, use:

sudo firewall-cmd --permanent --zone=public --add-port=8000/tcp
sudo firewall-cmd --reload

3) Access and use the Ajenti control panel web interface

Ajenti uses secure HTTP (HTTPS) to work on port 8000. Now we use the server IP https://ip:8000 or the domain name https://domainname.com:8000 to access the web interface.

Use your system’s credentials to log in, that is, the user name as the user name and password on your system. After successfully logging in, you will see this dashboard.Install Ajenti Control Panel on CentOS 8RHEL 8Rocky Linux 8 1

Plug-in management

To access the plugin and settings page, you need to log in with a root account.Install Ajenti Control Panel on CentOS 8RHEL 8Rocky Linux 8 18

From here, you can install other plugins and then restart the panel to apply the settings.

Install Ajenti Control Panel on CentOS 8RHEL 8Rocky Linux 8 20

Change hostname, language, and SSL settings

Under the Settings tab, you can edit the hostname, set the language, and enable SSL to enhance the security in many other settings.Install Ajenti Control Panel on CentOS 8RHEL 8Rocky Linux 8 21

Access file manager, notepad, terminal

You can use any user account to access tools such as file manager, notepad, and terminal. On the file manager, you can create and upload files on the system.Install Ajenti Control Panel on CentOS 8RHEL 8Rocky Linux 8 10

Notepad will help you create and edit text files on the system. This can be used to create and edit configuration files on your system.Install Ajenti Control Panel on CentOS 8RHEL 8Rocky Linux 8 13

On the terminal, you can execute the required terminal commands, such as installing software packages, updating the system, etc.Install Ajenti Control Panel on CentOS 8RHEL 8Rocky Linux 8

Service management

service The tab consists of system services. Here you can stop and start the service.Install Ajenti Control Panel on CentOS 8RHEL 8Rocky Linux 8 11

Super user access

If you are not logged in as a super user, you can promote your account by navigating to the top right corner and clicking on the displayed user and then selecting promote. You will need to enter a password to verify.Install Ajenti Control Panel on CentOS 8RHEL 8Rocky Linux 8 5

You can use this command to start or stop the Ajenti service.

###To Start Ajenti service
sudo systemctl start ajenti

###To Stop Ajenti service
sudo systemctl stop ajenti

in conclusion

Congratulations! You have successfully installed Ajenti Control Panel on CentOS 8|RHEL 8|Rocky Linux 8. Ajenti Control Panel is an amazing tool with a beautiful and easy-to-use web interface. It has many features that are easy to install. I hope you will enjoy using this tool.

See more information on our page:

  • How to install Ajenti Control Panel on Ubuntu
  • Install Ajenti Control Panel on Debian
  • Install CloudPanel Control Panel on Ubuntu

Related Posts