vsftpd is a commonly used FTP tool for Linux users. However, many users are confused about how to install vsftpd. I don't know how to solve this problem. Today Xiaobian brought you the installation and use of vsftp under the centos system. Let's take a look at the users who need it.
First, install vsftp
Installation: yum install vsftpd
Second, start, stop, restart vsftp
Start vsftp:
service vsftpd start
or specify the path (note: /etc/init.d/path may be different): /etc/init.d/vsftpd start
Restart
service vsftpd restart
Stop vsftp:
service vsftpd stop
3. Create ftp user group and directory
1. Create FTP user group ftp -users
groupadd ftp-users
2. Create a user group directory ftp-docs
mkdir /home/ftp-docs
Note that this time Not yet associated with ftp-users.
3, modify permissions
chmod -R 750 /home/ftp-docs
750 groups can only read can not write, to group can write, please change to 770 or 760.
4, specify the folder owner user and user group
chown root: ftp-users /home/ftp-docs
At this time, if the remote user belongs to ftp-users Groups will share this directory.
5, add FTP users do not set their default directory
useradd -g ftp-users -d /home/ftp-docs user1
passwd user1
After the above installation steps, users can log in to the server using vsftp to upload and download files. Users who don't install vsftp will install it in this way.
The nl command in Linux is similar to the cat command, but the nl command will play
The Linux system storm ui has the kill topology function. If it is not blocked, it will cause the st
To understand the Linux system, it is necessary to have a certain understanding of its system archit
There are many ways to take screenshots in Linux, but how do you take screenshots i
Ubuntu 12.04 installation Xen FAQ and solution
Linux uses S3QL to create an encrypted file system
How to remotely connect to the Linux system desktop via VNC
How to use the Linux cd command?
Ubuntu/Mint can't add a solution for PPA source
Linux system how to configure rdate time server
Linux how to use vim for advanced editing
How Linux lists directories larger than the specified size
How to use the tar command correctly under Linux system
How to modify the app icon icon under Ubuntu Gnome
Linux installation VMware Tools virtual machine graphic tutorial
Reasons for XP system fake death
Windows XP installation method
Win7 system files are isolated by 360 antivirus security guards how to recover?
What should I do if the NAS storage failure causes Linux to fail to start properly?
The sound of Win7 is suddenly big and small
What can I do if I cannot uninstall the program with "Add or Remove Programs"?
Win10 system Pin? Forgot what to do? How to reset the Pin code
How to lock the IT toolbar in Windows 7 system
Windows 8 app store Microsoft commission ratio as low as 20%