Setup FTP server to transfer files from local Desktop PC to Raspberry Pi server.
Install vsFTPd
Install ftp server. I choosed vsFTPd. This is included in official repository of Manjaro Linux, and very easy to use.
$ sudo pacman -S vsftpd
Configure vsFTPd
Edit the file /etc/vsftpd.conf
$ sudo vi /etc/vsftpd.conf
local_enable=YES
write_enable=YES
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
seccomp_sandbox=NO
allow_writeable_chroot=YES
Edit /etc/vsftpd.chroot_list
Add the user’s name to allow to change root in this file.
Start and Enable FTP server
$ sudo systemctl start vsftpd
$ sudo systemctl enable vsftpd
Check the FTP server
$ ftp user@192.168.10.109
Notice: To logout from the server, type “quit”.
Leave a Reply