Quantcast
Channel: Chris – cenolan.com
Viewing all articles
Browse latest Browse all 22

Mounting an FTP filesystem under Yellow Dog Linux 6

$
0
0

This guide shows how to use FUSE and CurlFtpFs to mount an FTP filesystem on Yellow Dog Linux 6. This guide presumes that you have already built and installed your own FUSE capable kernel for YDL 6.


Unless otherwise specified, all commands are run as a normal user, NOT root!

1) Install the FUSE userspace tools

wget http://downloads.sourceforge.net/fuse/fuse-2.7.3.tar.gz?modtime=1203456610&big_mirror=0
tar xvzf fuse-2.7.3.tar.gz
cd fuse-2.7.3
./configure
make
su -c "make install"

This should all go smoothly and you should now have the FUSE tools such as “fusermount” installed.

2) Install CurlFtpFs

wget http://downloads.sourceforge.net/curlftpfs/curlftpfs-0.9.1.tar.gz?modtime=1175788159&big_mirror=0
tar zxvf curlftpfs-0.9.1.tar.gz
cd curlftpfs-0.9.1
jm_cv_func_working_malloc=yes
export jm_cv_func_working_malloc
ac_cv_func_malloc_0_nonnull=yes
export ac_cv_func_malloc_0_nonnull
jm_cv_func_working_realloc=yes
export jm_cv_func_working_realloc
ac_cv_func_realloc_0_nonnull=yes
export ac_cv_func_realloc_0_nonnull
./configure
make
su -c "make install"

Again, this should all go smoothly and you should now have the “curlftpfs” program installed.

3) Mounting the FTP server

Mounting procedure is as follows:

mkdir MountPoint (eg: mkdir /backup)
curlftpfs -o user=USERNAME:PASSWORD ftp://FTPHost/ MountPoint/
eg: curlftpfs -o user=testusr:mypass ftp://127.0.0.1/ /backup/


Viewing all articles
Browse latest Browse all 22

Trending Articles