Ajenti is a web based control panel for managing systems (like: Webmin, cPanel). It has a very beautiful and user-friendly interface. For personal use Ajenti is freely available for under AGPLv3. For commercial use you have to pay for a small amount regularly.
This article will help you to install Ajenti control panel on CentOS, Redhat and Fedora systems. This article has been tested with CentOS 6.5 only.

Quick automatic install (CentOS 6 / RHEL6)

curl https://raw.githubusercontent.com/Eugeny/ajenti/master/scripts/install-rhel.sh | sh
 
Quick automatic install (CentOS 7 / RHEL7) 
curl https://raw.githubusercontent.com/Eugeny/ajenti/master/scripts/install-rhel7.sh | sh

Manual install

Ajenti requires EPEL repositories: http://fedoraproject.org/wiki/EPEL

Add repository key:
wget http://repo.ajenti.org/ajenti-repo-1.0-1.noarch.rpm 
rpm -i ajenti-repo-1.0-1.noarch.rpm

Install the package:
yum install ajenti

Start the service:
service ajenti restart

The panel will be available on HTTPS port 8000. The default username is root, and the password is admin.

Troubleshooting

Package does not match intended download?

yum clean metadata

Can't access panel at port 8000?

By default, CentOS blocks port 8000 with firewall. Run following to unblock port temporarily.

CentOS / RHEL 6
 
iptables -A INPUT -p tcp --dport 8000 -j ACCEPT

Add this line to  /etc/sysconfig/iptables file (before the COMMIT line) to unblock it permanently.

CentOS / RHEL 7
 
firewall-cmd --permanent --zone=public --add-port=8000/tcp
firewall-cmd --reload

Or you can follow step here:

Step 1: Install RPM Repositories

Ajenti provides it own repository for installing its packages. We also required to install EPEL repository in our system for installing all dependencies. Below is the commands to install epel repository in CentOS/Redhat 6/5.
On CentOS/Redhat 6:
# rpm -Uvh http://epel.mirror.net.in/epel/6/x86_64/epel-release-6-8.noarch.rpm
On CentOS/Redhat 5:
# rpm -Uvh http://epel.mirror.net.in/epel/5/x86_64/epel-release-5-4.noarch.rpm
Also install the Ajenti official rpm repository in our system using following command.
# rpm -Uvh http://repo.ajenti.org/ajenti-repo-1.0-1.noarch.rpm

Step 2: Install Ajenti

After adding all the required yum repositories in our system. Simply execute following command to install Ajenti. It will also install many of python packages as dependency of Ajenti.
# yum install ajenti
After installing packages, If you have iptables enabled ? let’s open port 8000, which is used for accessing Ajenti web control panel. Simply use following command to allow access on port.
# iptables -I INPUT -s 0.0.0.0/0 -p tcp --dport 8000 -j ACCEPT
# iptables -I INPUT -s 0.0.0.0/0 -p udp --dport 8000 -j ACCEPT

Step 3: Access Ajenti Control Panel

Ajenti default works on port 8000 with seucre http (HTTPS). Now access server by using server ip (http://ip:8000) or domain-name (http://domainname.com:8000) on port 8080. You will most likely receive a warning message indicating that there is an issue with the server’s certificate. There is no problem, because Ajenti is using self signed certificate. we just need to accept it and proceed.
https://svr1.tecadmin.net:8000/

  Username: root
  Password: admin

Ajenti Login Screen -

ajenti-login-screen

Ajenti Dashboard -

ajenti-dashboard

Step 4: Start/Stop/Restart Ajenti Service

Ajenti provide init service to Start/Stop/Restart ajenti service. Use one of following command as per requirements
# service ajenti start
# service ajenti stop
# service ajenti restart

Post a Comment

Silahkan anda tulis komentar di bawah ini !

 
Top