Install Ajenti (A Web Based Control Panel) for Managing Linux Server
Ajenti is an open source web based system management control panel for managing remote system administrating tasks from the web browser much similar to Webmin module. Ajenti is a much powerful and lightweight tool, that provides fast and responsive web interface for managing small server set-ups and also best suitable for VPS and Dedicated servers. It has built with many pre-made plugins for configuring and monitoring server software’s and services such as Apache, Cron, File System, Firewall, MySQL, Nginx, Munin, Samba, FTP, Squid and many other tools like File Manager, Code Editor for developers and Terminal access.
In this article we’re going to show you how we going to install Ajenti Server Manager tool on RHEL 6.4/6.3/6.2/6.1/6/5.8, CentOS 6.4/6.3/6.2/6.1/6/5.8, Fedora 19/18/17/16/15/14/13/12, Ubuntu 13.04/12.10/12.04/11.10, Linux Mint 15/14/13/12 and Debian Sid, Debian Wheezy and Debian Squeeze systems using own ajenti repository.
Installing Ajenti On RHEL/CentOS and Fedora
Ajenti is a third party tool and requires EPEL repositories to be enabled on our system to install dependency packages. Use the given link to install it.
Once enabled, now we can move further to download and install Ajenti’s official repository using “wget” command. If you don’t have “wget” package, install using “yum install wget“.
# wget http://repo.ajenti.org/ajenti-repo-1.0-1.noarch.rpm # rpm -i ajenti-repo-1.0-1.noarch.rpm
Install the package using “YUM” package manager tool.
# yum install ajenti
Once installation finishes, open “8000” port on firewall/router for remote access of web interface. Open the following file with VI editor.
# vi /etc/sysconfig/iptables
Append the following two lines at the bottom of the file, save and close it.
-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.
# service iptables restart
Installing Ajenti On Ubuntu/Debian and Linux Mint
As I said above, Ajenti is not included in the default repository, it needs to be added. So, let’s download and add the ajenti PPA repository to “/etc/apt/sources“.list.
# wget http://repo.ajenti.org/debian/key -O- | apt-key add - # echo "deb http://repo.ajenti.org/ng/debian main main" >> /etc/apt/sources.list
Once PPA added, update the system and then install the package.
# apt-get update && apt-get install ajenti
To verify, open a web browser and type the IP of the server where we’ve installed Ajenti and enter default username “admin” or “root” and password is “admin“.
https://localhost:8000 OR https://ip-address:8000