Ftp: Difference between revisions
From KlavoWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
To install a | To install a FTP server use the following commands. | ||
= Installation = | |||
== Linux == | |||
<pre> | |||
yum -y install vsftpd | |||
systemctl enable vsftpd | |||
systemctl start vsftpd | |||
</pre> | |||
== Debian == | |||
<pre> | <pre> | ||
apt-get -y install vsftpd | |||
</pre> | </pre> | ||
A folder is created at '''/ | = Logging = | ||
A folder is created at '''/var/ftp/''' which contains the location for FTPing.<br><br> | |||
To enable logging edit '''/etc/vsftpd/vsftpd.conf''' | |||
<pre> | |||
# Activate logging of uploads/downloads. | |||
xferlog_enable=YES | |||
</pre> | |||
[[Category : Linux]] | [[Category : Linux]] |
Latest revision as of 02:28, 7 September 2015
To install a FTP server use the following commands.
Installation
Linux
yum -y install vsftpd systemctl enable vsftpd systemctl start vsftpd
Debian
apt-get -y install vsftpd
Logging
A folder is created at /var/ftp/ which contains the location for FTPing.
To enable logging edit /etc/vsftpd/vsftpd.conf
# Activate logging of uploads/downloads. xferlog_enable=YES