To keep all my data synchronized between my machines and also have version of them in the same time without having an public svn repository. I use my ftp account as a repository for my local svn server. So my svn server is just an engine which store data on FTP mounted folder. I covered the method to install SVN server in other post and today I want to introduce the FTP mounting as a folder. The used tool is curlftpfs.
1. If you don’t already have curlftpfs installed, install it with
sudo apt-get install curlftpfs
2. Replacing the appropriate settings, mount the share with
sudo curlftpfs -o umask=0777,uid=1000,gid=1000,allow_other ftp://username:password@your.ftpserver.com /media/ftpfolder
Make sure that the location to mount to is already created and readable and writable by all users.
3. To make this permanent, add it to the end of /etc/init.d/rc.local to be able to access the share after reboot. Other option is to add it to ~/.bashrc. It is your choice
It is a bit slow but it works!