Huawei Cloud – Solution Architectures

Step 1 Creating an image

Service List > Image Management Service

Image description

Image description

Image description

Step 2 Applying the created image to a MySQL server

Image description

vim script.txt
Enter fullscreen mode
Exit fullscreen mode
#!/bin/bash
cd /root
yum install -y httpd php php-fpm php-server php-mysql
systemctl start httpd.service
systemctl start php-fpm.service
systemctl enable httpd.service
systemctl enable php-fpm.service
wget https://labfiles-singapore.obs.ap-southeast-3.myhuaweicloud.com/Discuzenglish.zip
unzip Discuzenglish.zip
mv root/Discuz/* /var/www/html
chmod -R 777 /var/www/html
systemctl restart httpd
Enter fullscreen mode
Exit fullscreen mode

Service List > Object Storage Service

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description


Discover more from Coursity

Subscribe to get the latest posts sent to your email.

Leave a Comment

Your email address will not be published. Required fields are marked *

Discover more from Coursity

Subscribe now to keep reading and get access to the full archive.

Continue reading

Scroll to Top
* add your javascript code here.