How to Install Ajenti CP on Your Server (with Pictures)
Edit Article

  • 1 Editor

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.


Step-0:


You first need to be sure that your operating system is up to date:

2

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.

3

Step-2:


Now you will need to install Ajenti’s official repository:

4
5

Step-3:


Now you must install Ajenti by using yum command:

6
7

The installation will take a while so hold on to your seat and be patient for It to finish.

METHOD-2 (QUICK AUTO INSTALL)

Step-1:


All you need to do is that you need to enter this one line command to start the installation:

8

If for some reason the above one fails then you may use this line below:

9

Step-2:


You now need to wait for the process to finish.

10

Once the installation finishes you will see a screen somewhat like this:

11

The next step si to restart your device:

12
13



So now you may start your favorite web browser and from there you can try and access Ajenti’s web interface from:


https://domain.tld:8000 or https://server-ip:8000.


Do not forget to type https:// and not http://.

14

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:

15

After doing this you may need to edit the following lines:

16

Now you should restart the iptables:

17
18

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:

19

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):

20

The next step is to add the repo by typing in this code:


CentOS 5.x:

21

CentOS 6.x:

22

The next thing you will do is to enable remi:

23

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:

24

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.


Step-0:


The first thing you need to do is make sure that all the packages are now updated:

25
26

And then you need to update it.


Apt-get update –y

27

METHOD-1 (MANUAL INSTALL)

Step-1:


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:

28
29

Step-2:


Now we will install Ajenti using the following command:

30
31

Step-3:


You will now start Ajenti using the below given command and that will be it:

32

METHOD-2 (QUICK AUTO INSTALL) Step-1:


You can use this single line command and start the installation:

33

If for some reason that command fails to work then use the below given command to install:

34

And the next below given command is for Debian:

35

Step-2:


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:


Either


[[1]]


Or


[[2]]


Pplease do remember that it is https:// and not only http://.

36

The default username is root and the password for it is admin.


That is all. Enjoy!!!

Article Tools

Did this article help you?

YesNo

Become
an Author!

Write an Article