Ajenti is an open-source, simple, and easy-to-use web-based control panel for managing remote systems administrating tasks for Linux-based servers. It is a powerful and lightweight tool that provides a fast and responsive web interface. Also, it is pretty easy to install, configure, customize and install new plugins with its beautiful candy web interface.

 

Step 1: Adding Ajenti Repository

In CentOS and RHEL, first, you need to add and enable the EPEL repository for the installation of packages required by Ajenti. If we are running CentOS or RHEL 6.x, we'll need to run the following command.

$ sudo rpm -ivh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

Retrieving http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
warning: /var/tmp/rpm-tmp.gpERE2: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:epel-release-6-8 ################################# [100%]

 

However, if we are running CentOS or RHEL 7.x in our system, then run the following command to enable the EPEL repository.

$ sudo rpm -ivh http://download.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm || true

Retrieving http://download.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
warning: /var/tmp/rpm-tmp.Prm6Yt: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:epel-release-7-5 ################################# [100%]

 

Once we have added and enabled the EPEL repository in our CentOS or RHEL, now add the repository of the Ajenti package to our system. Run the following command:

$ sudo rpm -ivh http://repo.ajenti.org/ajenti-repo-1.0-1.noarch.rpm

Retrieving http://repo.ajenti.org/ajenti-repo-1.0-1.noarch.rpm
Preparing... ################################# [100%]
Updating / installing...
1:ajenti-repo-1.0-1 ################################# [100%]

 

Step 2: Installing Ajenti Control Panel

 

Next, we'll proceed towards the installation of Ajenti in our Linux system.

After adding the repository, we'll gonna finally install Ajenti in our CentOS or RHEL machine. As yum is the default package manager available in CentOS and RHEL, we'll gonna use yum command to install it.

$ sudo yum install ajenti

 

Step 3: Starting Ajenti


Now, we'll gonna start the ajenti daemon as its installed successfully. To do so, we'll gonna run the following command:

On Systemd

If we are running systemd in our Linux machine, we'll need to run the following systemctl command.

$ sudo systemctl start ajenti

 

Step 4: Configuring Firewall


Next, we'll need to open port 8000 as the Ajenti server utilizes that port. Enabling that port from the firewall will allow us to login into the web interface of the Ajenti server. To open port 8000, we'll need to run the following commands.

On Iptables


If we have got iptables running as firewall solution in our Linux machine, we'll gonna run iptables in root or sudo access to open port 8000 as shown below.

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

 

On Firewalld


If we have firewalld firewall solution running in our linux machine, we'll need to run firewall-cmd command in root or sudo access to open port 8000 as follows.

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

 

Accessing Anjeti control panel

Anjeti will be available on HTTP port 8000 by default. Open your favorite browser and navigate to http://yourdomain.com:8000 or http://server-ip:8000 and enter default username “admin” or “root” and password is “admin“.

 

Byla tato odpověď nápomocná? 29 Uživatelům pomohlo (87 Hlasů)