If you’re in the market and are looking for something to replace zPanel, Webmin, VestaCP and Kloxo with then you have come to the right place. Today we introduce you to Ajenti. Ajenti is a very intuitive new web based control panel that helps you manages almost every sort of thing regarding your server. Ajenti provides its users with the ability to manage and administers your server in such a way that there remains no need for you to go back to your sever and login back into the command line interface using either Putty or Terminal. Ajenti solely runs with its own process and a great web server. In short of we summarize everything we can say that Ajenti is a bit like Webmin. Be aware as not to confuse it with zPanel or VestaCP because they come packed with the LAMP stack (dns server, mail server, ftp server, web server etc.). Only features are provided by Ajenti to its users so that they may manage their server. Though it is possible to install Ajenti v. Ajenti v is a plug in suite that is needed by the core Ajenti. The biggest advantage of it is that it adds efficient, fast and easy to setup web hosting ability because it installs pro stack which includes Nginx as the web server, MySQL, Courier IMAP, Exim 4 and PHP-fpm etc.
Now you may ask why we are using Ajenti. Well we have quite a satisfactory answer for you. The first reason is because it is a freeware, meaning that it can be installed and used for free. The second thing is its lightweight. And the other reasons include its immense power, embedded multiple plugins for monitoring the server, amazing web based interface, software’s and services. Some of those include Apache, MySQL, FTP, Munin, Firewall, etc.
This tutorial will act as a guide for you as it includes the details step by step process on how to install Ajenti Control Panel on CentOS and Ubuntu and it includes reference pictures. We can guarantee you that any newbie can start to build a very own unmanaged VPS in a jiffy.
LOGIN TO THE SERVER /VPS
The first thing that you need to do is open Putty or terminal and then login to the server as root. We recommend you to install Ajenti on a fresh VPS / server with a minimal template. For that you can refer to my previous posts.
WORKING WITH CENTOS
The tutorial that is being made here uses CentOS 6.5. You don’t need to worry because it may also work on all the latest version of CentOS, RHEL and maybe Fedora too.
You first need to be sure that your operating system is up to date:
METHOD-1 (Manual Install) Step-1:
There are two methods of installation. The first step is to add and then enable EPEL Repo. The reason is that Ajenti package is not available on the VPS’s operating system by default.
Now you will need to install Ajenti’s official repository:
Now you must install Ajenti by using yum command:
The installation will take a while so hold on to your seat and be patient for It to finish.
METHOD-2 (QUICK AUTO INSTALL)
All you need to do is that you need to enter this one line command to start the installation:
If for some reason the above one fails then you may use this line below:
You now need to wait for the process to finish.
Once the installation finishes you will see a screen somewhat like this:
The next step si to restart your device:
So now you may start your favorite web browser and from there you can try and access Ajenti’s web interface from:
Do not forget to type https:// and not http://.
The default username that you may use to access Ajenti is root and the password for it is admin.
PROBLEMS IN OPENING AJENTI ON BROWSER
If for some reason you are facing problems opening Ajenti on your browser then you may perform the following steps to see if it works.
The first thing to do is opening port 8000 on your firewall router / rules. Now you need to edut the iptables rule:
After doing this you may need to edit the following lines:
Now you should restart the iptables:
FOR USERS GETTING PYTHON-LOCKFILE AND PYTHON-CHARDET ERROR
There is a chance that you might somehow get an error during installation which may look like the one down below:
This error will come because for some reason EPEL repo was not properly added to the server. So what you will have to do is:
You need to check what the version of the server’s operating system is which in my case was (CentOS 6.x/5.x? 32-bit/64-bit):
The next step is to add the repo by typing in this code:
The next thing you will do is to enable remi:
Go into [remi] and from there change enable = 0 to enable = 1.
That was it for the problem. It should be solved now and here you must restart the iptables and the Ajenti service:
WORKING WITH UBUNTU
The guide that is done here was formerly practice on Ubuntu 13.04 64-bit minimal but we are positive that it will work with any of the latest version Debian. Python should be upgraded for older versions.
The first thing you need to do is make sure that all the packages are now updated:
And then you need to update it.
Apt-get update –y
METHOD-1 (MANUAL INSTALL)
Firstly you need to import Ajenti’s keys/add repository. You will now need to download and install to /etc/apt/sources.list file Ajenti PPA repository. This repository key validates whether the packages comes from a legitimate source or not. You will need to key in the below given command to automatically add the repository to your system:
Now we will install Ajenti using the following command:
You will now start Ajenti using the below given command and that will be it:
METHOD-2 (QUICK AUTO INSTALL) Step-1:
You can use this single line command and start the installation:
If for some reason that command fails to work then use the below given command to install:
And the next below given command is for Debian:
This process will take some time. Be patient, drink some tea or coffee meanwhile. Once the process finishes you are all done. You can now login to Ajenti CP by opening you browser and going to:
Pplease do remember that it is https:// and not only http://.
The default username is root and the password for it is admin.
That is all. Enjoy!!!