设为首页 加入收藏

TOP

通过xinetd服务管理 rsync 实现开机自启动
2017-10-11 13:56:31 】 浏览:9237
Tags:通过 xinetd 服务 管理 rsync 实现 开机 启动

1.1 xinetd服务配置

1.1.1 检查xinetd服务是否安装

[root@backup ~]# rpm -qa xinetd

[root@backup ~]# rpm -ql xinetd

package xinetd is not installed

1.1.2 安装xinetd服务

[root@backup ~]# yum install xinetd -y

[root@backup ~]# rpm -qa xinetd

xinetd-2.3.14-40.el6.x86_64

1.2 修改/etc/xinetd.d/rsync文件,使其随xinetd启动而启动

vim /etc/xinetd.d/rsync

 

......disable = yes 修改为 disable = no

 

disable = no

使用命令修改(centos6.x

sed -i  's#yes#no#g' /etc/xinetd.d/rsync

1.3 重启系统发现873端口交由xinetd管理

[root@backup ~]# netstat -lntup |grep 873

tcp        0      0 :::873                      :::*                        LISTEN      1229/xinetd   

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇CentOS7.3下部署Rsyslog+LogAnaly.. 下一篇NFS启动时报错Linux NFS:could no..

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目