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
Copyright © 2013-2023 . All Rights Reserved. 宵云 版权所有 南通宵云网络科技有限公司
工信部备案:苏ICP备18049042号-2
公安部备案:苏公网安备 32060102320703号
《中华人民共和国增值电信业务经营许可证》经营性ICP/ISP/IDC三证:苏B1.B2-20210805