This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
сервис_inetd [2012/03/27 13:27] val |
сервис_inetd [2016/08/01 12:00] val [Ubuntu 14, 16] |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Установка ===== | ===== Установка ===== | ||
- | ==== Ubuntu ==== | + | ==== Ubuntu 14,16 ==== |
+ | <code> | ||
+ | # apt install inetutils-inetd | ||
+ | </code> | ||
+ | |||
+ | ==== Ubuntu 12 ==== | ||
<code> | <code> | ||
- | apt-get install openbsd-inetd | + | # apt-get install openbsd-inetd |
</code> | </code> | ||
Line 18: | Line 23: | ||
===== Настройка ==== | ===== Настройка ==== | ||
- | [[Средства программирования shell#Web свервер на shell]] | + | [[Средства программирования shell#Web сервер на shell]] |
==== Ubuntu ==== | ==== Ubuntu ==== | ||
Line 26: | Line 31: | ||
... | ... | ||
www stream tcp nowait root /usr/local/sbin/webd webd | www stream tcp nowait root /usr/local/sbin/webd webd | ||
+ | #www stream tcp nowait user1 /usr/local/sbin/webd webd | ||
</code> | </code> | ||
Line 34: | Line 40: | ||
... | ... | ||
http stream tcp nowait root /usr/local/sbin/webd webd | http stream tcp nowait root /usr/local/sbin/webd webd | ||
+ | #http stream tcp nowait user1 /usr/local/sbin/webd webd | ||
</code> | </code> | ||
===== Запуск ==== | ===== Запуск ==== | ||
- | ==== Ubuntu ==== | + | ==== Ubuntu 14,16 ==== |
+ | <code> | ||
+ | # service inetutils-inetd start | ||
+ | </code> | ||
+ | |||
+ | ==== Ubuntu 12 ==== | ||
<code> | <code> | ||
# /etc/init.d/openbsd-inetd restart | # /etc/init.d/openbsd-inetd restart |