集群架构

keepalived +nfs

cat /etc/hosts 172.16.8.20 fs1 172.16.8.21 fs2 172.16.8.22 fs 1、安装服务 yum -y install keepalived yum install nfs-utils rpcbind -y net.ipv4.ip_forward=1 net.ipv4.conf.all.rp_filter=0 n...

Sersync+Rsync互相实时同步

1、关闭selinux 2、防火墙(iptables、Firewalld)放行873端口(默认) 3、安装Rsync服务 yum install rsync -y useradd -r -s /sbin/nologin rsync -M cat > /etc/rsyncd.conf <<EOF uid = rsync...

详解FTP

cd /usr/local/src wget http://luopengtest.gotoip2.com/shell/lnmp/pure-ftpd-1.0.47.tar.gz tar xzf pure-ftpd-1.0.47.tar.gz cd pure-ftpd-1.0.47 ./configure --prefix=/usr/local/pureftpd #安装目录 ...

详解PHP

检查安装基本组件库 yum install -y zlib-devel libxml2-devel libjpeg-devel libjpeg-turbo-devel libiconv-devel yum install -y freetype-devel libpng-devel gd-devel libcurl-devel libxslt-devel icu lib...

详解MYSQL

安装基本组件库 yum -y install gcc-c++ perl ncurses ncurses-devel libaio numactl numactl-libs perl-Module-Install.noarch net-tools vim wget mysql 1、创建mysql普通用户 id -u mysql >/dev/null 2...

详解NGINX

1、检查nginx基本依赖包是否安装pcre-devel openssl-devel rpm -qa pcre-devel pcre rpm -qa openssl-devel openssl 若没有执行以下命令安装 yum -y install pcre-devel pcre yum -y openssl-devel openssl ...