How to install Ajenti on Ubuntu 16.04

To install Ajenti on Ubuntu 16.04

Ajenti is an open source web-based control panel (GUI) for Linux server. It will help the server administrator to manage the remote server without any glitches. It’s lightweight, powerful & responsive web interface. It includes lot of plugins for system and software configuration, monitoring and management purpose. Through this plugin we can install/manage all the major services such as web server, mail server, DNS, Network monitoring service, File System, Firewall, MySQL, Samba, FTP, Squid, etc. This tutorial explains the installation of Ajenti on Ubuntu 16.04. 

 

Installation procedure

To proceed with the installation procedure, add the repository key of Ajenti packages and download the key by running the wget command followed by the download link. 

root@linuxhelp:~# wget http://repo.ajenti.org/debian/key -O- | sudo apt-key add -
--2017-11-04 01:54:48--  http://repo.ajenti.org/debian/key
Resolving repo.ajenti.org (repo.ajenti.org)... 151.139.236.224
Connecting to repo.ajenti.org (repo.ajenti.org)|151.139.236.224|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1716 (1.7K) [application/octet-stream]
Saving to: ‘STDOUT’

-100%[===================>]   1.68K  --.-KB/s    in 0s      

2017-11-04 01:54:48 (87.4 MB/s) - written to stdout [1716/1716]

OK

After adding the repository key, add the repository in the sources.list file to enable the repository by executing the following command. 

root@linuxhelp:~# echo "deb http://repo.ajenti.org/ng/debian main main ubuntu" | sudo tee -a /etc/apt/sources.list
deb http://repo.ajenti.org/ng/debian main main ubuntu

Update the repository by running the apt-get update command

root@linuxhelp:~# apt-get update
Hit:1 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu xenial InRelease                    
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]     
Get:4 http://repo.ajenti.org/ng/debian main InRelease [11.7 kB]                
Get:5 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [60.2 kB]
.
.
Get:20 http://in.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,328 B]
Get:21 http://in.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [4,588 B]
Fetched 1,564 kB in 6s (253 kB/s)                                              
Reading package lists... Done

The target system has been updated with the required repositories. Next install the ajenti appllcation by executing the following command. 

root@linuxhelp:~# apt-get install ajenti
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gnome-software-common libgtkspell3-3-0 libmcrypt4
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  apt-show-versions docutils-common docutils-doc python-bs4 python-catcher
  python-cffi-backend python-chardet python-cryptography python-daemon
  python-dbus python-docutils python-enum34 python-exconsole python-gevent
  python-gevent-socketio python-gevent-websocket python-gi python-greenlet
.
.
update-alternatives: using /usr/share/docutils/scripts/python2/rst2xetex to provide /usr/bin/rst2xetex (rst2xetex) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python2/rst2xml to provide /usr/bin/rst2xml (rst2xml) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python2/rstpep2html to provide /usr/bin/rstpep2html (rstpep2html) in auto mode
Setting up python-daemon (2.0.5-1) ...
Setting up ajenti (1.2.23.11) ...

:: Generating key

Generating RSA private key, 2048 bit long modulus
..............................................................+++
.............................+++
e is 65537 (0x10001)

:: Generating certificate request

:: Removing passphrase

writing RSA key

:: Generating certificate

Signature ok
subject=/C=US/ST=NA/L=Nowhere/O=Acme Inc/OU=IT/CN=linuxhelp
Getting Private key
:: SSL configured!
------------------------------------------------
Now start Ajenti with 'service ajenti restart'
Ajenti will listen on HTTPS port 8000 by default

Default username : root
Default password : admin
------------------------------------------------
Processing triggers for python-support (1.0.15) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu4) ...

The installation is now complete. Start the Ajenti service by running the following command. 

root@linuxhelp:~#  systemctl start ajenti

Switch over to the browser and enter the URL as https://localhost:8000. The login page of Ajenti appears on the screen. Provide the default credentials and click Log In.
ajenti login page

The Ajenti dashboard appears on the screen. 
dashboard

The installation procedure of Ajenti on Ubuntu 16.04 is done without any glitches. 


Thank you! for using Linux Help.

You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website www.linuxhelp.com
Be the first to comment, we value your suggestions. For further queries please comment below.

Tags: Ajenti Ubuntu
user image Author :  Ethan