сервис_inetd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
сервис_inetd [2012/03/27 13:25]
val
сервис_inetd [2024/05/05 18:35]
val [Debian/Ubuntu]
Line 3: Line 3:
 ===== Установка ===== ===== Установка =====
  
-==== Ubuntu ==== +==== Debian/Ubuntu ==== 
-<​code>​ + 
-apt-get install openbsd-inetd +  * [[https://​serverfault.com/​questions/​389645/​ftp-tcp-server-failing-looping|ftp/tcp server failing (looping)]]
-</code>+
  
-==== FreeBSD ==== 
 <​code>​ <​code>​
-cat /​etc/​rc.conf +apt install inetutils-inetd
-</​code><​code>​ +
-... +
-inetd_enable=yes+
 </​code>​ </​code>​
 +
 +
  
 ===== Настройка ==== ===== Настройка ====
  
-[[Средства программирования shell#Web свервер на shell]]+[[Средства программирования shell#Web сервер на shell]]
  
-==== Ubuntu ====+==== Debian/Ubuntu ====
 <​code>​ <​code>​
 # cat /​etc/​inetd.conf # cat /​etc/​inetd.conf
Line 26: Line 23:
 ... ...
 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
 +#www stream tcp nowait root /​usr/​sbin/​chroot chroot /var/www/ /sbin/webd
 +
 +#82 stream tcp nowait root /​usr/​local/​sbin/​webd webd
 </​code>​ </​code>​
  
-==== FreeBSD ​====+ 
 +===== Запуск ==== 
 + 
 +==== Debian/​Ubuntu ​====
 <​code>​ <​code>​
-cat /etc/inetd.conf +service inetutils-inetd restart
-</​code><​code>​ +
-... +
-http stream tcp nowait root /​usr/​local/​sbin/​webd webd+
 </​code>​ </​code>​
 +
  
сервис_inetd.txt · Last modified: 2024/05/05 18:35 by val