root@vz5534:~# apt-get install proftpdReading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'proftpd-basic' instead of 'proftpd'
Suggested packages:
proftpd-doc proftpd-mod-mysql proftpd-mod-pgsql proftpd-mod-ldap
proftpd-mod-odbc proftpd-mod-sqlite
The following NEW packages will be installed:
proftpd-basic
0 upgraded, 1 newly installed, 0 to remove and 71 not upgraded.
Need to get 2329 kB of archives.
After this operation, 3994 kB of additional disk space will be used.
Get:1 [URL]http://ftp.debian.org/debian/[/URL] squeeze/main proftpd-basic i386 1.3.3a-6squeeze4 [2329 kB]
Fetched 2329 kB in 1s (1551 kB/s)
Preconfiguring packages ...
Selecting previously deselected package proftpd-basic.
(Reading database ... 31671 files and directories currently installed.)
Unpacking proftpd-basic (from .../proftpd-basic_1.3.3a-6squeeze4_i386.deb) ...
Setting up proftpd-basic (1.3.3a-6squeeze4) ...
grep: /etc/inetd.conf: No such file or directory
Warning: The home dir /var/run/proftpd you specified can't be accessed: No such file or directory
Adding system user `proftpd' (UID 106) ...
Adding new user `proftpd' (UID 106) with group `nogroup' ...
Not creating home directory `/var/run/proftpd'.
Adding system user `ftp' (UID 107) ...
Adding new user `ftp' (UID 107) with group `nogroup' ...
Creating home directory `/home/ftp' ...
`/usr/share/proftpd/templates/welcome.msg' -> `/home/ftp/welcome.msg.proftpd-new'
insserv: Script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: missing `Default-Stop:' entry: please add even if empty.
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `jexec'
Starting ftp server: proftpd.
root@vz5534:~# /etc/init.d/proftpd stop
Stopping ftp server: proftpd.
root@vz5534:~# mkdir /etc/proftpd
mkdir: cannot create directory `/etc/proftpd': File exists
root@vz5534:~# proftpd.conf
-bash: proftpd.conf: command not found
root@vz5534:~# /etc/init.d/proftpd start
Starting ftp server: proftpd.
root@vz5534:~# /etc/init.d/proftpd stop
Stopping ftp server: proftpd.
root@vz5534:~# /etc/proftd.conf
-bash: /etc/proftd.conf: No such file or directory
root@vz5534:~# /usr/local/etc/proftpd.conf
-bash: /usr/local/etc/proftpd.conf: No such file or directory
root@vz5534:~#
Prostota. Wszystko jest proste jak się zna co i gdzie wpisać.
Zobaczysz. Kilkanaście minut poświęcisz konfiguracji i już będziesz pamiętał pół życia.
Po każdej zmianie w konfigu wykonaj reset demona proftpd.
Z taka wiedzą to ja bym się za serwer nie brał, bo następnego dnia już tego serwera może nie być. 0 pojęcia. Naucz się może podstaw, a potem bierz się za serwer!