In China, users like to use Alibaba Cloud server, because this is the best cloud server in China, but some Linux users do not know how to perform FTP server under Ali cloud. With configuration. Let Xiaobian teach you to set it up now.
Setting method:
aliyun Linux (Redhat) software installed vsftp
1. Update yum source
first need to update the system source yum , convenient tool download address: update_source.zip. It should be noted that the current file cannot be transferred, so you want to run update_source.sh and you can only open it with text, copy and paste it to the Alibaba Cloud server system.
2. Install vsftp
Install vsftp using the yum command
#yum install vsftpd -y
3.Add ftp account and directory
Check the location of nologin first, usually under /usr/sbin/nologin or /sbin/nologin.
Use the following command to create an account that specifies /ftp as the home directory for user test. You can define the account name and directory yourself:
#useradd -d /ftp -s /sbin /nologin test
Modify the account password:
#passwd test
Modify the permissions of the specified directory
#chown -R test:test /ftp< Br>
4.Configure vsftp
Edit the vsftp configuration file with the following command:
#vi /etc/vsftpd/vsftpd.conf
will be in the configuration file> ;anonymous_enable=YES “Change to “anonymous_enable=NO”
Cancel the comment symbol before the configuration:
#local_enable=YES
#write_enable=YES
#chroot_local_user=YES
#ascii_upload_enable Allow uploading with ascii code
#ascii_download_enable Allow download using ascii code
To save changes, press ESC and type: wq
5. Modify the shell configuration
vi edit /etc/shells, if there is no /usr/sbin/nolog in the file In or /sbin/nologin (see the current system configuration) is added
6. Start the vsftp service and test the login
Start the vsftp service with the command:
#service Vsftpd start
Then use the account test to test whether you can log in to ftp. The directory is /ftp
Through the above steps, we can successfully set up the FTP server configuration. If you are not sure, follow the steps above to set it up.
Ubuntu can use apt-get to get system or software updates, and download these updates from the networ
Samba is a tool that can implement SMB protocol. You can share Linux system software through Samba s
Usually Ubuntu Unity Dash has its own shutdown and restart options, but many friend
In many Linux commands, the install command and the cp command can copy files, but
How to use the w and uptime commands to view Linux system usage
How to install Guake terminal to Ubuntu system
Linux system Vsftp 553 Could Not Create File error?
How to modify the character set in Linux
How to configure Kickstart script
Linux change 22 port method summary
Fedora through l2tp vpn networking method
How to bind multiple network cards to one under Linux?
Customize xp environment variables to easily clean up system garbage
How to set up win10 automatic login account?
Win8 Bluetooth device display exclamation mark how to do
Let the old system change to a new installation WindowsXP use the taskbar of Windows7
How to use the shortcut key of Win8 system resource manager
How to test the broadband upload speed?
How to fix failures that WinXP system cannot update
How does the Win7 system disable the Microsoft Office Upload Center?
What is the headache of the system update function, how to deal with the win8 system?