{"id":4291,"date":"2014-09-05T15:02:58","date_gmt":"2014-09-05T20:02:58","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=4291"},"modified":"2022-07-26T05:53:32","modified_gmt":"2022-07-26T10:53:32","slug":"install-ajenti-control-panel-on-a-centos-server","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/install-ajenti-control-panel-on-a-centos-server\/","title":{"rendered":"Install Ajenti Control Panel on a CentOS Server"},"content":{"rendered":"
Are you looking for a great alternative to Webmin, Kloxo and VestaCP? Well, search no more because Ajenti is an excellent, lightweight and powerful web-based server administration panel. It is a very intuitive, multilingual free control panel that manages almost every aspect of your server.<\/p>\n
Ajenti provides a fast and responsive web interface for managing your server, whether you have a Linux VPS (Virtual Private Server)<\/a> or a Dedicated server<\/a>. It is built with many pre-made plugins for configuring and monitoring server software and services. To mention few: Apache, Cron, File System, Firewall, MySQL, FTP and many other tools like File Manager, Code Editor for developers and Terminal access. <\/p>\n Ajenti is just like Webmin because it provides only features to manage your server. It doesn’t come bundled with a ready-to-use LAMP stack. For that purpose, you will need to install Ajenti V, a plugin suite for the core Ajenti, which adds fast, efficient, and easy-to-setup web hosting capabilities by installing pro stack: Nginx as a web server, PHP-fpm, MySQL, Exim 4, and Courier IMAP, etc. We will cover that as well in this tutorial.<\/p>\n Ajenti is written in Python, running as its own process and web server. It defaults to TCP port 8000 for communicating and is configured to use SSL with an automatically generated self-signed SSL certificate by default.<\/p>\n In this guide, we will use CentOS 6.5 VPS.<\/a><\/p>\n Login to your server as user \u2018root\u2019 :<\/p>\n Update your CentOS 6.5 VPS using the yum package manager.<\/p>\n We need to enable EPEL repo because Ajenti package is not available by default. Done. We added the EPEL repo on our server.<\/p>\n Next, we need to download and install Ajenti’s official repository by using the following commands:<\/p>\n Now, let’s install Ajenti Control Panel.<\/p>\n Done, we have installed Ajenti. Ajenti V comes in the form of small packages. If you have Apache or Postfix\/Sendmail installed, and you don’t use them, remove them first.<\/p>\n Install Ajenti-V with the packages according to your needs.<\/p>\n Common issues:<\/p>\n If you get a ‘[Errno -1] Package does not match the intended download’ error, you will need to clean the metadata.<\/p>\n Then proceed with the installation.<\/p>\n Usually, CentOS blocks port 8000 with a firewall. Run the following to unblock the port temporarily.<\/p>\n We have successfully installed the Ajenti control panel with its plugin suite Ajenti-V. Of course, you don\u2019t have to do any of this if you use one of our Linux VPS Hosting services<\/a>, in which case you can simply ask our expert Linux admins to install Ajenti for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n PS.<\/span> If you liked this post, please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":" Are you looking for a great alternative to Webmin, Kloxo and VestaCP? Well, search no more because Ajenti is an … <\/p>\n
\nYou will barely need to login to a command line interface either using Putty or Terminal if you have this control panel installed on your server.<\/p>\n# ssh root@hostname<\/pre>\n
# yum update -y\r\n# yum upgrade -y<\/pre>\n
\nEnter the following commands:<\/p>\n# wget http:\/\/download.fedoraproject.org\/pub\/epel\/6\/x86_64\/epel-release-6-8.noarch.rpm\r\n# rpm -ivh epel-release-6-8.noarch.rpm<\/pre>\n
# wget http:\/\/repo.ajenti.org\/ajenti-repo-1.0-1.noarch.rpm\r\n# rpm -i ajenti-repo-1.0-1.noarch.rpm<\/pre>\n
# yum install ajenti -y\r\n# service ajenti restart<\/pre>\n
\nBut since we also want to have Nginx, PHP-fpm, Exim, etc… we need to install the Ajenti V plugin suite.<\/p>\n
\nCurrently available packages include:<\/p>\najenti-v (main package)\r\najenti-v-mail (Exim and Courier mail)\r\najenti-v-mysql (MySQL DB support)\r\najenti-v-php-fpm (PHP support via PHP-FPM)\r\najenti-v-ruby-unicorn (Rails support via Unicorn)\r\najenti-v-ruby-puma (Rails support via Puma)\r\najenti-v-ftp-pureftpd (FTP support via PureFTPd)\r\najenti-v-nginx (NGINX webserver support)\r\najenti-v-python-gunicorn (Python WSGI support via gunicorn)\r\najenti-v-nodejs (Node.js support)<\/pre>\n
# yum remove httpd postfix sendmail<\/pre>\n
# yum install ajenti-v ajenti-v-nginx ajenti-v-mail ajenti-v-mysql ajenti-v-php-fpm php-mysql<\/pre>\n
# yum clean metadata<\/pre>\n
# yum install ajenti-v ajenti-v-nginx ajenti-v-mail ajenti-v-mysql ajenti-v-php-fpm php-mysql<\/pre>\n
# iptables -A INPUT -p tcp --dport 8000 -j ACCEPT<\/pre>\n
\nThe 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.
\nThe default username is root, and the password is admin.<\/p>\n