Looking for great alternative to zPanel, VestaCP, Webmin and Kloxo? Meet Ajenti, a very intuitive web-based control panel to manage almost every aspect of your server. This free control panel allows its users to do almost any common tasks of managing and administering their server so it’ll be barely no need to login back to command line interface either using Putty or Terminal. This new server administration panel is running as its own process and web server. Shortly Ajenti it self is just like Webmin, unlike zPanel or Vesta CP that comes bundled with ready-to-use LAMP stack (web server, mail server, ftp server, dns server, etc), Ajenti provides only features to manage your server although you can then install Ajenti V, a plugin suite for the core Ajenti, which adds fast, efficient and easy-to-setup web hosting capabilities by installing pro stack: Nginx as web server, PHP-fpm, MySQL, Exim 4 and Courier IMAP, etc.Why Ajenti? Firstly because it can be installed and used for free. Also, it is lightweight, powerful, having nice web-based user interface, and embedded with many plugins for configuring and monitoring server software’s and services. To mention few: Apache, MySQL, Firewall, FTP, Munin, etc.
This tutorial provides you with full detailed tutorial how to install Ajenti Control Panel on CentOS and Ubuntu (with pics). I hope by reading this article, any newbie can follow the steps and start building and using their own unmanaged VPS.
A. Login to your server / VPS
Open up Putty or Terminal and login to your VPS as root. It is very recommended to install Ajenti on fresh server with minimal template. You can read my previous post on how to use Putty.
B. Guide on CentOS
This tutorial is done on CentOS 6.5 but may also works on any latest version of CentOS, RHEL and perhaps Fedora.
Step 0 – Make sure your OS is updated:
yum update -y
yum upgrade -y
Method #1: Manual Install
Step 1 – You have to firstly add and enable EPEL Repo because Ajenti package is not available on server’s operating system by default. Please follow my previous article on how to enable EPEL Repositories on CentOS 6 / 5.
Step 2 – Download and install Ajenti’s official repository:
Step 3 – Now finally install Ajenti using most popular yum command:
yum install ajenti -y
Sit tight and wait for the installation process to finish.
Method #2: Quick Automatic Install
Step 1 – Simply use this one line command syntax to start the installation:
wget -O- https://raw.github.com/Eugeny/ajenti/master/scripts/install-rhel.sh | sh
if above doesn’t work, use this instead:
wget -O- https://raw.githubusercontent.com/Eugeny/ajenti/master/scripts/install-rhel.sh | sh
Step 2 – Grab a cup of tea, sit, drink and wait for the process to finish.
Once done, you’ll see something like this:
Next, try restarting the service:
service ajenti restart
Now you can open your favorite web browser and try accessing Ajenti’s web interface at:
https://domain.tld:8000 or https://server-ip:8000.
Please remember it is https:// not just http://.
Default username is root with admin as password.
I can’t open Ajenti panel on browser?
Please open port 8000 on your firewall rules / router. Edit iptables rule:
then add following lines:
-A INPUT -p udp -m state --state NEW --dport 8000 -j ACCEPT
-A INPUT -p tcp -m state --state NEW --dport 8000 -j ACCEPT
Next, restart iptables:
service iptables restart
I got python-lockfile and python-chardet error
It might somehow during installation you get this error message:
--> Finished Dependency Resolution
Error: Package: python-daemon-1.5.2-1.el6.noarch (ajenti)
Error: Package: reconfigure-0.1.36-1.noarch (ajenti)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
It seems happens because EPEL repo is not properly added on your server, so..
First, check the version of your server’s operating system (CentOS 6.x/5.x? 32-bit/64-bit):
This tutorial is done on Ubuntu 13.04 64 bit minimal but may also works on any latest version of Debian. Older version needs Python upgraded.
Step 0 – make sure all packages on your OS are updated:
apt-get update -y
then upgrade it..
apt-get upgrade -y
Method #1: Manual Install
Step 1 – You have to firstly import Ajenti’s keys/add repository. Hence you’ll need to download and add the ajenti PPA repository to /etc/apt/sources.list file. The repository key is used to validate that the package originates from the legitimate source. Use following command to download the key and automatically add it to your system: