How to install Ajenti Control Panel on Oracle Linux 8.8
- 00:43 cat /etc/os-release
- 01:03 dnf install -y gcc python3-devel python3-pip python3-pillow python3-augeas python3-dbus chrony openssl-devel redhat-lsb-core
- 01:57 curl https://raw.githubusercontent.com/ajenti/ajenti/master/scripts/install.sh | sudo bash -s –
- 03:05 systemctl status ajenti
- 03:19 firewall-cmd --permanent --zone=public --add-port=8000/tcp
- 03:46 firewall-cmd --reload
To Install Ajenti Control Panel In Oracle Linux 8.8
Introduction:
Ajenti Core is a web interface development framework that has a web server, IoC container, a simplistic web framework, and a set of core components aiding in client-server communications. Ajenti Panel consists of plugins developed for the Ajenti Core and a startup script, concurrently providing a server administration panel experience. The Panel’s plugins have a file manager, terminal, notepad, etc.
Installation Procedure:
Step 1: Check the OS version by using the below command
[root@localhost ~]# cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="8.8"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="8.8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Oracle Linux Server 8.8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:8:8:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://github.com/oracle/oracle-linux"
ORACLE_BUGZILLA_PRODUCT="Oracle Linux 8"
ORACLE_BUGZILLA_PRODUCT_VERSION=8.8
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=8.8
Step 2: Install Dependencies by using the below command
[root@linuxhelp ~]# dnf install -y gcc python3-devel python3-pip python3-pillow python3-augeas python3-dbus chrony openssl-devel redhat-lsb-core
Oracle Linux 8 BaseOS Latest (x86_64) 43 kB/s | 3.6 kB 00:00
Oracle Linux 8 BaseOS Latest (x86_64) 28 MB/s | 62 MB 00:02
Oracle Linux 8 Application Stream (x86_64) 37 kB/s | 3.9 kB 00:00
Oracle Linux 8 Application Stream (x86_64) 28 MB/s | 48 MB 00:01
Latest Unbreakable Enterprise Kernel Release 7 for Oracle Linux 8 (x86_64) 28 kB/s | 3.0 kB 00:00
Latest Unbreakable Enterprise Kernel Release 7 for Oracle Linux 8 (x86_64) 23 MB/s | 19 MB 00:00
Last metadata expiration check: 0:00:05 ago on Saturday 26 August 2023 01:41:23 AM IST.
Package python3-pip-9.0.3-22.el8.noarch is already installed.
Package python3-dbus-1.2.4-15.el8.x86_64 is already installed.
Package chrony-4.2-1.0.1.el8.x86_64 is already installed.
Dependencies resolved.
==============================================================================================================================================================================================================
Package Architecture Version Repository Size
==============================================================================================================================================================================================================
Installing:
gcc x86_64 8.5.0-18.0.2.el8 ol8_appstream 23 M
openssl-devel x86_64 1:1.1.1k-9.el8_7 ol8_baseos_latest 2.3 M
python3-augeas noarch 0.5.0-12.el8 ol8_appstream 31 k
python3-pillow x86_64 5.1.1-18.el8_5 ol8_appstream 632 k
python36-devel x86_64 3.6.8-38.module+el8.5.0+20329+5c5719bc ol8_appstream 16 k
redhat-lsb-core x86_64 4.1-47.0.1.el8 ol8_appstream 46 k
Installing dependencies:
cpp x86_64 8.5.0-18.0.2.el8 ol8_appstream 10 M
glibc-devel x86_64 2.28-225.0.3.el8 ol8_baseos_latest 85 k
isl x86_64 0.16.1-6.el8 ol8_appstream 841 k
keyutils-libs-devel x86_64 1.5.10-9.el8 ol8_baseos_latest 48 k
krb5-devel x86_64 1.18.2-25.0.1.el8_8 ol8_baseos_latest 562 k
libcom_err-devel x86_64 1.46.2-2.el8 ol8_UEKR7 40 k
libkadm5 x86_64 1.18.2-25.0.1.el8_8 ol8_baseos_latest 188 k
libselinux-devel x86_64 2.9-8.el8 ol8_baseos_latest 200 k
libsepol-devel x86_64 2.9-3.el8 ol8_baseos_latest 87 k
libverto-devel x86_64 0.3.2-2.el8 ol8_baseos_latest 18 k
libxcrypt-devel x86_64 4.1.1-6.el8 ol8_baseos_latest 25 k
m4 x86_64 1.4.18-7.el8 ol8_baseos_latest 222 k
mailx x86_64 12.5-29.el8 ol8_baseos_latest 257 k
make x86_64 1:4.2.1-11.el8 ol8_baseos_latest 498 k
ncurses-compat-libs x86_64 6.1-9.20180224.el8 ol8_baseos_latest 328 k
patch x86_64 2.7.6-11.el8 ol8_baseos_latest 139 k
pcre2-devel x86_64 10.32-3.el8_6 ol8_baseos_latest 605 k
pcre2-utf16 x86_64 10.32-3.el8_6 ol8_baseos_latest 229 k
pcre2-utf32 x86_64 10.32-3.el8_6 ol8_baseos_latest 220 k
platform-python-devel x86_64 3.6.8-51.0.1.el8_8.1 ol8_appstream 240 k
postfix x86_64 2:3.5.8-4.el8 ol8_baseos_latest 1.5 M
python-rpm-macros noarch 3-45.el8 ol8_appstream 16 k
python-srpm-macros noarch 3-45.el8 ol8_appstream 16 k
python3-rpm-generators noarch 5-8.el8 ol8_appstream 25 k
python3-rpm-macros noarch 3-45.el8 ol8_appstream 15 k
redhat-lsb-submod-security x86_64 4.1-47.0.1.el8 ol8_appstream 22 k
spax x86_64 1.5.3-13.el8 ol8_baseos_latest 217 k
zlib-devel x86_64 1.2.11-21.el8_7 ol8_baseos_latest 58 k
Transaction Summary
==============================================================================================================================================================================================================
Install 34 Packages
Total download size: 44 M
Installed size: 110 M
Downloading Packages:
(1/34): keyutils-libs-devel-1.5.10-9.el8.x86_64.rpm 422 kB/s | 48 kB 00:00
(2/34): glibc-devel-2.28-225.0.3.el8.x86_64.rpm 713 kB/s | 85 kB 00:00
(3/34): libselinux-devel-2.9-8.el8.x86_64.rpm 7.8 MB/s | 200 kB 00:00
(4/34): libkadm5-1.18.2-25.0.1.el8_8.x86_64.rpm 5.3 MB/s | 188 kB 00:00
(5/34): krb5-devel-1.18.2-25.0.1.el8_8.x86_64.rpm 3.5 MB/s | 562 kB 00:00
(6/34): libsepol-devel-2.9-3.el8.x86_64.rpm 5.3 MB/s | 87 kB 00:00
(7/34): libverto-devel-0.3.2-2.el8.x86_64.rpm 1.2 MB/s | 18 kB 00:00
(8/34): libxcrypt-devel-4.1.1-6.el8.x86_64.rpm 2.5 MB/s | 25 kB 00:00
(9/34): m4-1.4.18-7.el8.x86_64.rpm 7.6 MB/s | 222 kB 00:00
(10/34): mailx-12.5-29.el8.x86_64.rpm 7.9 MB/s | 257 kB 00:00
(11/34): make-4.2.1-11.el8.x86_64.rpm 13 MB/s | 498 kB 00:00
(12/34): ncurses-compat-libs-6.1-9.20180224.el8.x86_64.rpm 9.6 MB/s | 328 kB 00:00
(13/34): openssl-devel-1.1.1k-9.el8_7.x86_64.rpm 26 MB/s | 2.3 MB 00:00
(14/34): patch-2.7.6-11.el8.x86_64.rpm 1.5 MB/s | 139 kB 00:00
(15/34): pcre2-devel-10.32-3.el8_6.x86_64.rpm 7.8 MB/s | 605 kB 00:00
(16/34): pcre2-utf16-10.32-3.el8_6.x86_64.rpm 9.6 MB/s | 229 kB 00:00
(17/34): pcre2-utf32-10.32-3.el8_6.x86_64.rpm 11 MB/s | 220 kB 00:00
(18/34): zlib-devel-1.2.11-21.el8_7.x86_64.rpm 3.9 MB/s | 58 kB 00:00
(19/34): postfix-3.5.8-4.el8.x86_64.rpm 24 MB/s | 1.5 MB 00:00
(20/34): spax-1.5.3-13.el8.x86_64.rpm 3.4 MB/s | 217 kB 00:00
(21/34): isl-0.16.1-6.el8.x86_64.rpm 8.7 MB/s | 841 kB 00:00
(22/34): platform-python-devel-3.6.8-51.0.1.el8_8.1.x86_64.rpm 1.8 MB/s | 240 kB 00:00
(23/34): python-rpm-macros-3-45.el8.noarch.rpm 173 kB/s | 16 kB 00:00
(24/34): python-srpm-macros-3-45.el8.noarch.rpm 136 kB/s | 16 kB 00:00
(25/34): python3-augeas-0.5.0-12.el8.noarch.rpm 270 kB/s | 31 kB 00:00
(26/34): cpp-8.5.0-18.0.2.el8.x86_64.rpm 11 MB/s | 10 MB 00:00
(27/34): python3-rpm-generators-5-8.el8.noarch.rpm 338 kB/s | 25 kB 00:00
(28/34): python3-rpm-macros-3-45.el8.noarch.rpm 600 kB/s | 15 kB 00:00
(29/34): gcc-8.5.0-18.0.2.el8.x86_64.rpm 21 MB/s | 23 MB 00:01
(30/34): python36-devel-3.6.8-38.module+el8.5.0+20329+5c5719bc.x86_64.rpm 150 kB/s | 16 kB 00:00
(31/34): redhat-lsb-submod-security-4.1-47.0.1.el8.x86_64.rpm 1.5 MB/s | 22 kB 00:00
(32/34): redhat-lsb-core-4.1-47.0.1.el8.x86_64.rpm 2.2 MB/s | 46 kB 00:00
(33/34): libcom_err-devel-1.46.2-2.el8.x86_64.rpm 2.9 MB/s | 40 kB 00:00
(34/34): python3-pillow-5.1.1-18.el8_5.x86_64.rpm 305 kB/s | 632 kB 00:02
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 14 MB/s | 44 MB 00:03
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : libxcrypt-devel-4.1.1-6.el8.x86_64 1/34
Installing : glibc-devel-2.28-225.0.3.el8.x86_64 2/34
Running scriptlet: glibc-devel-2.28-225.0.3.el8.x86_64 2/34
Installing : python-srpm-macros-3-45.el8.noarch 3/34
Installing : python-rpm-macros-3-45.el8.noarch 4/34
Installing : python3-rpm-macros-3-45.el8.noarch 5/34
Installing : libcom_err-devel-1.46.2-2.el8.x86_64 6/34
Installing : redhat-lsb-submod-security-4.1-47.0.1.el8.x86_64 7/34
Installing : python3-rpm-generators-5-8.el8.noarch 8/34
Installing : platform-python-devel-3.6.8-51.0.1.el8_8.1.x86_64 9/34
Installing : isl-0.16.1-6.el8.x86_64 10/34
Running scriptlet: isl-0.16.1-6.el8.x86_64 10/34
Installing : cpp-8.5.0-18.0.2.el8.x86_64 11/34
Running scriptlet: cpp-8.5.0-18.0.2.el8.x86_64 11/34
Installing : zlib-devel-1.2.11-21.el8_7.x86_64 12/34
Installing : spax-1.5.3-13.el8.x86_64 13/34
Running scriptlet: spax-1.5.3-13.el8.x86_64 13/34
Running scriptlet: postfix-2:3.5.8-4.el8.x86_64 14/34
Installing : postfix-2:3.5.8-4.el8.x86_64 14/34
Running scriptlet: postfix-2:3.5.8-4.el8.x86_64 14/34
Installing : pcre2-utf32-10.32-3.el8_6.x86_64 15/34
Installing : pcre2-utf16-10.32-3.el8_6.x86_64 16/34
Installing : pcre2-devel-10.32-3.el8_6.x86_64 17/34
Installing : patch-2.7.6-11.el8.x86_64 18/34
Installing : ncurses-compat-libs-6.1-9.20180224.el8.x86_64 19/34
Installing : make-1:4.2.1-11.el8.x86_64 20/34
Running scriptlet: make-1:4.2.1-11.el8.x86_64 20/34
Installing : mailx-12.5-29.el8.x86_64 21/34
Installing : m4-1.4.18-7.el8.x86_64 22/34
Running scriptlet: m4-1.4.18-7.el8.x86_64 22/34
Installing : libverto-devel-0.3.2-2.el8.x86_64 23/34
Installing : libsepol-devel-2.9-3.el8.x86_64 24/34
Installing : libselinux-devel-2.9-8.el8.x86_64 25/34
Installing : libkadm5-1.18.2-25.0.1.el8_8.x86_64 26/34
Installing : keyutils-libs-devel-1.5.10-9.el8.x86_64 27/34
Installing : krb5-devel-1.18.2-25.0.1.el8_8.x86_64 28/34
Installing : openssl-devel-1:1.1.1k-9.el8_7.x86_64 29/34
Installing : redhat-lsb-core-4.1-47.0.1.el8.x86_64 30/34
Installing : gcc-8.5.0-18.0.2.el8.x86_64 31/34
Running scriptlet: gcc-8.5.0-18.0.2.el8.x86_64 31/34
Installing : python36-devel-3.6.8-38.module+el8.5.0+20329+5c5719bc.x86_64 32/34
Running scriptlet: python36-devel-3.6.8-38.module+el8.5.0+20329+5c5719bc.x86_64 32/34
Installing : python3-pillow-5.1.1-18.el8_5.x86_64 33/34
Installing : python3-augeas-0.5.0-12.el8.noarch 34/34
Running scriptlet: python3-augeas-0.5.0-12.el8.noarch 34/34
Verifying : glibc-devel-2.28-225.0.3.el8.x86_64 1/34
Verifying : keyutils-libs-devel-1.5.10-9.el8.x86_64 2/34
Verifying : krb5-devel-1.18.2-25.0.1.el8_8.x86_64 3/34
Verifying : libkadm5-1.18.2-25.0.1.el8_8.x86_64 4/34
Verifying : libselinux-devel-2.9-8.el8.x86_64 5/34
Verifying : libsepol-devel-2.9-3.el8.x86_64 6/34
Verifying : libverto-devel-0.3.2-2.el8.x86_64 7/34
Verifying : libxcrypt-devel-4.1.1-6.el8.x86_64 8/34
Verifying : m4-1.4.18-7.el8.x86_64 9/34
Verifying : mailx-12.5-29.el8.x86_64 10/34
Verifying : make-1:4.2.1-11.el8.x86_64 11/34
Verifying : ncurses-compat-libs-6.1-9.20180224.el8.x86_64 12/34
Verifying : openssl-devel-1:1.1.1k-9.el8_7.x86_64 13/34
Verifying : patch-2.7.6-11.el8.x86_64 14/34
Verifying : pcre2-devel-10.32-3.el8_6.x86_64 15/34
Verifying : pcre2-utf16-10.32-3.el8_6.x86_64 16/34
Verifying : pcre2-utf32-10.32-3.el8_6.x86_64 17/34
Verifying : postfix-2:3.5.8-4.el8.x86_64 18/34
Verifying : spax-1.5.3-13.el8.x86_64 19/34
Verifying : zlib-devel-1.2.11-21.el8_7.x86_64 20/34
Verifying : cpp-8.5.0-18.0.2.el8.x86_64 21/34
Verifying : gcc-8.5.0-18.0.2.el8.x86_64 22/34
Verifying : isl-0.16.1-6.el8.x86_64 23/34
Verifying : platform-python-devel-3.6.8-51.0.1.el8_8.1.x86_64 24/34
Verifying : python-rpm-macros-3-45.el8.noarch 25/34
Verifying : python-srpm-macros-3-45.el8.noarch 26/34
Verifying : python3-augeas-0.5.0-12.el8.noarch 27/34
Verifying : python3-pillow-5.1.1-18.el8_5.x86_64 28/34
Verifying : python3-rpm-generators-5-8.el8.noarch 29/34
Verifying : python3-rpm-macros-3-45.el8.noarch 30/34
Verifying : python36-devel-3.6.8-38.module+el8.5.0+20329+5c5719bc.x86_64 31/34
Verifying : redhat-lsb-core-4.1-47.0.1.el8.x86_64 32/34
Verifying : redhat-lsb-submod-security-4.1-47.0.1.el8.x86_64 33/34
Verifying : libcom_err-devel-1.46.2-2.el8.x86_64 34/34
Installed:
cpp-8.5.0-18.0.2.el8.x86_64 gcc-8.5.0-18.0.2.el8.x86_64 glibc-devel-2.28-225.0.3.el8.x86_64 isl-0.16.1-6.el8.x86_64
keyutils-libs-devel-1.5.10-9.el8.x86_64 krb5-devel-1.18.2-25.0.1.el8_8.x86_64 libcom_err-devel-1.46.2-2.el8.x86_64 libkadm5-1.18.2-25.0.1.el8_8.x86_64
libselinux-devel-2.9-8.el8.x86_64 libsepol-devel-2.9-3.el8.x86_64 libverto-devel-0.3.2-2.el8.x86_64 libxcrypt-devel-4.1.1-6.el8.x86_64
m4-1.4.18-7.el8.x86_64 mailx-12.5-29.el8.x86_64 make-1:4.2.1-11.el8.x86_64 ncurses-compat-libs-6.1-9.20180224.el8.x86_64
openssl-devel-1:1.1.1k-9.el8_7.x86_64 patch-2.7.6-11.el8.x86_64 pcre2-devel-10.32-3.el8_6.x86_64 pcre2-utf16-10.32-3.el8_6.x86_64
pcre2-utf32-10.32-3.el8_6.x86_64 platform-python-devel-3.6.8-51.0.1.el8_8.1.x86_64 postfix-2:3.5.8-4.el8.x86_64 python-rpm-macros-3-45.el8.noarch
python-srpm-macros-3-45.el8.noarch python3-augeas-0.5.0-12.el8.noarch python3-pillow-5.1.1-18.el8_5.x86_64 python3-rpm-generators-5-8.el8.noarch
python3-rpm-macros-3-45.el8.noarch python36-devel-3.6.8-38.module+el8.5.0+20329+5c5719bc.x86_64 redhat-lsb-core-4.1-47.0.1.el8.x86_64 redhat-lsb-submod-security-4.1-47.0.1.el8.x86_64
spax-1.5.3-13.el8.x86_64 zlib-devel-1.2.11-21.el8_7.x86_64
Complete!
Step 3: Download the Ajenti installation script using the below curl command, which will install Ajenti along with all the needed dependencies.
[root@linuxhelp ~]# curl https://raw.githubusercontent.com/ajenti/ajenti/master/scripts/install.sh | sudo bash -s –
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4987 100 4987 0 0 11181 0 --:--:-- --:--:-- --:--:-- 11181
:: Could not detect OS
:: Press Enter to continue
:: OS:
:: Distro:
:: Upgrading PIP
.........................................................
:: 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 https://192.168.6.136 192.168.122.1:8000
Log in with your root password or another OS user
Step 4: Next check Ajenti’s running status by using following commands.
[root@linuxhelp ~]# systemctl status ajenti
● ajenti.service - Ajenti panel
Loaded: loaded (/usr/lib/systemd/system/ajenti.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2023-08-26 01:43:47 IST; 8s ago
Process: 115414 ExecStartPost=/bin/sleep 5 (code=exited, status=0/SUCCESS)
Process: 115412 ExecStart=/bin/python3 /usr/local/bin/ajenti-panel -d (code=exited, status=0/SUCCESS)
Main PID: 115415 (python3)
Tasks: 2 (limit: 10293)
Memory: 95.0M
CGroup: /system.slice/ajenti.service
├─115415 /bin/python3 /usr/local/bin/ajenti-panel -d
└─115456 /usr/local/bin/ajenti-panel worker [restricted session]
Aug 26 01:43:42 linuxhelp systemd[1]: Starting Ajenti panel...
Aug 26 01:43:47 linuxhelp systemd[1]: Started Ajenti panel.
Step 5: Configure Firewall by using the below command
[root@linuxhelp ~]# firewall-cmd --permanent --zone=public --add-port=8000/tcp
Success
[root@linuxhelp ~]# firewall-cmd --reload
Success
Step 6: Open Ajenti Web Interface as shown in the below image Once port is allowed, you are now ready to access the Ajenti Web URL from your favorite web browser. You need to use URL address https://<your_ip_address>:8000 in your browser to open the Login page as shown like below.
Step 7: Here you need to provide your System account credentials to login. Once provided, click on Log In as shown in the below image.
Step 8: After successful authentication, you will be redirected to below Dashboard. Here you can see your default Server utilization metrics. This includes CPU Usage, Active Cores, Total Memory, current memory usage, uptime etc as shown in the below image
Step 9: This is the dashboard of Ajenti Cpanel
Conclusion:
We have reached the end of this article. In this guide, we have walked you through the steps required to install Ajenti Control Panel on Oracle Linux 8.8. Your feedback is much welcome.
Comments ( 0 )
No comments available