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
已回答 5 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南