User Tools

Site Tools


сервис_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 [2017/07/04 09:46]
val
сервис_inetd [2024/05/05 18:35] (current)
val [Debian/Ubuntu]
Line 4: Line 4:
  
 ==== Debian/​Ubuntu ==== ==== Debian/​Ubuntu ====
 +
 +  * [[https://​serverfault.com/​questions/​389645/​ftp-tcp-server-failing-looping|ftp/​tcp server failing (looping)]]
 +
 <​code>​ <​code>​
 # apt install inetutils-inetd # apt install inetutils-inetd
 </​code>​ </​code>​
  
-==== FreeBSD ==== +
-<​code>​ +
-# cat /​etc/​rc.conf +
-</​code><​code>​ +
-... +
-inetd_enable=yes +
-</​code>​+
  
 ===== Настройка ==== ===== Настройка ====
Line 28: Line 25:
 #www stream tcp nowait user1 /​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 #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 ==== 
-<​code>​ 
-# cat /​etc/​inetd.conf 
-</​code><​code>​ 
-... 
-http stream tcp nowait root /​usr/​local/​sbin/​webd webd 
-#http stream tcp nowait user1 /​usr/​local/​sbin/​webd webd 
-#http stream tcp nowait root /​usr/​sbin/​chroot chroot /var/www/ /sbin/webd 
-</​code>​ 
  
 ===== Запуск ==== ===== Запуск ====
Line 47: Line 37:
 </​code>​ </​code>​
  
-==== FreeBSD ==== 
-<​code>​ 
-# service inetd start 
-</​code>​ 
  
сервис_inetd.1499150798.txt.gz · Last modified: 2017/07/04 09:46 by val