This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
сервис_xinetd [2017/11/29 14:46] val [Установка] |
сервис_xinetd [2020/07/20 07:04] val [Настройка] |
||
---|---|---|---|
Line 12: | Line 12: | ||
===== Настройка ==== | ===== Настройка ==== | ||
+ | |||
+ | * [[Средства программирования shell#Web сервер на shell]] | ||
+ | |||
<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 29: | Line 33: | ||
# 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> |