{"id":1230,"date":"2021-12-16T12:11:00","date_gmt":"2021-12-16T09:11:00","guid":{"rendered":"https:\/\/files2.tojikon.net\/files-cloud\/2021\/10\/28\/how-to-set-up-the-ajenti-server-management-tool-on-ubuntu-server\/https:\/\/files2.tojikon.net\/files-cloud\/2021\/10\/28\/how-to-set-up-the-ajenti-server-management-tool-on-ubuntu-server\/"},"modified":"2021-12-16T12:11:00","modified_gmt":"2021-12-16T09:11:00","slug":"how-to-set-up-the-ajenti-server-management-tool-on-ubuntu-server","status":"publish","type":"post","link":"https:\/\/tojikon.net\/en\/1230-how-to-set-up-the-ajenti-server-management-tool-on-ubuntu-server\/","title":{"rendered":"How to set up the Ajenti server management tool on Ubuntu Server"},"content":{"rendered":"<section id=\"related_posts\">\n<div class=\"block-head\">\n<h3>Related Articles<\/h3>\n<\/div>\n<\/section>\n<p>Ajenti is a web-based monitoring tool for servers and VPSes. Once installed, Ajenti is able to provide real-time monitoring, a web-based shell for terminal commands, and many other things. In this guide, we\u2019ll show you how to set up Ajenti on Ubuntu Server.<\/p>\n<p>Note: Although this guide focuses on Ubuntu Server, Ajenti supports various Linux operating systems, including Redhat Enterprise Linux, CentOS, Debian, etc. So feel free to follow along with this installation guide even if you do not use Ubuntu Server.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-410441 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-the-ajenti-server-management-tool-on-ubuntu-server.png\" alt=\"\" width=\"1200\" height=\"833\"\/><\/p>\n<h2>Automatic installation<\/h2>\n<p>The best way to get Ajenti working on your Ubuntu server is with the automatic installation script provided in the Ajenti documentation. The script is written in Bash, will auto-detect your operating system, and It takes care of everything on the OS so that the user doesn\u2019t have to.<\/p>\n<p>To start the installation, you\u2019ll need to install Curl on Ubuntu Server. Curl is used to download and run the script on Ubuntu Server. Launch a terminal window, connect to the Ubuntu Server over SSH. Or sit at the server physically and use the TTY console.<\/p>\n<p>Once you\u2019ve gotten the terminal window open and ready to use, run the <strong>apt install<\/strong> command to get the \u201ccurl\u201d package installed on your Ubuntu Server setup.<\/p>\n<pre>\nsudo apt install curl\n<\/pre>\n<p>Upon entering the command above, Ubuntu Server will ask for your password. Enter it using the keyboard. Then, press the\u00a0<strong>Enter<\/strong> key to confirm and <strong>Y<\/strong> to install the package.<\/p>\n<p>With the Curl app installed, it is time to run the automatic installation script. You will need to run this script as root as it needs access to system files.<\/p>\n<pre>\ncurl https:\/\/raw.githubusercontent.com\/ajenti\/ajenti\/master\/scripts\/install.sh | sudo bash -s -\n<\/pre>\n<p>The Ajenti installation script is automatic and should only take a couple of minutes. Watch the terminal as it downloads and configures Ajenti on Ubuntu Server.<\/p>\n<p>When the installation is complete, Ajenti is ready to configure. Open up a new web browser tab, and enter the URL to access the Web UI interface for Ajenti.<\/p>\n<p><code>HTTP:\/\/YOUR_UBUNTU_SERVER_IP_ADDRESS_OR_HOSTNAME:8000<\/code><\/p>\n<h2>Manual installation<\/h2>\n<p>If you\u2019d prefer to have more granular control over the installation of Ajenti on Ubuntu Server, or if the installation script doesn\u2019t work, the manual installation is the best way to go about it.<\/p>\n<p>To set up Ajenti via Manual installation, start by launching a terminal window, logging into the Ubuntu Server via SSH (or TTY console). Then, use the terminal to enable the \u201cUniverse\u201d software repository.<\/p>\n<pre>\nsudo add-apt-repository universe\n<\/pre>\n<p>Next, run the <strong>apt update<\/strong> command to refresh Ubuntu Server\u2019s software sources.<\/p>\n<pre>\nsudo apt update\n<\/pre>\n<p>Following the <strong>update<\/strong> command, it is time to install the Ajenti dependencies for Ubuntu Server. These packages must be installed, or the app will not function correctly.<\/p>\n<pre>\nsudo apt-get install build-essential python3-pip python3-dev python3-lxml libssl-dev python3-dbus python3-augeas python3-apt ntpdate\n<\/pre>\n<p>Following the dependencies, install all Python plugins for Ajenti.<\/p>\n<pre>\nsudo pip3 install ajenti-panel ajenti.plugin.ace ajenti.plugin.augeas ajenti.plugin.auth-users ajenti.plugin.core ajenti.plugin.dashboard ajenti.plugin.datetime ajenti.plugin.filemanager ajenti.plugin.filesystem ajenti.plugin.network ajenti.plugin.notepad ajenti.plugin.packages ajenti.plugin.passwd ajenti.plugin.plugins ajenti.plugin.power ajenti.plugin.services ajenti.plugin.settings ajenti.plugin.terminal.\n<\/pre>\n<p>When all Python plugins are configured, Ajenti is ready to go on Ubuntu Server. From here, open up a new web browser tab, and access the URL below.<\/p>\n<p><code>HTTP:\/\/YOUR_UBUNTU_SERVER_IP_ADDRESS_OR_HOSTNAME:8000<\/code><\/p>\n<h2>Configuring Ajenti on Ubuntu Server<\/h2>\n<p>Using Ajenti on Ubuntu Server requires knowing the root password. Sadly, Ubuntu disables the root password by default for security purposes. To re-enable the root password on your Ubuntu System, do the following.<\/p>\n<p>First, open up a terminal window and log into your machine over SSH. Or physically sit at your server and use the TTY console. Then, once you\u2019ve got access to the terminal shell, use the <strong>sudo -s<\/strong> command to log into root.<\/p>\n<pre>\nsudo -s\n<\/pre>\n<p>Once you\u2019ve logged into your account using <strong>sudo -s<\/strong>, use the <strong>passwd<\/strong> command to tell Ubuntu you\u2019d like to change the password. Then, enter your new root password. Be sure that this password is memorable and secure.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-408932 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-the-ajenti-server-management-tool-on-ubuntu-server.jpg\" alt=\"\" width=\"1200\" height=\"539\"\/><\/p>\n<pre>\npasswd\n<\/pre>\n<p>With the root password set, do the following to log in. First, access the URL below in your favorite web browser. Then, type in \u201croot\u201d in the username box and the root password into the password box. Finally, select \u201cLogin\u201d to log into your account.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-410444 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-the-ajenti-server-management-tool-on-ubuntu-server-1.png\" alt=\"\" width=\"1200\" height=\"765\"\/><\/p>\n<p><code>HTTP:\/\/YOUR_UBUNTU_SERVER_IP_ADDRESS_OR_HOSTNAME:8000<\/code><\/p>\n<p>Once logged in, Ajenti will display the dashboard. In the Ajenti dashboard, you\u2019ll see valuable information for Ubuntu Server. Information like how many cores are active, CPU usage, uptime, disk usage, and RAM usage. In addition, if you select the menu in the top-right corner, you\u2019ll gain access to the terminal shell, notepad, package manager, and more.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Related Articles Ajenti is a web-based monitoring tool for servers and VPSes. Once installed, Ajenti is able to provide real-time monitoring, a web-based shell for terminal commands, and many other things. In this guide, we\u2019ll show you how to set up Ajenti on Ubuntu Server. Note: Although this guide focuses on Ubuntu Server, Ajenti supports &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1231,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[21],"tags":[33],"_links":{"self":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1230"}],"collection":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/comments?post=1230"}],"version-history":[{"count":0,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1230\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media\/1231"}],"wp:attachment":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media?parent=1230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/categories?post=1230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/tags?post=1230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}