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 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.
Step 1. First, you need to enable EPEL repository on your system.
1 2 3 | ## 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 |
1 2 3 | ## 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:
1 2 | 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 YUM command.
1 | yum install ajenti -y |
Install Ajenti-V with the packages according to your needs:
1 2 | 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 Ajenti service.
1 | service ajenti restart |
Step 4. Configure Iptables or firewall your server.
1 2 | 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 default username “admin” or “root” and password is “admin“.
Congratulation’s! You have successfully installed Ajenti. Thanks for using this tutorial for installing Ajenti control panel on CentOS 6 system on CentOS 6 systems.