install

yum install -y davfs2

password

echo "http://172.16.0.2:8080/ admin 123456" >> /etc/davfs2/secrets

mount

mkdir -p /aliyundriver
mount -t davfs http://172.16.0.2:8080/ /aliyundriver

chkconfig

ehco "mount -t davfs http://172.16.0.2:8080/ /aliyundriver" >> /etc/rc.local

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code