公有云操作
discuz
创建rds
创建ecs
crt
yum install -y httpd php php-fpm php-server php-mysql mysql
systemctl start httpd php-fpm
上传discuz
unzip Discuz_X3.4_SC_UTF8_20230315.zip
cp -R upload/* /var/www/html/
chmod -R 777 /var/www/html
本地windows浏览器里输入地址:http://弹性IP地址/install
内网IP
访问验证
http://弹性IP地址/index.php
wordpress
创建rds
创建ecs
crt
yum install -y httpd php php-fpm php-mysql mysql
vim /etc/httpd/conf/httpd.conf “shift+g” 末尾写 ServerName localhost:80
上传 wordpress
tar xzf wordpress-4.9.1-zh_CN.tar.gz -C /var/www/html
chmod -R 777 /var/www/html
systemctl start httpd.service
systemctl start php-fpm.service
systemctl status httpd
systemctl status php-fpm
systemctl enable httpd
systemctl enable php-fpm
登录rds
执行 create database wordpress;
http://ECSIP/wordpress
数据库主机 为rds IP
http://ECSIP/wordpress/wp-login.php
http://ECSIP/wordpress/
- 点赞
- 收藏
- 关注作者
评论(0)