{"id":2536,"date":"2019-04-05T23:58:07","date_gmt":"2019-04-05T20:58:07","guid":{"rendered":"http:\/\/kifarunix.com\/?p=2536"},"modified":"2019-04-05T23:58:07","modified_gmt":"2019-04-05T20:58:07","slug":"install-ajenti-on-debian-9-8","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-ajenti-on-debian-9-8\/","title":{"rendered":"Install Ajenti on Debian 9.8"},"content":{"rendered":"
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;<\/p>\n
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<\/a>.<\/p>\n Before you can start the installation, update and upgrade system packages.<\/p>\n 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.<\/p>\n Next, add the repository.<\/p>\n Run system update and install Ajenti<\/p>\n If everything goes well, you should be able to output below;<\/p>\n Ajenti listens on TCP port 8000 by default and you can now access via the URL, The default login credentials are 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.<\/p>\n To install Ajenti with support for PHP 7.3, you need to add the PHP7.3 repositories yo your Debian server.<\/p>\n Run the command below to add PHP 7.3 repository and update system packages.<\/p>\n Install Ajenti V plugin<\/p>\n Once the installation is done, start and enable ajenti to run on system boot.<\/p>\n Next, login again to Ajenti web UI. This time round, you should be able to see Websites and Mail tabs under WEB tab.<\/p>\nRun System Update<\/h3>\n
apt update\r\napt upgrade<\/code><\/pre>\n
Add Ajenti Repository<\/h3>\n
wget http:\/\/repo.ajenti.org\/debian\/key -O- | sudo apt-key add -<\/code><\/pre>\n
echo \"deb http:\/\/repo.ajenti.org\/debian main main debian\" | sudo tee -a \/etc\/apt\/sources.list<\/code><\/pre>\n
apt update\r\napt install ajenti<\/code><\/pre>\n
...\r\n:: Generating certificate\r\n\r\nSignature ok\r\nsubject=C = US, ST = NA, L = Nowhere, O = Acme Inc, OU = IT, CN = debian\r\nGetting Private key\r\n:: SSL configured!\r\n------------------------------------------------\r\nNow start Ajenti with 'service ajenti restart'\r\nAjenti will listen on HTTPS port 8000 by default\r\n\r\nDefault username : root\r\nDefault password : admin\r\n------------------------------------------------\r\nProcessing triggers for libc-bin (2.24-11+deb9u4) ...\r\nProcessing triggers for python-support (1.0.15) ...\r\nProcessing triggers for systemd (232-25+deb9u9) ...<\/code><\/pre>\n
Access Ajenti Web UI<\/h4>\n
https:\/\/<server-IP>:8000<\/code>. Add the SSL warnings as an exception and proceed to Ajenti login page.<\/p>\n
<\/a><\/p>\n
root<\/code> and
admin<\/code> for username and password respectively.<\/p>\n
<\/a> 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.<\/p>\n
Install Ajenti V plugin<\/h3>\n
Add php 7.3 repository<\/h4>\n
wget https:\/\/packages.sury.org\/php\/apt.gpg -O \/etc\/apt\/trusted.gpg.d\/php.gpg\r\necho \"deb https:\/\/packages.sury.org\/php\/ $(lsb_release -sc) main\" | sudo tee \/etc\/apt\/sources.list.d\/php7.3.list\r\napt -y install apt-transport-https\r\napt update<\/code><\/pre>\n
apt install ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-mail ajenti-v-nodejs ajenti-v-php7.3-fpm php7.3-mysql<\/code><\/pre>\n
systemctl restart ajenti\r\nsystemctl enable ajenti<\/code><\/pre>\n