[root@cs2 ~]# yum -y install mariadb mariadb-server php* httpd gcc*
[root@cs1 ~]# systemctl restart mariadb httpd php-fpm
[root@linux5 ~]# systemctl enable mariadb httpd php-fpm
[root@cs1 ~]# tar -zxf wordpress-6.0.1-zh_CN.tar.gz -C /var/www/html
[root@cs1 ~]# mysql -uroot
MariaDB [(none)]> create database wordpress;
MariaDB [(none)]> grant all on wordpress.* to xiao@'%' identified by 'Pass-1234';
MariaDB [(none)]> create database userdb character set utf8;
MariaDB [(none)]> use userdb;
MariaDB [userdb]> create table userinfo (id int PRIMARY KEY AUTO_INCREMENT,name varchar(10),birthday datetime,sex char(8),password char(200));
MariaDB [userdb]> insert into userinfo values(1,'user1','2005-8-1','男',password('user1'));
Query OK, 1 row affected (0.003 sec)
MariaDB [userdb]> insert into userinfo values(2,'user2',&#