In this tutorial we will show you how to install and configuration of Ajenti on your CentOS 7 server. For those of you who didn’t know, Ajenti is a hosting control panel that allows you to set up a website very easily. It comes with a clean and modern interface, so setting up application servers, databases and routing should not be difficult at all. Moreover, it comes with great language support. Using Ajenti, you can set up applications written in PHP (PHP-FPM), Python (WSGI), Ruby and Node.js in no time. Exim 4 and Courier IMAP are automatically configured so you can use virtual e-mails, DKIM, DMARC and SPF. This control panel is written in Python and runs on multiple Linux distributions.
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 or dedicated server. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Ajenti control panel on a CentOS 7 server.
Install Ajenti Control Panel on CentOS 7
Step 1. First, you need to enable EPEL repository on your system.
## RHEL/CentOS 7 64-Bit ##
# wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm
# rpm -ivh epel-release-7-8.noarch.rpm
Download and install Ajenti’s official repository by using the following commands:
rpm -i ajenti-repo-1.0-1.noarch.rpm
Step 2. Installing Ajenti.
Install Ajenti using YUM command:
yum install ajenti
Now, we’ll gonna start the ajenti daemon as its installed successfully. To do so, we’ll gonna run the following command:
systemctl start ajenti
Step 3. Configure firewall for Anjeti control panel.
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:
firewall-cmd --permanent --zone=public --add-port=8000/tcp
Step 4. 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“.
Congratulation’s! You have successfully installed Ajenti. Thanks for using this tutorial for installing Ajenti control panel on your CentOS 7 system. For additional help or useful information, we recommend you to check the official Ajenti web site.