Installing FTP, VSFTPD, on CentOS 6; Creating FTP user Ispiši članak
The first two letters of vsftpd stand for "very secure" and the program was built to protect against possible FTP vulnerabilities.
Step One—Install vsftpd
You can quickly install vsftpd on your virtual private server in the command line:
yum install vsftpd (If using Ubuntu, it will be: sudo yum install vsftpd )
We also need to install the FTP client, so that we can connect to an FTP server:
yum install ftp (If using Ubuntu, it will be: sudo yum install ftp )
Once the files finish downloading, vsftpd will be on your VPS. Generally speaking, the virtual private server is already configured with a reasonable amount of security. However, it does provide access to anonymous users. We want to disable that now to avoid any problems by configuring VSFTP
Once VSFTP is installed, you can modify the configuration file.
Open up the configuration file:
vi /etc/vsftpd/vsftpd.conf (If using Ubuntu, it will be sudo vi /etc/vsftpd/vsftpd.conf )
One primary change you need to make is to change the Anonymous_enable to No:
(Please remember, you are using "vi". In order to modify the contents of this file, you need to switch to insert mode. When you find the section you want to modify, first press the letter "i" on your keyboard. You will see it now change to insert mode, and will be able to make the changes we are describing in this step and the following ones)
After that, uncomment the local_enable option, changing it to yes.
Finish up by uncommenting command to chroot_local_user. When this line is set to Yes, all the local users will be jailed within their chroot and will be denied access to any other part of the server. chroot_local_user=YES
Finish up by restarting vsftpd:
service vsftpd restart (If using Ubuntu, it will be sudo service vsftpd restart )
In order to ensure that vsftpd runs at boot, run chkconfig:
chkconfig vsftpd on
You have now installed and configured FTP and VSFTPD. Now, you may want to add FTP users so that you (or they) can access the server via ftp
adduser -c 'FTP USER NAMEHERE' -m NAMEHERE
You will replace "NAMEHERE" with the username you want to create for the ftp user. That's it! Now, try logging into your server via ftp on a remote server and you're good to go
Je li Vam ovaj odgovor pomogao?
Before starting the installation make sure ionCube Loaders are enabled. For that go to WHM and...
Addon domain turned into a separate cPanel Download the content of your addon domain to your...
Ok, so you just got a Webhostpython.com VPS or Dedicated Server and want to set it up with FFMPEG...
You have just ordered a VPS from Webhostpython.com with the Ubuntu OS. However, by default the...
To install MP4Box, you would do the following:cd /usr/local/src/wget...
Powered by WHMCompleteSolution