Ajenti is an admin's tool for a more civilized age, providing you with a fast and secure way to manage a remote Linux box at any time using everyday tools like a web terminal, text editor, file manager, and others. This free alternative to CPanel is more easy to use and can run on many OS's (CPanel only runs on CentOS, which is one of the hardest servers to configure/manage).
For this script we assume the client is using a brand new Ubuntu 18.04 machine
#!/bin/bash # Update + Upgrade sudo apt-get update && sudo apt-get upgrade -y # Installing Ajenti wget http://repo.ajenti.org/debian/key -O- | sudo apt-key add - sudo echo "deb http://repo.ajenti.org/ng/debian main main ubuntu" >> /etc/apt/sources.list sudo apt-get update sudo apt-get install ajenti software-properties-common -y # Installing PHP7.3 sudo add-apt-repository ppa:ondrej/php -y sudo apt-get update sudo apt-get install php7.3-fpm php7.3-mysql php7.3-gd php7.3-xml php7.3-cli php7.3-curl php7.3-mbstring -y # Installing AjentiV sudo apt-get install ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php7.3-fpm ajenti-v-ftp-pureftpd courier-pop -y # Restart All Services sudo service php7.3-fpm restart sudo service nginx restart sudo service ajenti restart # Install mail sudo apt-get install ajenti-v-mail -y
In the mid-installation you will be prompted to set a MySQL root password. Set a secure one and save the password in a safe place.
For the post installation you need to go to the server IP address on port 8000, for example http://184.108.40.206:8000. On the browser you will see the Ajenti login, the default login is:
Username: root Password: admin
Once you are logged in, you have to:
service ajentiv restart)