2003-07-31 08:56:25 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of <application>ProFTPD</application></title>
|
|
|
|
|
|
|
|
<para>For security reasons, running <application>ProFTPD</application>
|
2003-10-04 00:43:11 +08:00
|
|
|
as an unprivileged user and group is encouraged.</para>
|
2003-07-31 08:56:25 +08:00
|
|
|
|
2003-09-28 02:46:10 +08:00
|
|
|
<screen><userinput><command>groupadd proftpd &&
|
2003-10-20 22:16:24 +08:00
|
|
|
useradd -c proftpd -d /home/ftp -g proftpd -s /bin/false proftpd</command>
|
2003-09-28 02:46:10 +08:00
|
|
|
</userinput></screen>
|
2003-07-31 08:56:25 +08:00
|
|
|
|
2003-09-28 02:46:10 +08:00
|
|
|
<para>Install <application>ProFTPD</application> by running the following commands:</para>
|
2003-07-31 08:56:25 +08:00
|
|
|
|
2003-09-28 02:46:10 +08:00
|
|
|
<screen><userinput><command>install_user=proftpd install_group=proftpd \
|
2003-07-31 08:56:25 +08:00
|
|
|
./configure --prefix=/usr --sysconfdir=/etc \
|
2004-02-20 04:19:18 +08:00
|
|
|
--localstatedir=/var/run &&
|
2003-07-31 08:56:25 +08:00
|
|
|
make &&
|
2003-09-28 02:46:10 +08:00
|
|
|
make install </command></userinput></screen>
|
2003-07-31 08:56:25 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|