Ftp: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
To install a TFTP server use the following commands.
To install a FTP server use the following commands.


= Installation =
= Installation =
Line 5: Line 5:
<pre>
<pre>
yum -y install vsftpd
yum -y install vsftpd
service vsftpd start
systemctl enable vsftpd
chkconfig vsftpd on
systemctl start vsftpd
</pre>
</pre>


Line 15: Line 15:


= Logging =
= Logging =
A folder is created at '''/var/ftp/''' which contains the location for TFTPing.<br><br>
A folder is created at '''/var/ftp/''' which contains the location for FTPing.<br><br>
To enable logging edit '''/etc/vsftpd/vsftpd.conf'''
To enable logging edit '''/etc/vsftpd/vsftpd.conf'''
<pre>
<pre>

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