信风
| 分类 linux | 一、在cs2、cs3、cs4上安装httpd [root@cs2 ~]# yum install httpd [root@cs3 ~]# yum install httpd [root@cs4 ~]# yum install httpd 二、在cs3、cs4上安装php和php-mysql [root@cs3 ~]# yum install php [root@cs3 ~]# yum install php-mysql [root@cs4 ~]# yum install php [root@cs4 ~]# yum install php-mysql 三、在cs5上安装mysql [root@cs5 ~]# yum install mariadb-server 四、在cs5上给dz论坛创建数据库 [root@cs5 ~]# systemctl start mariadb [root@cs5 ~]# mysql #创建一个discuz用的数据库,库名叫dz MariaDB [(none)]> create database dz; #创建并授权账号dzadmin密码123321给dz库,授权范围为全网 MariaDB [(none)]> grant all privileges on dz.* to dzadmin@'%' identified by