This image is a CentOS 7.x installation with MariaDB Server Database.
You can also activate the Apache Web Server (already installed) to get a LAMP Server (Linux, Apache MySQL, PHP) with two commands:
- systemctl enable httpd
- systemctl start httpd
There is a PhpMyAdmin control panel from which you can manage the MySQL server. Further configuration is required to use it, as described in the next section.
Fail2ban is available on all CentOS templates. See the tutorial
for further details.
It can be accessed through SSH with a root username and password.
To enable PhpMyAdmin you need to edit the /etc/httpd/conf.d/phpMyAdmin.conf file, replacing every instance of 127.0.0.1 with all the public IPs from which you would like to authorize access.
You can then launch the service as described above, or re-launch it using the systemctl restart httpd command if it has been launched before.
The link for accessing PhpMyAdmin is http://IPDELSERVER/phpmyadmin
For example: if the server's IP address is 18.104.22.168 you will need to log in via your browser with the address http://22.214.171.124/phpmyadmin.
The image has an active iptables firewall that is configured to only accept SSH (port 22) and HTTP (port 80) connections.