Install Ajenti Control Panel And Ajenti V on Ubuntu 16.04
What is Ajenti?
Ajenti is an open source admin panel which offers a lot of unique features to efficiently manage your server tasks.Ajenti is a web-based control panel which comes with lot of useful features such as installing packages and running different commands as it provides a web-based terminal, you can set up multiple websites and configure them, create and set up email accounts, you can also view server information like RAM, free disk space, and other several widgets.In this tutorial, we will install Ajenti control panel and a plugin Ajenti V which can be used to host and create multiple websites on your server.Here is the link to the official website of Ajenti.
Let’s install Ajenti on our EC2 instance, first connect to your EC2 instance via SSH
First, we need to add the Ajenti repositories in the list of our sources but before that let’s add the repository key first which is used to validate the sources of the Ajenti packages.Type the following commands in the terminal to add the key.
wget http://repo.ajenti.org/debian/key -O- | sudo apt-key add -
Now that we have successfully added the repo key let’s add the Ajenti repo to the list of our sources.Type the following command in the terminal.
echo "deb http://repo.ajenti.org/ng/debian main main ubuntu" | sudo tee -a /etc/apt/sources.list
Now we need to upgrade the packages and then we can install the Ajenti control panel.
sudo apt-get update sudo apt-get install ajenti
While installing Ajenti, the system will prompt you for the confirmation press Y and press ENTER.
After the installation process is over type the following command to restart the Ajenti server.
sudo service ajenti restart
Now after restarting the server, you can access your Ajenti control panel in a web browser, Ajenti by default will work on port 8000 of your server to open Ajenti just type the domain name of the server like this https://www.yourdomain.com:8000 in the browser.If you did not register a domain name yet you can also open the Ajenti with server IP like this https://yourserverip:8000.
After opening the above URL you will land on the login page of Ajenti Control Panel which will look like this.
The default login credentials for Ajenti are:
Username – root
Password – admin
You will be now inside Ajenti control Panel which looks like this.
Install Ajenti V
Now that we have completed the process of installing Ajenti, let’s install Ajenti V plugin which we will use to set up websites.Type the following command in the terminal or you can use Ajenti’s inbuilt terminal.
sudo apt-get install ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php7.0-fpm ajenti-v-mail ajenti-v-nodejs php7-mysql
Press Y to confirm the package installation and press ENTER, during installation the system will prompt you several times with popups, Press ENTER for the preselected options and it may ask you to enter your MySql root password several times.After the installation process has been completed you need to restart the ajenti server again.
sudo service ajenti restart
After restarting the server you need to log in to the Ajenti again and you will see a Web section in the sidebar and Websites option under it.
In the next post, we will see how to create and configure a website on Ajenti Panel.
Have a good day!