Make sure your vagrant vm is running. Then:
vagrant ssh sudo apt-get install vsftpd
Edit the ftp config file to enable authenticated users to ftp:
sudo nano /etc/vsftpd.conf
Then uncomment the following lines:
Save the file. (Control-x, y, return) Restart ftp with:
sudo /etc/init.d/vsftpd restart
After this, you should be able to install modules from the modules page. Login with “vagrant” for the username and password if/when asked.
Obviously, it’d be best if we didn’t have to do this.
Neu ko tao file dc thì:
If you don’t want to go further with your SELinux do not change it, so you will see as default
then just run the commands as root or with
sudo setsebool -P ftpd_anon_write 1 sudo setsebool -P ftpd_full_access 1