For those of you who didn’t know, Ajenti is a simple and easy to use admin panel that can be used to manage server tasks from any web browser a bit similar to the Webmin module. Ajenti is a much powerful and lightweight tool, that provides a fast and responsive web interface for managing small server set-ups and also best suitable for VPS or Dedicated servers. It has built with many pre-made plugins for configuring and monitoring server software’s and services such as Apache, Cron, File System, Firewall, MySQL, Nginx, Munin, Samba, FTP, Squid, and many other tools like File Manager, Code Editor for developers and Terminal access.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple. I will show you through the step by step installation Ajenti control panel on CentOS 6.
Install Ajenti Control Panel on CentOS 6
Step 1. First, you need to enable the EPEL repository on your system.
## RHEL/CentOS 6 64-Bit ## # wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm
## RHEL/CentOS 6 32-Bit ## # wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm
Download and install Ajenti’s official repository by using the following commands:
wget http://repo.ajenti.org/ajenti-repo-1.0-1.noarch.rpm rpm -i ajenti-repo-1.0-1.noarch.rpm
Step 2. Install Ajenti using the YUM command.
yum install ajenti -y
Install Ajenti-V with the packages according to your needs:
yum clean metadata yum install ajenti-v ajenti-v-nginx ajenti-v-mail ajenti-v-mysql ajenti-v-php-fpm php-mysql
Step 3. Start the Ajenti service.
service ajenti restart
Step 4. Configure Iptables or firewall your server.
iptables -A INPUT -p udp -m state --state NEW --dport 8000 -j ACCEPT iptables -A INPUT -p tcp -m state --state NEW --dport 8000 -j ACCEPT
Step 5. Access Ajenti Control Panel.
The Ajenti control panel will be available on HTTPS port 8000 by default. Open your favorite browser and navigate to https://yourdomain.com:8000 or https://server-ip:8000 and enter the default username “admin” or “root” and password is “admin“.
Congratulations! You have successfully installed Ajenti. Thanks for using this tutorial for installing the Ajenti control panel on CentOS 6 system on CentOS 6 systems.