AL2023. Mount webdav folder

0

Hi. We try to use new AMI with AL2023 and we need to mount webdav folder to our EC2. Previosly we use davfs2 (installed by yum package), but according that in AL2023 we can't install epel package - we can't install davfs2. Also I can't find any another way how to mount webdav folder and I can't find another way how to install davfs2.. I would be grateful if somebody advice me some way to mount webdav folder to AL2023. Thanks :)

DK
已提问 7 个月前343 查看次数
2 回答
0
已接受的回答

Hello.

Looking at this document, it seems that it is in the Fedora repository, so I added the Fedora repository and installed it using the following steps.
https://src.fedoraproject.org/rpms/davfs2

sudo vi /etc/yum.repos.d/fedora.repo

[fedora]
name=Fedora 37 - $basearch
#baseurl=http://download.example/pub/fedora/linux/releases/37/Everything/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-37&arch=$basearch
enabled=0
countme=1
metadata_expire=7d
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=https://getfedora.org/static/fedora.gpg
skip_if_unavailable=False

sudo dnf --enablerepo=fedora install davfs2 -y

I was able to install it using the above commands and settings, but I have not checked the mounting, so please check the operation yourself.

profile picture
专家
已回答 7 个月前
  • Many many thanks for your advice! It helps :)

0

I ended up building davfs2 and neon (dependency for davfs2) from source. I had to check out an older version of neon (the latest version 33 devel was incompatible with davfs2 as of November 2023) and disable the documentation build portion of the davfs2 Makefile. There were a few other steps like getting autopoint working, but now it works great!

jesse_m
已回答 6 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则