How to install Ajenti Control Panel on Debian 11.3
To Install Ajenti Control Panel On Debian 11.3
Introduction:
The Ajenti 2 control panel is an open-source, web-based program that can be used for managing servers in a variety of ways. You can install packages and run commands, and view server information such as RAM usage, free disk space, etc. A web browser can be used to access all of this information. Optionally, an add-on package called Ajenti V allows you to handle multiple websites from the same control panel.
Installation Procedure:
Step 1: Check the OS version by using the below command.
[root@linuxhelp ~]# lsb_release -a
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
Step 2: Add a new user to the system by using the below command.
[root@linuxhelp ~]# sudo adduser linuxhelp
Adding user `linuxhelp' ...
Adding new group `linuxhelp' (1001) ...
Adding new user `linuxhelp' (1001) with group `linuxhelp' ...
Creating home directory `/home/linuxhelp' ...
Copying files from `/etc/skel' ...
New password:
Retype new password:
passwd: password updated successfully
Changing the user information for linuxhelp
Enter the new value, or press ENTER for the default
Step 3: Add the new user to sudo group by using the below command
[root@linuxhelp ~]# sudo usermod -aG sudo linuxhelp
Step 4: Download the Ajenti installation script using the below curl command, which will install Ajenti along with all the needed dependencies.
[root@linuxhelp ~]# sudo 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 5182 100 5182 0 0 13781 0 --:--:-- --:--:-- --:--:-- 13781
:: OS: debian
:: Distro: debian
:: Upgrading PIP
rm: cannot remove '/usr/lib//usr/bin/python3/dist-packages/setuptools.egg-info': No such file or directory
Requirement already satisfied: pip in /usr/lib/python3/dist-packages (20.3.4)
Collecting pip
Downloading pip-22.2.2-py3-none-any.whl (2.0 MB)
|████████████████████████████████| 2.0 MB 7.2 MB/s
Requirement already satisfied: wheel in /usr/lib/python3/dist-packages (0.34.2)
Collecting wheel
Downloading wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (52.0.0)
Collecting setuptools
Downloading setuptools-65.3.0-py3-none-any.whl (1.2 MB)
|████████████████████████████████| 1.2 MB 6.6 MB/s
Installing collected packages: wheel, setuptools, pip
Step 5: Start the Ajenti service by using the below command.
[root@linuxhelp ~]# systemctl start ajenti
Step 6: Next check whether Ajenti is running status by using the below command.
[root@linuxhelp ~]# systemctl status ajenti
● ajenti. Service - Ajenti panel
Loaded: loaded (/lib/systemd/system/ajenti.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2022-09-19 23:31:07 IST; 19s ago
Process: 38301 ExecStart=/usr/bin/python3 /usr/local/bin/ajenti-panel -d (code=exited, status=0/SUCCESS)
Process: 38303 ExecStartPost=/bin/sleep 5 (code=exited, status=0/SUCCESS)
Main PID: 38304 (python3)
Tasks: 3 (limit: 3450)
Memory: 91.0M
CPU: 750ms
CGroup: /system.slice/ajenti.service
├─38304 /usr/bin/python3 /usr/local/bin/ajenti-panel -d
└─38309 /usr/local/bin/ajenti-panel worker [restricted session]
Sep 19 23:31:02 linuxhelp systemd[1]: Starting Ajenti panel...
Sep 19 23:31:07 linuxhelp systemd[1]: Started Ajenti panel.
Step 7: Ajenti can be run in a verbose debug mode with the below command.
[root@linuxhelp ~]# ajenti-panel -v
Step 8: Open a web browser and type the IP of the server to view the installed Ajenti as shown in the below image.
Step 9: Enter the credentials in menu as shown in the below image.
Step 10: This is the dashboard of the Ajenti control panel.
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 Debian 11.3. Your feedback is much welcome.
curl https://raw.githubusercontent.com/ajenti/ajenti/master/scripts/install.sh | Sudo bash -s -