Install Ajenti on Debian 9.8

|
Published:
|
|

Today, we are going to learn how to install Ajenti on Debian 9.8. Ajenti is a web based control panel that provides a GUI framework for managing Linux systems remotely. In our previous guides, we covered similar installations about webmin, guacamole, NoMachine which you can read by following the links below;

Install Ajenti on Debian 9.8

There are different versions of Ajenti with different feature support. These versions include Ajenti v1.x, v2 and Ajenti Core. You can learn more about them here.

Run System Update

Before you can start the installation, update and upgrade system packages.

apt update
apt upgrade

Add Ajenti Repository

Ajenti is not available by default on the default debian 9 repositories. Hence, you need to add the repository to enable you install it. Before you can add the repository, install the repository signing key.

wget http://repo.ajenti.org/debian/key -O- | sudo apt-key add -

Next, add the repository.

echo "deb http://repo.ajenti.org/debian main main debian" | sudo tee -a /etc/apt/sources.list

Run system update and install Ajenti

apt update
apt install ajenti

If everything goes well, you should be able to output below;

...
:: Generating certificate

Signature ok
subject=C = US, ST = NA, L = Nowhere, O = Acme Inc, OU = IT, CN = debian
Getting Private key
:: SSL configured!
------------------------------------------------
Now start Ajenti with 'service ajenti restart'
Ajenti will listen on HTTPS port 8000 by default

Default username : root
Default password : admin
------------------------------------------------
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for python-support (1.0.15) ...
Processing triggers for systemd (232-25+deb9u9) ...

Access Ajenti Web UI

Ajenti listens on TCP port 8000 by default and you can now access via the URL, https://<server-IP>:8000. Add the SSL warnings as an exception and proceed to Ajenti login page.

install Ajenti on Debian 9.8

The default login credentials are root and admin for username and password respectively.

install Ajenti on Debian 9.8 You can now explore various tabs to check what they offer and interact with your system from the browser as comfortably as you would if you had direct access.

If you need to manage other stuff like websites, emails, databases such as MySQL, you can optionally install Ajenti V plugin. Ajenti V plugin adds fast, efficient and easy-to-setup web hosting capabilities.

Install Ajenti V plugin

To install Ajenti with support for PHP 7.3, you need to add the PHP7.3 repositories yo your Debian server.

Add php 7.3 repository

Run the command below to add PHP 7.3 repository and update system packages.

wget https://packages.sury.org/php/apt.gpg -O /etc/apt/trusted.gpg.d/php.gpg
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php7.3.list
apt -y install apt-transport-https
apt update

Install Ajenti V plugin

apt install ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-mail ajenti-v-nodejs ajenti-v-php7.3-fpm php7.3-mysql

Once the installation is done, start and enable ajenti to run on system boot.

systemctl restart ajenti
systemctl enable ajenti

Next, login again to Ajenti web UI. This time round, you should be able to see Websites and Mail tabs under WEB tab.

install Ajenti on Debian 9.8

To be able to manage websites, enable Nginx and PHP. Similarly, you need to enable Ajenti V mail in order to manage mails.

enable web

At the same time, you should be able to see MYSQL management tab under SOFTWARE tab.

Well, up to that point, you have learnt how to install Ajenti on Debian 9.8 and you should be able to manage your systems remotely via web control panel. Enjoy.

SUPPORT US VIA A VIRTUAL CUP OF COFFEE

We're passionate about sharing our knowledge and experiences with you through our blog. If you appreciate our efforts, consider buying us a virtual coffee. Your support keeps us motivated and enables us to continually improve, ensuring that we can provide you with the best content possible. Thank you for being a coffee-fueled champion of our work!

Photo of author
koromicha
I am the Co-founder of Kifarunix.com, Linux and the whole FOSS enthusiast, Linux System Admin and a Blue Teamer who loves to share technological tips and hacks with others as a way of sharing knowledge as: "In vain have you acquired knowledge if you have not imparted it to others".

Leave a Comment