of three real servers are 172.18.1.11, 172.18.1.12 and 172.18.1.13 respectively. 650) this.width=650; "title=" 111233.png "alt=" wkiom1g2od3jwkxnaagridr3oru542.png-wh_50 "src=" http://s4.51cto.com/ Wyfs02/m00/8a/a9/wkiom1g2od3jwkxnaagridr3oru542.png-wh_500x0-wm_3-wmp_4-s_2765529799.png "/>In we example, the keepalived configuration file (/etc/keepalived/keepalived.conf) at the LD1 looks like:Lab Environment:System platform: RedHat Linux 6.4 32-bitkernel:2.6.32-358.el6.i686LVS version ipvsadm-
Again encounter PURE-FTPD "Login failure: 530 login Authentication Failed" problem, this time the reason is that the virtual user UID is less than pure-ftpd.conf minuid value, now detailed description of the entire error-checking process.
In general, I use Yum to install PURE-FTPD, and directly use Puredb to verify the user's login, everything is for convenience and quick. This time also, after installation, add virtual users, bind to the directory/data/www, but this time give the virtual user
the complete syntax is divided into two parts, the first half is the time definition, the latter part is the command, how to execute the command at ordinary times, how to write this place
Two: sftp upload the downloaded shell script
The complete sftp upload script is as follows:
#!/bin/bash#SFTP配置信息#IPip=1.1.1.1#端口Port=22#用户名User=username#密码Password=password#待上传文件根目录Clientdir=/client/upload#SFTP目录Severdir=/server/upload#待上传文件名File=filenameLftp-u ${user},${password} Sftp://${ip}:${port} CD ${sev
/pub/iamvsftpserver
5 FTP client login, such as: Anonymous landing with LFTP
# lftp 192.168.0.1
Note: Can I download/pub/iamvsftpserver?
2. Configure an FTP service that allows anonymous users to upload.
1 Create an upload directory in/var/ftp/and modify the permissions.
# mkdir/var/ftp/incoming
#chown root.ftp/var/ftp/incoming
#chmod 730/var/ftp/incoming
2) Edit/var/vsftpd.conf. (Note: rh9.0 is/va
providers can not provide daily backup data. Originally this blog provides a backup method, introduced the shell script MySQL database automatic backup, does not introduce the MySQL database incremental backup. Share one of your own backup scripts today.Refer to the previous article http://jimmyli.blog.51cto.com/3190309/691069 "Building a high-security e-commerce website (website files and database automatic local/offsite dual backup) [Serial e-commerce system architecture]"First, the preparato
youjian.com.zone* (note file permissions.) Firewall and SELinux must be turned off, this is just an experiment, if you want to turn on the firewall, configure firewall rules, if you want to turn on SELinux please download the log tool to resolve the security context. Finally, it should be stressed that as long as you modify the pseudo-instance of any file, please ensure that both sides of the file consistent)FTP ServiceHttps://www.jianshu.com/p/e811421a76e2 (the principle here)Experiment starte
passive mode data port:227 Entering Passive Mode (192,168,175,138,224,59)The server data port is: 224*256+59FTP Software Introduction FTP server:Wu-ftpd,proftpd,pureftpd,servu,iisVsftpd:very Secure FTP daemon,centos default FTP serverHigh speed, stable, download speed is twice times of wu-ftpFtp.redhat.com Data: Single machine supports up to 15,000 concurrentClient software:FTP,LFTP,LFTPGET,WGET,CURLFTP-A ftpserver port-a Active mode –p Passive mode
protected] ftp]# CD[Email protected] ~]# lftp [email protected]Password:lftp [email protected]:~> lsDrwxr-xr-x 2 1020 pure-ftp 11 20:02.Drwxr-xr-x 2 1020 pure-ftp 11 20:02.-rw-r--r--1 0 0 0 May 20:02 123.txtAt this point, the genus Master of 123.txt is actually root.Change them to the genus Master Grouplftp [Email protected]:/> quit[Email protected] ~]# chown pure-ftp:pure-ftp/data/ftp/123.txt[Email protected] ~]#
when accessing Windows FTP server under Linux, there may be problems with Chinese garbled characters, which is due to the different Chinese encoding. Windows Chinese encoding uses GBK, and Linxu Most versions of the default encoding is UTF8. One solution is to use LFTP login in the terminal, manually set the Chinese encoding method, enter in the terminalLftp ftp://After logging in, enterSet Ftp:charset gbkset file:charset utf812You can then display th
developed according to your needs)
Pureftpd (powerful ftp software)
Vsftpd (REdHat is the most commonly used. Its lightweight model is only 140 KB, but it is very secure)
3) Common FTP clients:
Ftp command
Lftp command
Gftp (linxu-based ftp tool)
CuteFTP
FlashFTP (known as the fastest FTP ),
Ftps uses ssl encryption.
Iv. vsftpd Server
We will explain how to implement the vsftpd server architecture.Architect
files through command lines.
The so-called requirement can be used to create, or to study with the heart. The documents and notes in the past few days are copied back using a USB flash drive. Today, I suddenly don't want to use a USB flash drive, I suddenly remembered that my server was configured with ftp, So I uploaded all the note files to my ftp. I do not have any ftp upload tool installed with graphical interfaces in Linux, So I simply use the command line mode.
① First, I installed a non
# Or write it to the configuration file/etc/sysconfig/iptables-config, you do not need to manually load it each time, even if it is automatically loaded after restart, add a line: IPTABLES_MOUDLES = "nf_contrack_ftp"
If node3 does not load the kernel module nf_conntrack_ftp and is connected to the ftp service on node3 on node1, the following error message is displayed: unable to establish data connection (10.72.37.177) Port 29814
Lftp user2@10.72.37
Function:
Download all files in the FTP directory of the server,
Delete all files in the FTP directory of the server immediately after the download.
*********************
---------------------Environment:
Both machines are centos4.5 _ x86****************1. FTP server host informationFTP Server Host Name ServerVFTP server: vsftp-2.0.1-5.EL4.5By default, the FTP directory of the VFTP server is the directory of the System user.The user here is ftptest, and the home directory is/home/ftptestIP: 192
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.