Artigos‎ > ‎Compartilhamento de Arquivos‎ > ‎WebDav‎ > ‎

Web-dav server and file system


link server:
http://www.digital-arcanist.com/sanctum/article.php?story=20070427101250622
http://www.digital-arcanist.com/sanctum/article.php?story=20070427101250622
http://linux.about.com/od/ubusrv_doc/a/ubusg27t08.htm

link davfs2:
http://sysblogd.wordpress.com/2007/09/09/ubuntu-mounting-remote-filesystem-using-davfs2-fuse/
http://ubuntuforums.org/archive/index.php/t-77935.html

link para com conceitos e how-to para outros SO conectarem:
http://plone.org/documentation/how-to/webdav

link: http://www.matrix44.net/blog/?p=1048



WebDAV and AutoFS

sudo apt-get install davfs2
sudo apt-get install autofs

Edite um dos arquivos abaixo
sudo gedit /etc/davfs2/secrets

mkdir ~/.davfs2/
gedit ~/.davfs2/secrets
sudo chmod 600 ~/.davfs2/secrets

https://localhost/svn/edifast/ myusername mypassword


sudo gedit /etc/davfs2/davfs2.conf
secrets         ~/.davfs2/secrets
servercert master.casa.lan.crt

Crie um link para o certificado
sudo cp -l /etc/ssl/certs/master.casa.lan.crt /etc/davfs2/certs/master.casa.lan.crt


Ou grave o certificado aqui:
/etc/davfs2/certs


Teste:
sudo mkdir /tmp/teste
sudo mount -t davfs https://localhost/svn/edifast/ /tmp/teste

Crie o arquivo do autofs com:
sudo gedit /etc/autofs/auto.storagesmb
mymountpoint -fstype=davfs,rw,dir_mode=0777,file_mode=0666 :https://localhost/svn/edifast/
mymountpoint -fstype=davfs,rw,dir_mode=0777,file_mode=0666 :https\://localhost/svn/edifast/

sudo service autofs restart


Comments