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.

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 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.

  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
# 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 -O- | apt-key add -
# echo "deb 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“.

Login Screen
Ajenti Login Screen
Ajenti Login Screen
Ajenti Dashboard
Ajenti Plugins
Ajenti Plugins
Ajenti File System
Ajenti Firewall
System Packages
Ajenti Package Manager
Running Processes
Ajenti Processes
Linux Running Processes
File Manager
Ajenti File Manager
Linux File Manager
Running Services
Ajenti Services
Linux Services

Reference Link

Ajenti Homepage

If you liked this article, then do subscribe to email alerts for Linux tutorials. If you have any questions or doubts? do ask for help in the comments section.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

49 thoughts on “Install Ajenti (A Web Based Control Panel) for Managing Linux Server”

  1. First off, thanks for the awesome posts! I read your other post where you talked about Ajenti, so I am trying it out. I wanted to add that with CentOS 6.5, I had to add my iptables rules up toward the top of the config file, not at the bottom. When I had them at the bottom, it was still blocking the port for some reason. I assume that one of the above rules is set to block all unconfigured traffic, but I am still fairly new at Linux firewall rules in general. Anyway, thanks for the great info! Looking forward to reading more of your posts!


  2. I have just initiated a new server – Ubuntu 12.04/Nginx 1.4.5 to test Ajenti on. I don’t understand probably the most fundamental part of how to make the vhosts work. The developer Eugene posts this –

    I’m used to having a vhost like /etc/nginx/sites-enabled/…. with the files in /home/user/public_html/

    So basically I don’t get how fetches the /ajenti files without some modification to his example.

    Any clarification on this would be greatly appreciated.


    • I think it’s the next option that will be added from @Ajenti Team, i agree that’s a little bit late to think about it or sad to forget about it.
      But i’m just like you waiting for the Webmail Management.


  3. Yep, I’m getting the same error as Kumar, above.

    [[email protected] ~]# service iptables restart
    iptables: Applying firewall rules: iptables-restore: line 1 failed

    vi edit the iptables fails…

    Centos x64 6.4 – Digital Ocean.

    You can manually add at command line…
    But you still can’t access ip and port in the browser.

    • To fix such error, you need to replace your iptables rules with below lines.

      # Firewall configuration written by system-config-firewall
      # Manual customization of this file is not recommended.
      :INPUT ACCEPT [0:0]
      :FORWARD ACCEPT [0:0]
      :OUTPUT ACCEPT [0:0]
      -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
      -A INPUT -p icmp -j ACCEPT
      -A INPUT -i lo -j ACCEPT
      -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
      -A INPUT -m tcp -p tcp --dport 80 -j ACCEPT
      -A INPUT -m state --state NEW -p tcp --dport 21 -j ACCEPT
      -A INPUT -j REJECT --reject-with icmp-host-prohibited
      -A FORWARD -j REJECT --reject-with icmp-host-prohibited

      And restart iptables again….

  4. Hi
    I tried to follow your commands but having these problem using cent os 6 32 bit

    == After adding those two lines when i restart iptables i get error on line 1 .

    I am newbie in servers any help would be appreciated

  5. Get this error, cant install Ajenti in Ubuntu 12.04

    The following packages have unmet dependencies:
    ajenti : Depends: python-requests (>= 0.12.0) but 0.8.2-1 is to be installed
    E: Unable to correct problems, you have held broken packages.


Got something to say? Join the discussion.

Have a question or suggestion? Please leave a comment to start the discussion. Please keep in mind that all comments are moderated and your email address will NOT be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.