使用VPS自建zotero同步的WebDAV服务
0 关键流程
a. Edit - Preferences - Sync - (去设置里注册zotero账号,开启同步)
b. 在必备的插件ZotFile 里进行设置!
Tools - ZotFile Preferences - Location of Files - 勾选 Attach stored copy of file(s)
这个很必须,不然附件无法同步
c. 回到 Edit - Preferences - Sync 进行设置,写入正确的地址。
d. 打开zotero移动端 - 也输入和之前相同的地址
博客地址:https://mustvv.com/archives/vpszoterowebdav
其他地址:https://zhuanlan.zhihu.com/p/484151790
作为初学的记录,应该会有更好的方法。之后学习新技能再记录。
1 WebDAV服务搭建
1.1 准备
服务器一台。这里使用GreenCloud:Debian 11 amd64 x86_64 GNU/Linux。
# 开启bbr
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf && echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf && sysctl -p && echo finish!
# 软件列表升级以及预装软件 并开启ufw
apt update -y && apt upgrade -y && apt install vim sudo tmux ufw git curl wget zip unzip net-tools -y && ufw --force enable && echo finish!
这里用到了ufw来管理暴露的端口,然而在使用docker的话,会存在一些问题。详情:
https://github.com/chaifeng/ufw-docker
https://mustvv.com/archives/dockerinstallhalo 3.6节
ufw关键步骤:
# 获取文件 可使用hub.fastgit.xyz 替换 github.com 来加快下载速度
sudo wget -O /usr/local/bin/ufw-docker https://hub.fastgit.xyz/chaifeng/ufw-docker/raw/master/ufw-docker
# 给予权限
chmod +x /usr/local/bin/ufw-docker
# 重启ufw </
最低0.47元/天 解锁文章
2591

被折叠的 条评论
为什么被折叠?



