“LAMP服务器”的版本间的差异
来自CloudWiki
15254041717(讨论 | 贡献) (→启动服务并设置开机自启) |
15254041717(讨论 | 贡献) (→启动服务并设置开机自启) |
||
第11行: | 第11行: | ||
===启动服务并设置开机自启=== | ===启动服务并设置开机自启=== | ||
− | '''<nowiki>systemctl restart mariadb</nowiki> | + | '''<nowiki>systemctl restart mariadb</nowiki>''' |
− | <nowiki>systemctl restart httpd</nowiki> | + | '''<nowiki>systemctl restart httpd</nowiki>''' |
− | <nowiki>systemctl enable mariadb</nowiki> | + | '''<nowiki>systemctl enable mariadb</nowiki>''' |
− | <nowiki>systemctl enable httpd</nowiki>''' | + | '''<nowiki>systemctl enable httpd</nowiki>''' |
===上传论坛压缩包=== | ===上传论坛压缩包=== | ||
===设置权限=== | ===设置权限=== | ||
===登录网址进行论坛安装=== | ===登录网址进行论坛安装=== |
2020年9月15日 (二) 03:53的版本
安装模板
安装mariadb
yum install mariadb* -y
安装php支持模板
yum install php php-mysql -y
启动服务并设置开机自启
systemctl restart mariadb systemctl restart httpd systemctl enable mariadb systemctl enable httpd