I need an FTP server running on my computer for configuration file backup.
Below the instructions how to setup vsFTPd server on Linux Mint , in stand alone mode.
Install the vsftp deamon
Make a backup of the default configuration file
Edit the configuration file
Allow the below :
For running in standalone
listen=YES
Enable any form of FTP write command.
write_enable=YES
Restart vsFTPd server
Check if vsFTPd is running
Also using the service utility
Verify FTP file transfer
Below the instructions how to setup vsFTPd server on Linux Mint , in stand alone mode.
Install the vsftp deamon
sudo apt-get install vsftpd
Make a backup of the default configuration file
sudo cp /etc/vsftpd.conf /etc/vsftpd.conf.backup
Edit the configuration file
sudo nano /etc/vsftpd.conf
Allow the below :
listen=YES
Allow local users to log in
local_enable=YES
local_enable=YES
Disable anonymous FTP
anonymous_enable=NOEnable any form of FTP write command.
write_enable=YES
Restart vsFTPd server
sudo service vsftpd start
Check if vsFTPd is running
$ netstat -a | grep ftp
tcp 0 0 *:ftp *:* LISTEN
Also using the service utility
$ sudo service vsftpd status
vsftpd start/running, process 7329
$ ftp localhost
ftp> get testfile.txt
local: testfile.txt remote: testfile.txt
200 PORT command successful. Consider using PASV.
150 Opening BINARY mode data connection for testfile.txt (0 bytes).
226 Transfer complete.
ftp> quit
221 Goodbye.
1 comment:
Wonderful information, thanks for the great solution.
Germany VPS Server Hosting
Post a Comment