Need help?

Our experts have had an average response time of 12.14 minutes in September 2021 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

Install Ajenti Control Panel on Debian 10/Debian 9 – how to do it

by | May 4, 2021

Wondering how to install Install Ajenti Control Panel on Debian 10/Debian 9? We will help you with it.

Ajenti is a free and open source Web-based Server management and configuration Panel written in Python, JavaScript and AngularJS.

Here at Bobcares, we handle requests from our customers to Install Ajenti Control Panel as a part of Server Management Services.

Today, let us see how our Support techs resolve this issue for our customers.


Install Ajenti Control Panel on Debian 10/Debian 9


Today, let us see the steps our Support techs follow for installation.

It is very easy to install Ajenti on Debian 10/Debian 9, since all packages are available on the APT repository. We will update the system and add the required repository.


Step 1: Firstly, update the system

Ensure that the system and packages are updated.

$ sudo apt update
$ sudo apt -y upgrade

It is recommended to reboot the server after an upgrade.

$ sudo reboot


Step 2: Next, install python-imaging (Debian 10 only)

Ajenti depends on python-imaging. But it is not available on APT repository.

Download .deb package:

$ wget

Install it:

$ sudo pkg -i python-imaging_4.0.0-4_all.deb
sudo: pkg: command not found
$ sudo dpkg -i python-imaging_4.0.0-4_all.deb
Selecting previously unselected package python-imaging.
(Reading database … 28519 files and directories currently installed.)
Preparing to unpack python-imaging_4.0.0-4_all.deb …
Unpacking python-imaging (4.0.0-4) …
Setting up python-imaging (4.0.0-4) …

Step 3: Then, add the required repository

We can choose to install Ajenti V2 or Ajenti 1.x.

In this article, let us install Ajenti v2 on Debian 10.

$ sudo apt -y install gnupg2
$ wget -O- | sudo apt-key add –
$ echo “deb main main debian” | sudo tee /etc/apt/sources.list.d/ajenti.list

Step 4: Finally, install Ajenti Control Panel on Debian 10

Once we have added a repository, install Ajenti control panel using following command:

$ sudo apt update
$ sudo apt -y install ajenti

Now, start and enable Ajenti service:

$ sudo systemctl status ajenti
$ sudo systemctl enable ajenti

Ajenti will listen on HTTPS port 8000 by default.

Login to Ajenti control panel using:

Default username: root
Default password: admin


Common error: Install Ajenti Control Panel on Debian 10/Debian 9

While starting ajenti manually, it resulted in the error given below:

ImportError: No module named passlib.hash

$ /usr/bin/ajenti-panel
01.08.2013 01:18 INFO Ajenti starting in foreground
Traceback (most recent call last):
File “/usr/bin/ajenti-panel”, line 85, in <module>
from ajenti import core
File “/usr/lib/pymodules/python2.7/ajenti/”, line 19, in <module>
from ajenti.middleware import SessionMiddleware, AuthenticationMiddleware
File “/usr/lib/pymodules/python2.7/ajenti/”, line 11, in <module>
from ajenti.users import UserManager
File “/usr/lib/pymodules/python2.7/ajenti/”, line 3, in <module>
from passlib.hash import sha512_crypt
ImportError: No module named passlib.hash


To fix, run the following commands:

$ apt-get install python-pip
$ pip install passlib

Then, start Ajenti service.

[ Need any further assistance in analyzing logs with Nagios Log Server? – We’re available 24*7]


In short, useful tool to manage our websites, firewall, DNS, cron, logs, files, mail hosting services etc. Today, we saw how our Support Engineers install it.


Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.


var google_conversion_label = "owonCMyG5nEQ0aD71QM";


Submit a Comment

Your email address will not be published. Required fields are marked *

Privacy Preference Center


Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]


Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid


Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie


These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.