Sunday, August 25, 2013

Install Ajenti (A Web Based Control Panel) for Managing Linux Server

Ajenti is an open source web based system management control panel for managing remotesystem administrating tasks from the web browser much similar to Webmin moduleAjentiis 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 ApacheCronFile SystemFirewallMySQLNginxMuninSambaFTPSquid and many other tools like File ManagerCode Editor for developers and Terminal access.
Install Ajenti Control Panel
Install Ajenti Control Panel
In this article we’re going to show you how we going to install Ajenti Server Manager tool onRHEL 6.4/6.3/6.2/6.1/6/5.8CentOS 6.4/6.3/6.2/6.1/6/5.8Fedora 19/18/17/16/15/14/13/12Ubuntu 13.04/12.10/12.04/11.10Linux Mint 15/14/13/12and Debian SidDebian 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.
  1. Enable EPEL Repositories
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
Login Screen
Ajenti Login Screen
Ajenti Login Screen
Dashboard
Ajenti Dashboard
Dashboard
Plugins
Ajenti Plugins
Ajenti Plugins
Filesystem
Ajenti File System
Filesystem
Firewall
Ajenti Firewall
Firewall
System Packages
Ajenti Package Manager
Packages
Running Processes
Ajenti Processes
Linux Running Processes
File Manager
Ajenti File Manager
Linux File Manager
Running Services
Ajenti Services

Ubuntu Packages

Installing

Ajenti requires ubuntu 12.04 Precise Pangolin. Previous releases might work with Python upgraded.
Add repository key:
wget http://repo.ajenti.org/debian/key -O- | apt-key add -
Add repository to /etc/apt/sources.list:
echo "deb http://repo.ajenti.org/ng/debian main main ubuntu" >> /etc/apt/sources.list
Install the package:
apt-get update && apt-get install ajenti
Start the service:
service ajenti restart

RPM Packages

Installing

Ajenti requires EPEL repositories: http://fedoraproject.org/wiki/EPEL
Add repository key:
wget http://repo.ajenti.org/ajenti-repo-1.0-1.noarch.rpm
rpm -i ajenti-repo-1.0-1.noarch.rpm
Install the package:
yum install ajenti
Start the service:
service ajenti restart

Package does not match intended download?

yum clean metadata



0 comments: