{"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":"<p>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<ul>\n<li class=\"entry-title td-module-title\"><a title=\"Installing Webmin Web-based Linux System Administration Tool Fedora 29\/28\/CentOS 7\" href=\"https:\/\/kifarunix.com\/how-to-install-and-use-webmin-on-fedora-29-fedora-28-centos-7\/\" target=\"_blank\" rel=\"bookmark noopener noreferrer\">Installing Webmin Web-based Linux System Administration Tool Fedora 29\/28\/CentOS 7<\/a><\/li>\n<li class=\"entry-title td-module-title\"><a title=\"How to Install and Configure Guacamole on Fedora 29\" href=\"https:\/\/kifarunix.com\/how-to-install-and-configure-guacamole-on-fedora-29\/\" target=\"_blank\" rel=\"bookmark noopener noreferrer\">How to Install and Configure Guacamole on Fedora 29<\/a><\/li>\n<li class=\"entry-title td-module-title\"><a title=\"How to Install and Setup Guacamole on Debian 9.8\" href=\"https:\/\/kifarunix.com\/how-to-install-and-setup-guacamole-on-debian-9-8\/\" rel=\"bookmark\">How to Install and Setup Guacamole on Debian 9.8<\/a><\/li>\n<li class=\"entry-title td-module-title\"><a title=\"How to Setup Guacamole Web-based Remote Desktop Access Tool on Ubuntu 18.04\" href=\"https:\/\/kifarunix.com\/how-to-setup-guacamole-web-based-remote-desktop-access-tool-on-ubuntu-18-04\/\" target=\"_blank\" rel=\"bookmark noopener noreferrer\">How to Setup Guacamole Web-based Remote Desktop Access Tool on Ubuntu 18.04<\/a><\/li>\n<li class=\"entry-title td-module-title\"><a title=\"How to Install and Use NoMachine Remote Desktop Tool on Ubuntu 18.04\" href=\"https:\/\/kifarunix.com\/how-to-install-and-use-nomachine-remote-desktop-tool-on-ubuntu-18-04\/\" target=\"_blank\" rel=\"bookmark noopener noreferrer\">How to Install and Use NoMachine Remote Desktop Tool on Ubuntu 18.04<\/a><\/li>\n<\/ul>\n<h3>Install Ajenti on Debian 9.8<\/h3>\n<p>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 <a href=\"http:\/\/ajenti.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/p>\n<h3>Run System Update<\/h3>\n<p>Before you can start the installation, update and upgrade system packages.<\/p>\n<pre>apt update\r\napt upgrade<\/code><\/pre>\n<h3>Add Ajenti Repository<\/h3>\n<p>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<pre>wget http:\/\/repo.ajenti.org\/debian\/key -O- | sudo apt-key add -<\/code><\/pre>\n<p>Next, add the repository.<\/p>\n<pre>echo \"deb http:\/\/repo.ajenti.org\/debian main main debian\" | sudo tee -a \/etc\/apt\/sources.list<\/code><\/pre>\n<p>Run system update and install Ajenti<\/p>\n<pre>apt update\r\napt install ajenti<\/code><\/pre>\n<p>If everything goes well, you should be able to output below;<\/p>\n<pre>...\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<h4>Access Ajenti Web UI<\/h4>\n<p>Ajenti listens on TCP port 8000 by default and you can now access via the URL, <code>https:\/\/&lt;server-IP&gt;:8000<\/code>. Add the SSL warnings as an exception and proceed to Ajenti login page.<\/p>\n<p><a href=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/04\/ajenti-login.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2541 size-full\" src=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/04\/ajenti-login.png\" alt=\"install Ajenti on Debian 9.8\" width=\"665\" height=\"464\" title=\"\"><\/a><\/p>\n<p>The default login credentials are <code>root<\/code> and <code>admin<\/code> for username and password respectively.<\/p>\n<p><a href=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/04\/ajenti-UI.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2540 size-full\" src=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/04\/ajenti-UI.png\" alt=\"install Ajenti on Debian 9.8\" width=\"1070\" height=\"636\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/04\/ajenti-UI.png 1070w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/04\/ajenti-UI-768x456.png 768w\" sizes=\"(max-width: 1070px) 100vw, 1070px\" \/><\/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<p>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<h3>Install Ajenti V plugin<\/h3>\n<p>To install Ajenti with support for PHP 7.3, you need to add the PHP7.3 repositories yo your Debian server.<\/p>\n<h4>Add php 7.3 repository<\/h4>\n<p>Run the command below to add PHP 7.3 repository and update system packages.<\/p>\n<pre class=\"wp-block-preformatted\"><code>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<p>Install Ajenti V plugin<\/p>\n<pre>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<p>Once the installation is done, start and enable ajenti to run on system boot.<\/p>\n<pre>systemctl restart ajenti\r\nsystemctl enable ajenti<\/code><\/pre>\n<p>Next, login again to Ajenti web UI. This time round, you should be able to see Websites and Mail tabs under WEB tab.<\/p>\n<p><a href=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/04\/websites.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2539 size-full\" src=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/04\/websites.png\" alt=\"install Ajenti on Debian 9.8\" width=\"1204\" height=\"632\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/04\/websites.png 1204w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/04\/websites-768x403.png 768w\" sizes=\"(max-width: 1204px) 100vw, 1204px\" \/><\/a><\/p>\n<p>To be able to manage websites, enable Nginx and PHP. Similarly, you need to enable Ajenti V mail in order to manage mails.<\/p>\n<p><a href=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/04\/enable-web.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2538\" src=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/04\/enable-web.png\" alt=\"\" width=\"1150\" height=\"594\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/04\/enable-web.png 1150w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/04\/enable-web-768x397.png 768w\" sizes=\"(max-width: 1150px) 100vw, 1150px\" \/><\/a><\/p>\n<p>At the same time, you should be able to see MYSQL management tab under SOFTWARE tab.<\/p>\n<p>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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[121,376],"tags":[377,378,379],"class_list":["post-2536","post","type-post","status-publish","format-standard","hentry","category-howtos","category-system-manager","tag-ajenti","tag-ajenti-v","tag-debian-9-8","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/2536"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=2536"}],"version-history":[{"count":2,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/2536\/revisions"}],"predecessor-version":[{"id":2542,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/2536\/revisions\/2542"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=2536"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=2536"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=2536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}