It is recommended to try Tencent Cloud first (it’s free anyway)
Command line installation
1. Build mysql database
yum install mysql-server -y service mysqld restart /usr/bin/mysqladmin -u root password 'AAAAAA'
Copy after login
2. Install Apache service
yum install httpd -y service httpd start
Copy after login
3. Install PHP
yum install php php-mysql -y
Copy after login
4. Check whether the installation is Success
<?php phpinfo(); ?> service httpd restart
Copy after login