上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 280 下一页
摘要: [root@rsync-server-1 /]# rsync --daemon 阅读全文
posted @ 2019-08-09 14:08 樊伟胜 阅读(1073) 评论(0) 推荐(0) 编辑
摘要: [root@rsync-server-1 /]# echo 'rsync_backup:redhat' > /etc/rsync.password [root@rsync-server-1 /]# echo 'rsync_backup:redhat' > /etc/rsync.password [r 阅读全文
posted @ 2019-08-09 14:07 樊伟胜 阅读(260) 评论(0) 推荐(0) 编辑
摘要: [root@rsync-server-1 ~]# mkdir /data/{web,web_data}/redhat.sx -p [root@rsync-server-1 ~]# tree /data /data ├── web_data │ └── redhat.sx └── web └── re 阅读全文
posted @ 2019-08-09 14:06 樊伟胜 阅读(149) 评论(0) 推荐(0) 编辑
摘要: [root@rsync-server-1 ~]# cat > /etc/rsyncd.conf << EOF #Rsync server #created by sunsky 00:17 2013-06-28 ##rsyncd.conf start## uid = root # rsync 对后面模 阅读全文
posted @ 2019-08-09 14:05 樊伟胜 阅读(1148) 评论(0) 推荐(0) 编辑
摘要: 首先要选择服务器启动方式: l 对于负荷较重的 rsync 服务器应该选择独立运行方式 l 对于负荷较轻的 rsync 服务器应该选择 xinetd 运行方式 l 创建配置文件 rsyncd.conf l 对于非匿名访问 rsync 服务器还要创建认证口令文件 首先要选择服务器启动方式: l 对于负 阅读全文
posted @ 2019-08-09 14:01 樊伟胜 阅读(600) 评论(0) 推荐(0) 编辑
摘要: Rsync+Inotify-tools (1):Inotify-tools 只能记录下被监听的目录发生了变化(包括增加、删除、修改),并没有 把具体是哪个文件或者哪个目录发生了变化记录下来; (2):rsync 在同步的时候,并不知道具体是哪个文件或者哪个目录发生了变化,每次都是对整 个目录进行同步 阅读全文
posted @ 2019-08-09 13:59 樊伟胜 阅读(148) 评论(0) 推荐(0) 编辑
摘要: sysctl 变量修改方法:sysctl –a 使用 sysctl 命令修改系统变量,和通过编辑 sysctl.conf 文件来修改系统变量两种。但并不是所有的 变量都可以在这个模式下设定。 注:sysctl 变量的设置通常是字符串、数字或者布尔型。 (布尔型用 1 来表示'yes',用 0 来表示 阅读全文
posted @ 2019-08-09 13:58 樊伟胜 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 具体的 options 含义以及简单示例可以参考以下表格。 选项 含义 例子 -H 设置硬资源限制,一旦设置不能增加。 ulimit – Hs 64;限制硬资源,线程栈大小为 64K。 -S 设置软资源限制,设置后可以增加, ulimit – Sn 32;限制软资源,32 个文件描述符。 具体的 o 阅读全文
posted @ 2019-08-09 13:57 樊伟胜 阅读(166) 评论(0) 推荐(0) 编辑
摘要: [root@eric ~]# vi /etc/profile alias grep='grep --color=auto' [root@eric ~]# source /etc/profile [root@eric ~]# vi /etc/profile alias grep='grep --col 阅读全文
posted @ 2019-08-08 16:58 樊伟胜 阅读(1824) 评论(0) 推荐(0) 编辑
摘要: #find /var/spool/clientmqueue/ -type -f |xargs rm -f 阅读全文
posted @ 2019-08-08 16:56 樊伟胜 阅读(431) 评论(0) 推荐(0) 编辑
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 280 下一页