首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

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

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

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

  • 发表于:
  • 原文链接https://page.om.qq.com/page/OZCIOVGBMfMrozQUqD70V_0w0
  • 腾讯「腾讯云开发者社区」是腾讯内容开放平台帐号(企鹅号)传播渠道之一,根据《腾讯内容开放平台服务协议》转载发布内容。
  • 如有侵权,请联系 cloudcommunity@tencent.com 删除。

扫码

添加站长 进交流群

领取专属 10元无门槛券

私享最新 技术干货

扫码加入开发者社群
领券