We are committed to provide service 24 X 7

Deals, Shopping, Training, Tools

Learn how to – Install Ajenti Control Panel on Rocky Linux 8|CentOS 8

Learn how to – Install Ajenti Control Panel on Rocky Linux 8|CentOS 8.

This article explains the installation of Ajenti Control Panel on Rocky Linux 8 / CentOS 8. Ajenti Control panel is a free, open-source, lightweight, web-based Graphics User Interface control panel for Linux Servers. It is similar to Webmin and cPanel modules. It is used by system administrators to manage remote servers with ease. It offers more actions required to configure and keep your server updated. It is easy to install, configure, customize and install new plugins. Ajenti Control panel has many amazing features, among them are:

  • GUI based on the Google’s AngularJS
  • Embedded web server
  • It has clean and well-documented interfaces.
  • Has high performance.
  • High security through sandboxing
  • UI component set
  • Websockets engine
  • Stock remote APIs i. e account management, file system access, Augeas remoting.
  • Fully supports mobile and Tablet
  • It has notifications, modals and live update
  • Pluggable authorization modules, custom permissions
  • Pluggable authentication and authorization: PAM, Mozilla persona, custom account store.

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

1) Add EPEL Repository

First, before we install the Ajenti Control Panel, we need to add the EPEL repository required for the install of Ajenti 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

After adding the required repositories and downloading the dependencies, we are now set to install Ajenti Control Panel on CentOS 8|RHEL 8|Rocky Linux 8 using this command. 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 output above, Ajenti has been automatically started 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.

$ 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

With the Ajenti service started, we need to open port 8000 on the firewall. With the port enabled through the firewall, we will be able to access and login into the Ajenti web interface. To allow the port 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 Ajenti Control Panel

Ajenti works on port 8000 with secure HTTP(HTTPS). Now we access the Web Interface using the server IP http://ip:8000 or domain-name http://domainname.com:8000.

Log in with your system’s credentials i.e Username as the username on your system and password. On successful login, you will see this dashboard.

Plugins Management

To access the Plugins and settings page, you need to be logged in with the root account.

Here, you can install additional plugins then restart the panel to apply settings.

Changing hostname, Language and SSL Settings

Under the settings tab, you can edit your hostname, set your language, enable SSL to enhance security amongst many other settings.

Access File manager, notepad, Terminal

You can access the Tools, such as the file manager, notepad, and the terminal with any user account. On the File Manager, you can create, upload files e.t.c on your system.

Notepad will help you create and edit text files on your system. This can be used to create and edit config files on your system.

On the terminal, you can execute your desired terminal commands such as installing packages, updating your system e.t.c

Services Management

The services tab consists of system services. Here you can stop and start services.

Superuser access

You can elevate an account if you aren’t logged in as a superuser by navigating to the far right corner and click on the user displayed then select elevate. You will be required to enter password authentication.

The Ajenti service can be started or stopped using the command.

###To Start Ajenti service
sudo systemctl start ajenti

###To Stop Ajenti service
sudo systemctl stop ajenti

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 on our page:

Cart

Your Cart is Empty

Back To Shop