# shell **Repository Path**: wan-wu-qi-yi/shell ## Basic Information - **Project Name**: shell - **Description**: linux脚本 - **Primary Language**: Shell - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-11 - **Last Updated**: 2022-07-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # shell ## webdav_cli 用途:使用该脚本可在服务器中搭建WebDAV服务器(运行环境:nodejs),随后,joplin笔记可使用WebDAV方式同步笔记到服务器中。 **一键全自动部署** - webdav密码:为16位伪随机字符串 - webdav用户名:为6位伪随机字符串 - webdav 端口:默认1900 ``` chmod +x webdav_cli && ./webdav_cli 1 ``` ## WebDAVNginx.sh 用途:使用该脚本可在服务器中搭建具有webdav的nginx,可作为webdav服务器使用,joplin笔记可使用WebDAV方式同步笔记到服务器中。 主要做了哪些事情: 下载nginx 启用了webdav并添加webdav扩展模块 启用了http2.0和https,制作根证书,用于nginx的https配置等等 ### 使用 ``` wget https://gitee.com/photo-of-xiyin/shell/raw/master/WebDAVNginx.sh && chmod +x WebDAVNginx.sh && ./WebDAVNginx.sh 1 ```