Linux mount the ftp server
Linux mount the ftp server,You need to use a package called the fuse-curlftpfs。Under normal circumstances can not get this package through yum way,Therefore, you need to install DAG repository
Centos5 64位 wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm
Centos5 32位 wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.i386.rpm
Centos6 64位 wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
Centos6 32位 wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
Then install the downloaded rpm package
rpm -ivh rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm
Then you can install the fuse-curlftpfs the way through yum
yum install fuse-curlftpfs -y
Execute this command on Centos6,Requires might encounter: libcurl.so.3 error,Solution:Edit /etc/yum.repos.d/rpmforge.repo file,The [rpmforge-extras] Open item,It can then execute yum clean all。
Then you can mount the ftp
Written 1:curlftpfs ftp://username:Password @ftp address mount point -o codepage = utf8
Writing 2:curlftpfs ftp://ftp address mountpoint -o user =”username:password”
note:If you prompted to "fuse: failed to open /dev/fuse: Operation not permitted”,That you are using the Linux VPS OpenVZ technology,OpenVZ technology because of defective (all common hen chicks kernel) unusable curlftpfs command,Please use vmware or Xen technology。
Boot automatically mount
echo “curlftpfs # Username:Password @ftp address mount point fuse rw,allow_other,uid=0,gid=0 0 0” >> /etc/fstab