温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

FreeSwitch+Opensips集群 安装配置操作指导

发布时间:2020-08-13 23:18:36 来源:ITPUB博客 阅读:218 作者:aicce776 栏目:建站服务器

1.1.1  rsync安装

服务端与客户端都需要安装 rsync

安装命令:

yum install rsync

1.1.2  rsync 服务端配置

步骤 1:生成并编辑配置文件rsyncd.conf

#touch /etc/rsyncd.conf    #生成rsync的配置文件

 

#vi /etc/rsyncd.conf   

 

具体内容如下所示(需要手动输入):

secrets file = /etc/rsyncd.secrets

read only = yes

list = yes

uid = root

gid = root  

hosts allow = 10.3.4.219   #客户端IP地址,多个以空格分开

#hosts deny = 10.4.5.0/24

use chroot = no

max connections = 10

log file = /var/log/rsyncd.log

pid file = /var/run/rsyncd.pid

lock file = /var/run/rsync.lock

charset=GBK

 

[rsyncd]  

comment = pag's directory       #自己添加说明

path = /home/test               #要同步的目录

auth users = rsync              #使用的用户

secrets file = /etc/rsyncd.secrets

 

步骤 2:生成验证文件

# echo "rsync:rsync" > /etc/rsyncd.secrets   rsync:rsync为用户和密码,格式为user:passwd)

#  chown  root:root  /etc/rsyncd.secrets


向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI