The approximate process is:
First install VSFTP.
1 Installation vsftpdYum Install vsftpdPress Y to enter, the system installs automatically/ETC/INIT.D/VSFTPD Start #启动vsftpdService VSFTPD Restart #重启Service VSFTPD Stop #停止Chkconfig vsftpd on #设置开机时自动运行2. Configure VSFTP ServerConfiguration file Description:/etc/vsftpd/vsftpd.conf vsftpd Core configuration file/etc/vsftpd/ftpusers is used to specify which users cannot access the FTP
Account and directory
useradd-d/alidata/www/wwwroot-s/sbin/nologin pwftp passwd pwftp chmod-r 755/alidata/www/wwwroot chown-r pwftp /ALIDATA/WWW/WWWROOT/ETC/RC.D/INIT.D/VSFTPD restartThen use the account number pwftp password 123456The test will be able to log on to FTP. Directory is/alidata/www/wwwroot
Modify firewall to allow FTP to use 21 ports through
Linu
Environment
[Netcool @ inmsc4 ~] $ Uname-Linux inmsc4 2.6.18-194. EL5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux[Netcool @ inmsc4 ~] $
Dual-nic
Symptom description
SSH and FTP are both normal. One day, it suddenly slowed down. However, after logon, the operation is not slow and normal.
According to Baidu, it is related to reverse DNS reso
has been under the development of windows, when the need to download firmware to the Development Board, is generally open a TFTPD32, set the firmware folder, everything is OKNow switch to Linux and see how the server operating system is superior in service configurationBefore and after the installation of WU-FTPD,VSFTPD,PURE-FTPD,TFTPD (as well as the derivative of the TFTPD-HPA), not one can make my board
1. InstallationExecute yum-y Install VSFTPD2. Check if VSFTPD:RMP-QA is installed | grep vsftpd Default configuration file/ect/vsftpd/vsftpd.conf3. Create a virtual userA. Choose to create an FTP folder under the root or user directory: mkdir ftpfile-such as:/ftpfileB. Adding an anonymous user: Useradd ftpuser-d/ftpfile-s/sbin/nologinC. Modify Ftpfile permissions: Chown-r ftpuser.ftpuser/ftpfiled. Reset ftpuser Password: passwd ftpuser (set to 123456
----Reprint Please specify the Source: Blog Park-Bang Bang sauce goodRecently in the batch processing program, has not found the ability to work together to use it, a few days ago when testing the service side suddenly thought can do this:Write a batch program, automatically upload the package via FTP to the specified place, and then automatically log on to the Linux se
Some advanced settings when using linux's Proftpd to create an FTP server (the resumable upload and download functions are enabled)
Pm
Author: Author
From: a library of Linux knowledge
Current: http://www.douzhe.com/linuxtips/1455.html
Address: Unknown
(1)In the initial settings of Proftpd, the user cannot perform the "continuous download" function. That
1, first use VI to open vsftpd.conf vsftpd configuration fileUnder Ubuntu isVi/etc/vsftpd.confUnder CentOS isVi/etc/vsftpd/vsftpd.confThis may be different under different systems.2. Find Unmsk default is 022, modify the permissions you want to be able to.
3. The following is the specific meaning of UnmskUmask is typically used to give permissions when you initially create a directory or file.The permissions on the file x represent execution, this risk is too high, so the general permission in
Check first, there is no vsftp server
Rpm-qa | grep *ftp*
If so, please uninstall it
Installing the VSFTPD server
Yum-y Install VSFTPD
Modifying a configuration file/etc/vsftpd/vsftpd.conf the following items
#禁止匿名访问Anonymous_enable=no
Restrict the specified user to access other users can not access the file tail modified as follows
Userlist_enable=yesTcp
Generally in a variety of Linux distributions, the default with the FTP software is vsftp, from the various Linux distributions to vsftp recognition can be seen, vsftp should be a good FTP software.sudo apt-get install vsftpdVsftp's master profile is/etc/vsftpd.confAn account "FTP
// Configuration file
/Etc/vsftpd. conf main configuration file
/Etc/vsftpd. ftpusers specifies which users cannot access the FTP server
The user specified by/etc/vsftpd. user_list can access the FTP server when userlist_enable = yes is set in/etc/vsftpd. conf and userlist_deny = No
// Allows anonymous users to upl
to log on
Userlist takes precedence over ftpuser. If userlist rejects a user's logon, a message of Logon rejection is provided. If ftpuser rejects a user's logon, a password is prompted first, however, logon is not allowed in any way. (a logon failure is prompted after a password is entered)
Chroot_list _Enable= YES
Chroot_list _File=/Etc/vsftpd/chroot_list
When chroot_local_user = YES, only users in chroot_list can switch directories on the ftp
Based on TCPCData connection Port No. 20thControl Connection Port # 21stData Active/Passive connectionBbs.lijinya.com 80 192.169.10.2Www.lijinya.com 80 192.168.10.2IP-likeIP-based virtual FTP serverOne port corresponds to one serviceLocal User Login ....Shutting down the firewallUsername passwd Landing into the Add directoryFTP anoymous anonymous user without passwordAnonymous userVirtual userUser_list Zhangsan 123456/var/pub/http://vsftpd.beasts.org/
1. Install vsftp. I will not talk about it much. I use Ubuntu, And I will simply use apt-Get.
2. Configure vsftpd. conf, VIM/etc/vsftpd. conf
The following describes the important options.
1 anonymous_enable = No # anonymous users are not allowed 2 3 local_enable = yes # allow users to log on to 4 5 write_enable = yes # allow ftp users to write data 6 7 connect_from_port_20 = yes # pass 20 port Data Transmission 8 9 chroot_local_user = yes # Lock t
[Email protected] test]# vim vsftp_home.sh################################################## Date 2017-09-10##### Name FTP server##### Anth Joker##############################################!/bin/bash. /root/test/vsftp_function.shWhile TrueDo#clearCat*************************************Do not repeat operations * * **************************************1 Installing the
Free to play with the FTP. My system is Ubuntu, the FTP server installed is vsftpd. Software Center.(a) Enter the local IP connection. User and password are Linux users and passwordsin the shell command line input ftp 127.0.0.1, prompting for user name. Enter after entering
mode, plus the control switch passive mode to see the situation plus if the upload using passive mode Entering Passive Mode errorBinary: Binary transferCD: Server side CD LCD: Client CD put upload single mput upload multiple get download single mget download multiple Prompt Multiple Tips#========================start Shell Script ============================#!/bin/bash#定义备份数据库时使用的用户名和密码db_user = "root" db_passwd= "111111"#定义
1, installation vsftpd# yum Install vsftpd2. Start VSFTPD# service VSFTPD Start3. Turn off the firewall# Service Iptables StopYou can log on anonymously at this time.4. Turn off SELinux# Vi/etc/selinux/configSelinux=disabled# Setenforce 05. Create userBecause the VSFTPD default is not allowed to log in with the root user, you have to create a new user# Useradd Doiido# passwd6. Create the specified directory and give permissions# mkdir-p/doiido/web/www# chmod 777/doiido/web/www/7. Modify the conf
# # Learning Summary# #超级用户权限
VSFTPD installation (L)Yum Install vsftpd apt-get install VSFTPD
VSFTPD configuration (local user login restricted to their home directory,/etc/vsftpd.conf)Listen=yes (see if the connection is turned on if it is denied)Chroot_list_file=/etc/vsftpd.chroot_listChroot_list_enable=yesAllow_writeable_chroot=yes(OOPS:vsftpd:refusing to run with writable root inside chroot ())
Create an FTP user, add the user to
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.