摘要: 192.168.3.222 nginx+php 略 192.168.3.22 mariadb 略 192.168.3.21 proxy_nginx 21host:安装nginx [root@localhost conf.d]# cat /etc/nginx/proxy_params proxy_se 阅读全文
posted @ 2020-03-15 19:56 Le1543 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 安装ufs 两主机均安装 yum install rpcbind nfs-utils -y systemctl restart nfs systemctl enable nfs nfs host mkdir /nfs chmod 777 /nfs echo '/data/nfs *(rw,sync, 阅读全文
posted @ 2020-03-15 13:08 Le1543 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 打包数据库 mysqldump -uroot -p --all-databases --single-transaction > `date +%F-%R`_mysql_alldatabases.sql //--all-databases所有库 --single-transaction 数据一致性( 阅读全文
posted @ 2020-03-15 13:06 Le1543 阅读(97) 评论(0) 推荐(0) 编辑
摘要: lnmp略 /etc/nginx/conf.d/default.conf server { listen 80; server_name localhost; root /usr/share/nginx/html/wordpress; index index.php; location ~ \.ph 阅读全文
posted @ 2020-03-15 12:53 Le1543 阅读(80) 评论(0) 推荐(0) 编辑