使用sshfs挂载服务器文件系统,用curlftpfs挂载FTP服务器
[*]使用sshfs挂载服务器文件系统
sudo apt-get install sshfs
sshfs user@hostname:path /mnt/data
centos:(0.5.2这个才行,新版本反而不行~~~)
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm
yum install fuse-sshfs
[*]用curlftpfs挂载FTP服务器
[*]安装curlftpfs
1 sudo apt-get install curlftpfs
[*]挂载FTP服务器
1 curlftpfs ftp://username:password@192.168.1.1 /ftp
[*]卸载挂载
fusermount -u /ftp
页:
[1]