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 the 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:
wget http://repo.ajenti.org/ajenti-repo-1.0-1.noarch.rpm rpm -i ajenti-repo-1.0-1.noarch.rpm
Step 2. Installing Ajenti.
Install Ajenti using
YUM the command:
yum install ajenti
Now, we’ll gonna start the Anjeti daemon as it’s installed successfully. To do so, we’ll gonna run the following command:
systemctl start ajenti
Step 3. Configure firewall for the Anjeti control panel.
If we have firewalld firewall solution running in our Linux machine, we’ll need to run firewall-cmd command in the root or sudo access to open port 8000 as follows:
firewall-cmd --permanent --zone=public --add-port=8000/tcp firewall-cmd --reload
Step 4. Accessing Anjeti control panel.
Anjeti will be available on HTTP port 8000 by default. Open your favorite browser and navigate to http://your-domain.com:8000 or http://server-ip:8000 and enter 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 your CentOS 7 system. For additional help or useful information, we recommend you to check the official Ajenti website.