Many systems need a unique interface to be able to manage them. However, when we talk about servers, we find that they do not have a graphical interface for security reasons. In addition, not having a graphical interface on the server makes it better manage the resources of it devoting more to services and applications. On the other hand, it is much simpler to manage all the processes and information of a server using a graphical interface. So, that is why today I will show you how to install Ajenti in Ubuntu 18.04.
Ajenti is a system administration panel compatible with many of the Linux distributions that exist. It is written in Python and requires very few resources. So, it is a great tool if we want to monitor the status and services of our system with a nice graphical interface, responsive and very functional. Of course, it is open source, under the BSD license which makes its source code be studied by those who want.
On the other hand, the application has a very friendly front-end created with Angular.js. This makes it compatible with most current browsers.
So, let us install Ajenti on Ubuntu 18.04 or Linux Mint 19.
1. Upgrade the system
It is always a good idea to update your system to receive the latest security updates. With this, you will have a more robust system and ready for action.
:~$ sudo apt update && sudo apt upgrade
Now, with the updated system, it is possible to continue with the installation without problems.
2.- Install required packages and add the external repository
Before installing Ajenti in Ubuntu it is necessary to install two necessary packages to do it. The first one is wget that will help us to download a file to add the repository. So, let us do it.
:~$ sudo apt install wget
The other package we must install as a dependency is python-imaging.
:~$ wget http://security.ubuntu.com/ubuntu/pool/universe/p/pillow/python-imaging_4.1.1-3build2_all.deb :~$ sudo dpkg -i python-imaging_4.1.1-3build2_all.deb
After that, it is necessary to add the GPG key from the Ajenti repository to further improve package security and integrity.
:~$ wget http://repo.ajenti.org/debian/key -O- | sudo apt-key add -
Then, run the following command to add the Ajenti repository to the system repository list.
:~$ echo "deb http://repo.ajenti.org/ng/debian main main ubuntu" | sudo tee /etc/apt/sources.list.d/ajenti.list
Finally, install Ajenti.
:~$ sudo apt update :~$ sudo apt install ajenti
After that, you have to enable and start the service. You can also check the service status. To do it, run these commands.
:~$ sudo systemctl enable ajenti :~$ sudo systemctl start ajenti :~$ sudo systemctl status ajenti
Ajenti runs through the port 8000
. So, if you are using a Firewall, remember to open that port.
So, you can open the web browser and go to http://SERVER_IP:8000
.
3. Install Ajenti V Plugin
Ajenti V plugin is a set of plugins that are installed to Ajenti and increase its power. Thanks to this you will be able to manage MySQL or Apache and it is very useful. To do so, execute the following command:
:~$ sudo apt install ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php7.2-fpm php7.2-mysql
So, restart Ajenti.
:~$ sudo systemctl restart ajenti
And go back to the web browser to log in. The user is root and the password is admin.
Now, you will see this screen. In it, you have the main info system.
After that, you can also see the plugins section.
You also have a utility that will allow you to use a small program of notes in the application.
So, you can also manage a MySQL instance.
Or you can manage the Firewall.
There is also a File manager utility.
So, that’s it. Enjoy Ajenti.
Nice description, but unfortunately the python imaging link is not valid any longer:
vwget http://security.ubuntu.com/ubuntu/pool/universe/p/pillow/python-imaging_4.1.1-3build2_all.deb