Joplin是一款开源的笔记类软件,支持Windows, macOS, Linux, Android and iOS等多种客户端。本文提供一套自有且完全开源的笔记系统的搭建过程,基于wsgidav作为服务端,提供同步功能;joplin作为客户端,提供编辑及浏览功能。
服务端
安装
1 | |
配置
1 | |
启动
1 | |
服务化
service
| vi /etc/systemd/system/wsgidav.service |
|---|
| [Unit] Description=WsgiDAV WebDAV server After=network.target [Service] Type=simple ExecStart=/bin/sh -c ‘wsgidav –host=0.0.0.0 –port=8002 –root=/root/wsgidav –auth=pam-login’ StandardOutput=syslog StandardError=syslog SyslogIdentifier=wsgidav_service [Install] WantedBy=muti-user.target |
rsyslog
| vi /etc/rsyslog.d/wsgidav_service.conf |
|---|
| if $programname == ‘wsgidav_service’ then /var/log/wsgidav.log & stop |
启动
1 | |
客户端
windows
1 | |
iphone
1 | |