iT邦幫忙

2

xinetd.conf和rsync相關設定說明

xinetd.conf可以說是預設值的設定檔。假設這邊啟動了rsync服務,但是在rsync此服務並沒有特別去設定參數,因此在設定值部份就會以xinetd.conf為主。

以下是預設定xinetd.conf
[root@localhost ~]# vim /etc/xinetd.conf
defaults
{

The next two items are intended to be a quick access place to

temporarily enable or disable services.

enabled = #啟用

disabled = #禁用

Define general logging characteristics.

log_type = SYSLOG daemon info #登錄檔的記錄服務類型
log_on_failure = HOST #發生錯誤時需要記錄的資訊為主機 (HOST)
log_on_success = PID HOST DURATION EXIT #成功啟動或登入時的記錄資訊

Define access restriction defaults

no_access =

only_from =

max_load = 0

cps = 50 10 #同一秒內最大連線數為 50 個,超過則暫停 10 秒
instances = 50 #同一服務的最大同時連線數
per_source = 10 # 同一來源的用戶端的最大連線數

Address and networking defaults

bind =

mdns = yes

v6only = no #是否僅允許 IPv6

setup environmental attributes

passenv =

groups = yes
umask = 002

Generally, banners are not used. This sets up their global defaults

banner =

banner_fail =

banner_success =

}
includedir /etc/xinetd.d #在/etc/xinetd.d會有更多的設定值

詳細內容請參考http://blog.faq-book.com/?p=3344


圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言