上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 280 下一页
摘要: 服务器端 >>客户端 1. 服务器端 [root@allentuns ~]# ifconfig |grep "Bcast" inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0 [root@allentuns ~]# cd /web 阅读全文
posted @ 2019-08-09 15:42 樊伟胜 阅读(1607) 评论(0) 推荐(0) 编辑
摘要: 1. 安装 showmount [root@allentuns ~]# yum -y install showmount 2. 查看服务器共享 [root@allentuns ~]# showmount -e 192.168.1.4 Export list for 192.168.1.4: /web 阅读全文
posted @ 2019-08-09 15:31 樊伟胜 阅读(4361) 评论(0) 推荐(0) 编辑
摘要: 1. 安装 nfs 服务 [root@allentuns ~]# yum -y install nfs-utils rpcbind 2. 启动 nfs 服务 [root@allentuns ~]# /etc/init.d/rpcbind start Starting rpcbind: [ OK ] 阅读全文
posted @ 2019-08-09 15:30 樊伟胜 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 关闭 iptables 和 selinux [root@allentuns ~]# service iptables stop [root@allentuns ~]# chkconfig iptables off [root@allentuns ~]# service iptables status 阅读全文
posted @ 2019-08-09 15:29 樊伟胜 阅读(97) 评论(0) 推荐(0) 编辑
摘要: Sersync 的可选功能是通过 xml 配置文件来实现的,下面来为大家解释该文件! 在该文件中,使用<!--中间是注释内容-->的方式去注释信息,注意不是我们平时# [root@SERSYNC sersync]# cat conf/confxml.xml -n 1<?xml version="1. 阅读全文
posted @ 2019-08-09 15:28 樊伟胜 阅读(1172) 评论(0) 推荐(0) 编辑
摘要: [root@SERSYNC web]# for i in {1..10000};do echo 123456 > /data/web/$i &>/dev/null;do ne [root@SERSYNC web]# for i in {1..10000};do echo 123456 > /data 阅读全文
posted @ 2019-08-09 15:27 樊伟胜 阅读(226) 评论(0) 推荐(0) 编辑
摘要: a、配置 Sersync 环境变量 [root@SERSYNC sersync]# echo 'export PATH=$PATH:/usr/local/sersync/bin'>>/etc/profile [root@SERSYNC sersync]# tail -1 /etc/profile e 阅读全文
posted @ 2019-08-09 15:26 樊伟胜 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 上面的工作做好之后呢,下面就开始正式配置我们的 Sersync 了! 我们在 Sersync 安装过程中所用到包均是从谷歌 Sersync 项目组取得的,地址: https://code.google.com/p/sersync/downloads/list 这里,我所用的将是这个 sersync2 阅读全文
posted @ 2019-08-09 15:25 樊伟胜 阅读(214) 评论(0) 推荐(0) 编辑
摘要: [root@SERSYNC sersync]# cp conf/confxml.xml conf/confxml.xml.bak.$(date +%F) [root@SERSYNC sersync]# ls bin conf logs [root@SERSYNC sersync]# ls conf/ 阅读全文
posted @ 2019-08-09 15:25 樊伟胜 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 1、安装 Rsync 并配置相关权限 在 SERSYNC 上配置 RSYNC 客户端相关权限认证: [root@SERSYNC /]# yum install rsync -y [root@SERSYNC /]# echo "redhat" > /etc/rsync.password [root@S 阅读全文
posted @ 2019-08-09 15:15 樊伟胜 阅读(143) 评论(0) 推荐(0) 编辑
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 280 下一页