CentOS6.5部署Unison双向同步服务环境介绍:服务器IPServer1192.168.30.131Server2192.168.30.1321、添加主机互信:a、添加host文件(在Server1、Server2分别操作):[root@localhost~]#echo-e"192.168.30.131Server1\n192.168.30.132Server2">>/etc/hostsb、更改主机名(..
分类:
其他好文 时间:
2016-09-19 16:20:00
阅读次数:
188
环境介绍: 1、添加主机互信: a、添加host文件(在Server1、Server2分别操作): [root@localhost ~]#echo -e "192.168.30.131 Server1\n192.168.30.132 Server2" >> /etc/hosts b、更改主机名(在S ...
分类:
其他好文 时间:
2016-09-19 15:39:22
阅读次数:
196
Lvs实验环境:redhat6server1.example.com172.25.254.1server2.example.com172.25.254.2server3.example.com172.25.254.3在server1上添加虚拟IP:ipaddradd172.25.254.100/24deveth0ipvsadm-A-t172.25.254.100:80-srripvsadm-a-t172.25.254.100:80-r172.25.254.2:80-gipvsadm-a..
分类:
其他好文 时间:
2016-09-18 21:18:36
阅读次数:
137
Keepalived实验环境:server1.example.comserver2.example.comserver3.example.comserver4.example.comkeepalived:server1server4server端:server2server3安装包:keepalived-1.2.20.tar.gz解压进入编译:./configure—prefix=/usr/local/keepalived为了方便修改链接:ln-s/usr..
分类:
其他好文 时间:
2016-09-18 21:18:29
阅读次数:
101
DRBD节点1:Server1.example.com172.25.23.1节点2:Server2.example.com172.25.23.2VIP:172.25.23.100Selinux和iptables处于disabled状态redhat6.5版本一.安装drbd将源码做成rpm包并安装下载的安装包为drbd-8.4.2.tar.gz[root@server1~]#yuminstallrpm-build-y#做rpm包的工具..
分类:
其他好文 时间:
2016-09-18 15:44:49
阅读次数:
206
实验环境:物理机(访问测试):willis.example.com172.25.254.6varnish缓存端:server1.example.com172.25.254.1负载均衡端1:web1.example.com172.25.254.10负载均衡端2:web2.example.com172.25.254.20实验内容:1.解压安装包2.配置数据库信息3.安装varnish,http与php4.配置va..
分类:
其他好文 时间:
2016-09-18 15:39:47
阅读次数:
186
1. install vsftpd.(PS:procedure 1-4 under the circumstance that the firewall is closed and the iptables is inactive) 2.configurations about vsftpd. 3. ...
分类:
其他好文 时间:
2016-09-17 17:45:45
阅读次数:
169
实验环境:RHEL7.0server1.example.com172.25.254.1实验内容:1.准备2.安装3.配置4.添加https5.虚拟主机6.<<nginx监控小插件>>网站信息统计7.网页重写(自动转换到HTTPS)源码包:nginx-1.9.14.tar.gz1.准备[root@server1~]#yumremovehttpd[root@server1~]#yuminst..
分类:
其他好文 时间:
2016-09-11 15:45:26
阅读次数:
267
LAMP架构:Lnux+Apache+Mysql+Php实验环境:RHEL7.0server1.example.com172.25.254.6实验内容:1.Linux环境配置2.Apache环境3.php环境4.Mysql环境5.论坛搭建测试论坛安装包:Discuz_X3.2_SC_UTF8.zip1.Linux环境[root@server1~]#systemctlstopfirewalld###关火墙[root@server1~..
分类:
Web程序 时间:
2016-09-11 15:40:50
阅读次数:
306
三、LVS Keppalived的安装 3.1、环境描述 LVS server1 (Master):10.0.0.202 虚拟IP为:10.0.0.210 LVS server2 ( Slave ) :10.0.0.203虚拟IP为:10.0.0.210 WEB server1: 10.0.0.20 ...
分类:
其他好文 时间:
2016-09-10 14:29:51
阅读次数:
310