Сначала надо установить пакет libproxy:
для x64
1
|
yum install libproxy.x86_64
|
yum install libproxy.x86_64
для i686
1
|
yum install libproxy.i686
|
yum install libproxy.i686
Далее скачаем rpm davfs2 и связанные пакеты:
для x64:
1
2
3
|
wget http://pkgs.repoforge.org/davfs2/davfs2-1.4.6-1.el6.rf.x86_64.rpm
wget ftp://dropbox.cloudlinux.com/pub/psbm/6.4/os/x86_64/RPMS/neon-0.29.3-2.el6.x86_64.rpm
wget http://ftp.pbone.net/mirror/ftp.scientificlinux.org/linux/scientific/6.2/x86_64/os/Packages/pakchois-0.4-3.2.el6.x86_64.rpm
|
wget http://pkgs.repoforge.org/davfs2/davfs2-1.4.6-1.el6.rf.x86_64.rpm
wget ftp://dropbox.cloudlinux.com/pub/psbm/6.4/os/x86_64/RPMS/neon-0.29.3-2.el6.x86_64.rpm
wget http://ftp.pbone.net/mirror/ftp.scientificlinux.org/linux/scientific/6.2/x86_64/os/Packages/pakchois-0.4-3.2.el6.x86_64.rpm
для i686
1
2
3
|
wget http://pkgs.repoforge.org/davfs2/davfs2-1.4.6-1.el6.rf.i686.rpm
wget ftp.scientificlinux.org/linux/scientific/6.4/x86_64/os/Packages/neon-0.29.3-2.el6.i686.rpm
wget http://mirror.centos.org/centos/6/os/i386/Packages/pakchois-0.4-3.2.el6.i686.rpm
|
wget http://pkgs.repoforge.org/davfs2/davfs2-1.4.6-1.el6.rf.i686.rpm
wget ftp.scientificlinux.org/linux/scientific/6.4/x86_64/os/Packages/neon-0.29.3-2.el6.i686.rpm
wget http://mirror.centos.org/centos/6/os/i386/Packages/pakchois-0.4-3.2.el6.i686.rpm
Install:
для x64
1
|
rpm -i davfs2-1.4.6-1.el6.rf.x86_64.rpm neon-0.29.3-2.el6.x86_64.rpm pakchois-0.4-3.2.el6.x86_64.rpm
|
rpm -i davfs2-1.4.6-1.el6.rf.x86_64.rpm neon-0.29.3-2.el6.x86_64.rpm pakchois-0.4-3.2.el6.x86_64.rpm
для i686
1
|
rpm -i davfs2-1.4.6-1.el6.rf.i686.rpm neon-0.29.3-2.el6.i686.rpm pakchois-0.4-3.2.el6.i686.rpmwget http://pkgs.repoforge.org/davfs2/davfs2-1.4.6-1.el6.rf.i686.rpm
|
rpm -i davfs2-1.4.6-1.el6.rf.i686.rpm neon-0.29.3-2.el6.i686.rpm pakchois-0.4-3.2.el6.i686.rpmwget http://pkgs.repoforge.org/davfs2/davfs2-1.4.6-1.el6.rf.i686.rpm
Создаем точку монтирования:
Монтируем диск
1
2
3
4
5
6
7
|
mount -t davfs https://webdav.4shared.com /mnt/4shared/
Please enter the username to authenticate with server
https://webdav.4shared.com or hit enter for none.
Username: username@mail.com
Please enter the password to authenticate user username with server
https://webdav.4shared.com or hit enter for none.
Password:
|
mount -t davfs https://webdav.4shared.com /mnt/4shared/
Please enter the username to authenticate with server
https://webdav.4shared.com or hit enter for none.
Username: username@mail.com
Please enter the password to authenticate user username with server
https://webdav.4shared.com or hit enter for none.
Password:
!при этом в качестве логина используем адрес почты при регистрации, а не просто логин!
Сохраняем пароль
чтобы не набирать его каждый раз, в файле
просываем пароль в виде «точка монтирования пользователь пароль»
1
|
/mnt/4shared username pass
|
/mnt/4shared username pass