In addition to the package installation, the 1-Click also:
a)- Enables the UFW firewall to allow only SSH (port 22
, rate limited), HTTP (port 80
), and HTTPS (port 443
) access.
b)- Sets the MySQL root password and runs mysql_secure_installation
.
c)- Sets up the debian-sys-maint
user in MySQL so the system’s init scripts for MySQL will work without requiring the MySQL root
user password.
After you create a LAMP One-Click VM:
1- You can view the LAMP instance immediately by visiting the VM’s IP address in your browser.
2- You can log into the VM as root
using either the password emailed to you or with an SSH key, if you added one during creation.
3- The MySQL root password is in /root/.truevision_password
.
4- The web root is /var/www/html
.
5- You can get information about the PHP installation by logging into the VM and running php -i
.