This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
сервис_xinetd [2017/11/14 09:40] val [Настройка] |
сервис_xinetd [2020/07/20 07:03] val [Настройка] |
||
---|---|---|---|
Line 5: | Line 5: | ||
<code> | <code> | ||
# apt install xinetd | # apt install xinetd | ||
+ | |||
+ | # yum install xinetd | ||
# pkg install xinetd | # pkg install xinetd | ||
Line 11: | Line 13: | ||
===== Настройка ==== | ===== Настройка ==== | ||
<code> | <code> | ||
- | # cat /etc/inetd.conf | + | # less /etc/xinetd.conf |
# cat /etc/xinetd.d/www | # cat /etc/xinetd.d/www | ||
</code><code> | </code><code> | ||
service www | service www | ||
+ | #service http-alt | ||
{ | { | ||
# disable = yes | # disable = yes | ||
Line 27: | Line 30: | ||
# server = /usr/sbin/chroot | # server = /usr/sbin/chroot | ||
# server_args = /var/www/ /sbin/webd | # server_args = /var/www/ /sbin/webd | ||
+ | |||
+ | # server = /usr/bin/runcon | ||
+ | # server_args = -t inetd_child_t -r system_r -u system_u /usr/local/sbin/webd | ||
+ | |||
} | } | ||
</code> | </code> |