基于LAMP 搭建
下载 DISCUZ包 并解压 unzip ***.zip文件
[root@localhost ~]# yum list | grep httpd
[root@localhost ~]# yum install -y httpd.x86_64
[root@localhost ~]# yum install -y mariadb-server.x86_64
[root@localhost html]# yum install -y php.x86_64
[root@localhost html]# yum install -y php-mysql
[root@localhost dir_SC_UTF8]# cp upload/ /var/www/html/ -rf ### -rf 完全拷贝目录及子目录所有
[root@localhost ~]# cd /var/www/html/
[root@localhost html]# chmod 777 upload/ -Rf 完全授权
启动 Httpd mariadb