/ftpd/toomany.msg: At any time, remote class access users to 100 people, will no longer allow the creation of new connections, when the 101th customer to connect, the connection will fail, and like the user to show the file /etc/ftpd/toomany.msg's content.
4 format message [file name] [instruction]
Function: When the user executes the specified instruction, the system displays the specified file contents.
Example: Message/etc/ftpd/welcome.msg login: When the user executes the login command, t
normal login do not use Anonymous. The default path after login is/home/ftpuser.
5. Open 21 ports
Because the FTP default port is 21, and CentOS default is not turned on, so to modify the Iptables file
Vi/etc/sysconfig/iptablesOn the line there is 22-j ACCEPT the next line of input is similar to that row, just replace 22 to 21, and then: Wq save.
Also run, restart Iptables
Service Iptables RestartThe extra
1. Install the Email sending program
1
yum
install
sendmail mutt
Ii. Install the FTP Client ProgramThis script needs to use an FTP client program to upload files to the FTP space. Therefore, you must install the FTP client. Otherwise, the ftp command cannot be found.For inst
(192.168.16.13 ).220 Welcome to connect my FTP!Name (192.168.16.13: root): bkjia331 Please specify the password.Password:230 Login successful.Remote system type is UNIX.Using binary mode to transfer files.Ftp> bye221 Goodbye.Windows logon test:Open my computer or cmd (call a browser) as you did in the same way as above input: tp: // bkjia@192.168.16.13/
Enter the user name and password, and then log on to the system.
Simple
beginner foggy.
Trickery type: This kind of article most abominable, obviously is based on CentOS6 installs the FTP, but claims is is based on CentOS7, these people not to CentOS7 and CentOS6 's default firewall configuration command is different?
After tossing for half an hour, I finally opened my VPN magic, signed in to Google, "CentOS7 install FTP" As the keyword, search out 311,000 results, th
//maintenance log files, detailed record upload and download operationsThe Xferlog_std_format=yes//transfer log file will be written in a standard xferlog format, with the log file silently
Think/var/log/xferlogHide_ids=yes//hidden folders and directories ownerPort_enable=yes//Allow active transfer modePasv_min_port= (1024Pasv_max_port= (1024Connect_from_port_20=yes//defines the port on which FTP transmits data, by default 20Ascii_download_enable=no/
# Userlist_enable = YES# Userlist_file =/etc/vsftpd. user_listThe third line indicates the list file of the user, and the second line value is YES, indicating that this option is activated. When the user in the list logs on to the FTP server, the user is prohibited before upgrading the password. This user is not allowed to log on. However, the value of the first line is NO, indicating that users in the user
information to
Where.
On the right side of the window, the user can choose to record different events, including system information, security information, and so on, while the user can also set the
The information that is logged is displayed in the main window of the Serv-u, or is saved to a specified file. For consumption of system resources and backup information needs, users are advised to
Log information is saved to the specified file.
One point to note is that the Serv-u logging file is
(enter two times)
passwd Ftpuser
Such a user built, you can use this login, remember to use ordinary login do not use Anonymous. The default path after logging in is/home/ftpuser.5. Open 21 portsBecause the FTP default port is 21, and the CentOS default is not enabled, so to modify the Iptables file
Vi/etc/sysconfig/iptables
On the line there is 22-j ACCEPT below another line in
Description
Operating system: CentOS 6.x
IP Address: 192.168.21.188
Implementation Purpose: Synchronize the contents of the CentOS mirrored site to this server, and by configuring the HTTP server, can provide Yum services outside
Prepare the article:
First, install HTTP server
After such a user is created, you can use this logon. Remember to use normal logon instead of anonymous logon. The default path after logon is/home/ftpuser.
5. Open Port 21
Because the default ftp port is 21, and centos is not enabled by default, You need to modify the iptables File?
vi
/etc/sysconfig/iptablesOn the line above, enter another line under 22-j ACCEPT, which is similar to that line, just repl
# Create user useradd-d/opt/www-s/sbin/nologin-m aidejin# Set User to Folder Chown-r aidejin/opt/www# set permissions chown-r 777/opt/www# add password passwd aidejin password---Confirm password Five, FTP connection is not, prompt read directory failure This error is caused by the Iptables configuration, the temporary workaround is to execute the following command: Modprobe ip_nat_ftp But when you restart the ser
If FTP is required to access Linux, VSFTPD is a better FTP server under Linux.First, check the installation vsftp1 // Check if VSFTPD is installed 2 grep vsftpd 3 // No, install vsftpd . 4 Yum Install vsftpd 5 chkconfig vsftpd onSecond, edit the VSFTP configuration itemConfigure open Virtual account (login FTP only,
conditions: 1. all users use the user name: ftpall and Password: 123 The Public Directory ftpall2 for logging on to the FTP server and the public directory ftpall are used by employees to download materials, you cannot delete, modify, or rename files or directories in ftpall. 3. all users can log on to the home directory on the FTP
First, Redhat/centos installation vsftp software
1. Update Yum Source
First need to update the system Yum source, convenient tool download address: http://help.aliyun.com/manual?spm=0.0.0.0.zJ3dBUhelpId=16922. Install VsftpInstall vsftp using the Yum command#yum Install Vsftpd-y3. Add FTP Account and directoryCheck the position of the nologin first, usually under/usr/sbin/nologin or/sbin/nologin.Use the f
Enable ftp in centos 6
1. Install the vsftpd component[Plain] view plaincopy
Yum-yinstallvsftpd
The ftp service is not started.
[Plain] view plaincopy
Servicevsftpdstart
2. Install the ftp client component
[Plain] view plaincopy
Yum-yinstallftp
Execute the command and try to log on
[Plain] view plaincopy
Ftploc
CentOS mdash; this short article describes how to deploy the server after getting the root account and password of the server, configuring the NIC, FTP, and installing the server. This article is suitable for Linux beginners. Step * modify the root user password paddwdroot
closed source code software.
CentOS 7 Download Address: http://www.jb51.net/softs/188482.html
Third, the installation of CentOS:
Virtual machine version: VMware workstation_10.0.3
Linux system version: Centos_7 (64-bit)
Physical machine Version: Win 7 flagship edition
Note: I am the beginner, installs the
Disable the CentOS 6 and CentOS 7 firewalls.
CentOS6.5 view the Firewall Status:
1
[Linuxidc @ localhost ~] $ Service iptable status
Display result:
1 2 3 4 5
[Linuxidc @ localhost ~] $ Service iptable status Redirecting to/bin/systemctl status iptable. service ● iptable. service Loaded: not-found (Reason: No such file or directory)
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.