Build a simple WebDAV server on Linux

Introduction

I started thinking that I wish I could set up a file server more easily and quickly during the contest. The goal is an environment that can be quickly accessed by a client like WinSCP, and file transfer and file opening can be done easily.

The process leading up to WebDAV

There are various types of file servers, but I would like to explain a few candidates that came to my mind.

So, I decided to look for a WebDAV server.

WsgiDAV was chosen

So I gave up on a major web server. When I looked it up, WsgiDAV was very easy. https://github.com/mar10/wsgidav

Installation

$ pip install wsgidav cheroot

Run

Operation check. It may be sudo depending on the environment.

$ wsgidav --host=0.0.0.0 --port=8080 --root=/home/ --auth anonymous

After that, try accessing with a browser or WinSCP.

After checking the operation, add nohup and execute.

$ nohup wsgidav --host=0.0.0.0 --port=8080 --root=/home/ --auth anonymous  > /dev/null 2>&1 &

Impressions

It was too easy.

Recommended Posts

Build a simple WebDAV server on Linux
Build a Samba server on Arch Linux
[Part 2] Let's build a web server on EC2 Linux
Run a Linux server on GCP
Build a Pypi cache server on QNAP
Build an NFS server on Arch Linux
Build a web server on your Chromebook
Set up a simple local server on your Mac
[Linux] [kernel module] Build and load a simple loadable kernel module
Create a (simple) REST server
Build Apache HTTP Server and Wildfly on Oracle Linux 8
[Part 1] Let's set up a Minecraft server on Linux
Create a simple textlint server
Source compile Apache2.4 (httpd 2.4.43) + PHP7.4 on Linux and build a Web server ―― 1. Apache introduction
How to build a Python environment on amazon linux 2
Source compile Apache2.4 (httpd 2.4.43) + PHP7.4 on Linux and build a Web server --2 PHP introduction
Source compile Apache2.4 (httpd 2.4.43) + PHP7.4 on Linux to build a Web server --3 MySQL 8.0 introduction
Install LAMP on Amazon Linux 2 and build a WordPress environment.
Build a python environment on CentOS 7.7 for your home server
Install Arch Linux on DeskMini A300
Create a Linux environment on Windows 10
Run TensorFlow2 on a VPS server
Write a super simple TCP server
Build a python3 environment on CentOS7
Host the network library Mirror for Unity on a Linux server
What I stumbled upon when using CodeIgniter on a Linux server
How to build my own Linux server
[UE4] Build DedicatedServer on Windows and Linux
Easily build a DNS server using Twisted
Build CGI Server running on Python 3 on Docker
Make Unity Accelerator a service on Linux
Build an LNPP environment on Amazon Linux 2
Install and Configure TigerVNC server on Linux
Dockerfile: Install Docker on your Linux server
Build jupyter notebook on remote server (CentOS)
[Linux] Build a jenkins environment with Docker
Create a Linux virtual machine on Windows
Build a Python + OpenCV environment on Cloud9
Run Jupyter notebook on a remote server
[Linux] Build a Docker environment with Amazon Linux 2
Build a CentOS Linux 8 environment with Docker and start Apache HTTP Server
Verification of how to periodically execute a script on a Linux server on Windows
Build Linux on a Windows environment. Steps to install Laradock and migrate
Build a proxy server with nginx on multiple remote servers using Ansible
Set up a simple HTTPS server in Python 3
Build a local server with a single command [Mac]
Build a LAMP environment on your local Docker
Set up a simple HTTPS server with asyncio
Build a WardPress environment on AWS with pulumi
Install Windows 10 from a Linux server with PXE
Open a ZIP created on Windows in Linux
Simply build a Python 3 execution environment on Windows
Build a Django environment on Raspberry Pi (MySQL)
Build a python environment with ansible on centos6
Start a simple Python web server with Docker
Effective and simple Web server security measures "Linux"
Linux server command
Build a Python development environment on your Mac
Start a process with a scheduling policy on Linux
Build a simple Python virtual environment without pyenv
Try to create a new command on linux