172.16.5.50 rpm -qa| grep keep 956 vim /etc/keepalived/keepalived.conf 957 systemctl restart keepalived.service 958 ip a 959 ip 960 ip a 961 ll 962 cat wordpress_hello80.conf 963 tail -f /var/log/nginx/w_80_ssl.access.log 964 ip a 965 systemctl stop keepalived.service 966 cd /etc/nginx/conf.d/ 967 ps aux | grep nfs 968 vim /etc/exports 969 systemctl restart nfs 970 ll/ 971 ll / 972 chown -R www.www /wordpress-1230/ 973 ll 974 ll / 975 vim wordpress_hello80.conf 976 yum install nfs-utils rpcbind -y 977 mkdir /wordpress-uploads 978 groupadd www -g 666 979 useradd www -s /sbin/nologin -M -u 666 -g 666 980 id www 981 chown -R www.www /wordpress-uploads/ 982 vim /etc/exports 983 systemctl restart rpcbind 984 systemctl restart nfs 985 showmount -e 172.16.5.50 986 nginx -t 987 nginx 988 ps aux | grep nginx 989 nginx -s reload 990 ps aux | grep nfs 991 showmount -e 172.16.5.50 992 vim /etc/exports 993 systemctl restart rpcbind 994 systemctl restart nfs 995 showmount -e 172.16.5.50 996 vim wordpress-1230 997 showmount -e 172.16.5.51 998 showmount -e 172.16.5.53 999 showmount -e 172.16.5.54 1000 showmount -e 172.16.5.52 1001 yum install keepalived -y 1002 vim wordpress_proxy.conf 1003 yum install keepalived -y 1004 cd /etc/keepalived/ 1005 vim /etc/keepalived/keepalived.conf 1006 systemctl restart keepalived.service 1007 vim /etc/keepalived/keepalived.conf 1008 systemctl restart keepalived.service 1009 tail -f /var/log/nginx/myweb.access.log 1010 cd /var/log/nginx 1011 ll 1012 vim access.log
172.16.5.52 yum install nfs-utils rpcbind -y 509 mount -t nfs 172.16.5.50:/wordpress-uploads /code/wordpress/wp-content/uploads 510 NGINX 511 nginx 512 ps aux | grep nfs 513 ps aux | grep nginx 514 systemctl restart rpcbind 515 systemctl restart nfs 516 history
172.16。5.53 yum install nfs-utils rpcbind -y 990 mount -t nfs 172.16.5.50:/wordpress-uploads /code/wordpress/wp-content/uploads 991 nginx -t 992 nginx 993 nginx -s reload 994 ps aux | grep nfs 995 ps aux | grep nginx 996 systemctl restart rpcbind 997 systemctl restart nfs