Вы находитесь на странице: 1из 2

Ajenti Control Panel

CHACHENG OO
Sr. System Engineer
DBL Group
BGMEA Complex( 12th Floor )| 23/1 Panthapath Link Road | Karwan Bazar | Dhaka-1215 | Bangladesh |
Cell: +8801755647625 Personel: +8801812490773 | Skype ID : chacheng.oo |
E-mail : chacheng@dbl-group.com Per : chacheng.oo@gmail.com or chacheng.oo@yahoo.com
Web : www.dbl-group.com

Install Ajenti Control Panel on a CentOS Server


Login to your server as user root :
# ssh root@hostname

Update your CentOS 6.5 VPS using the yum package manager.
# yum update -y
# yum upgrade -y

We need to enable EPEL repo because Ajenti package is not available by default.
Enter the following commands:
# wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
# rpm -ivh epel-release-6-8.noarch.rpm

Done. We added the EPEL repo on our server.


Next, we need to download and install Ajentis official repository by using the following commands:
# wget http://repo.ajenti.org/ajenti-repo-1.0-1.noarch.rpm
# rpm -i ajenti-repo-1.0-1.noarch.rpm

Now, lets install Ajenti Control Panel.


# yum install ajenti -y
# service ajenti restart

NO NEEDED
Done, we have installed Ajenti.
But since we also want to have Nginx, PHP-fpm, Exim etc we need to install the Ajenti V plugin suite.
Ajenti V comes in form of small packages.
Currently available packages include:
ajenti-v (main package)
ajenti-v-mail (Exim and Courier mail)
ajenti-v-mysql (MySQL DB support)
ajenti-v-php-fpm (PHP support via PHP-FPM)
ajenti-v-ruby-unicorn (Rails support via Unicorn)
ajenti-v-ruby-puma (Rails support via Puma)

Ajenti Control Panel


ajenti-v-ftp-pureftpd (FTP support via PureFTPd)
ajenti-v-nginx (NGINX webserver support)
ajenti-v-python-gunicorn (Python WSGI support via gunicorn)
ajenti-v-nodejs (Node.js support)
If you have Apache or Postfix/Sendmail installed and you dont use them, remove them first.
# yum remove httpd postfix sendmail
............................................................................................

Install Ajenti-V with the packages according to your needs.


# yum install ajenti-v ajenti-v-nginx ajenti-v-mail ajenti-v-mysql ajenti-v-php-fpm php-mysql

Common issues:
If you get a [Errno -1] Package does not match intended download error you will need to clean the metadata.
# yum clean metadata

Then proceed with the installation.


# yum install ajenti-v ajenti-v-nginx ajenti-v-mail ajenti-v-mysql ajenti-v-php-fpm php-mysql

Usually, CentOS blocks port 8000 with firewall. Run the following to unblock port temporarily.
# iptables -A INPUT -p tcp --dport 8000 -j ACCEPT

We have successfully installed Ajenti control panel with its plugin suite Ajenti-V.
The Ajenti control panel will be available on HTTPS port 8000 by default. Open your favorite browser and navigate
to https://yourdomain.com:8000 or https://server-ip:8000.
The default username is root, and the password is admin.

CHACHENG OO
Sr. System Engineer
DBL Group
BGMEA Complex( 12th Floor )| 23/1 Panthapath Link Road | Karwan Bazar | Dhaka-1215 | Bangladesh |
Cell: +8801755647625 Personel: +8801812490773 | Skype ID : chacheng.oo |
E-mail : chacheng@dbl-group.com Per : chacheng.oo@gmail.com or chacheng.oo@yahoo.com
Web : www.dbl-group.com