By default, vsftp does not support setting up multiple ftp sites on the same host as IIS. However, vsftp cannot establish multiple ftp sites on the same host, the method is as follows: 1. Add a virtual IP address (192.168.0.5 of eth0) 1. ifconfigeth0: 0192.168.0.5242. Create a virtual FTP service user
By default,FtpUnlike IIS, you can create multiple ftp sites on the same host, but it is not impossible to create multiple ftp sites on the same host. The method is as follows:
1. Add a virtual IP address (the IP address 192.168.0.5 of eth0)
1.IfconfigEth0: 0 192.168.0.5/24
2. Create a virtual FTP service user
UseraDd-D/var/ftp2-s/sbin/nologin ftp2
Chmod-R 755/var/ftp2
Chown-R root: root/var/ftp2
Mkdir-M 755/var/ftp2/pub
Chown ftp2: root/var/ftp2/pub
3. Prepare the configuration file of the virtual FTP server.
Cp/Etc/vsfptd/vsftpd. conf/etc/vsfptd/vsftpd1.conf
4. Modify/etc/vsftpd/vsfptd. conf.
1. listen_address = 192.168.0.4
5. Modify/etc/vsftpd/vsfptd1.conf
Listen_address = 192.168.0.5
Ftp_username = ftp2
Local_root =/var/ftp2
Linuxso Editor: what is the use of a single IP address server .. It is okay to let the server listen to different ports, but it is still uncomfortable.
Is there a way to support host headers Like apache Virtual Hosts...