
Linux运维
文章平均质量分 57
hello-world2016
热爱Linux和开源, 喜欢编程,看书, 听音乐 和篮球。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
源码安装Nginx
1.下载好源码:http://nginx.org/en/download.html 2.安装相应的编译环境:gcc, openssl-devl, pcre-devel和zlib-devel 3.配置:./configure --prefix=/opt/nginx1.2 --with-http_stub_status_module 3.make 4.sudo make install原创 2013-03-07 16:31:53 · 1112 阅读 · 0 评论 -
架设rsync服务器
1.服务器端,设置(或添加)文件:/etc/rsyncd.conf,内容如下: uid = nobody gid = nobody use chroot = no max connections = 10 strict modes = yes pid file = /var/run/rsyncd.pid lock file = /var/run/rsync.lock log fil原创 2013-03-08 09:36:18 · 1137 阅读 · 0 评论 -
rsync+inotify 配置实时同步服务器
1.安装inofity-tools工具及rsync在服务器上(注意是服务器,即被备份的系统上),安装rsync在客户端上(即备份系统上,存储服务器的备份文件) 2.在客户端上配置:/etc/rsyncd.conf文件,内容如下: uid = nobody gid = nobody use chroot = no max connections = 10 strict modes = yes p原创 2013-03-08 11:10:33 · 1476 阅读 · 0 评论