服务端使用 Docker 版思源进行伺服搭建配置 镜像地址 启动参数: docker run \ --detach \ --name siyuan \ -v /data/siyuan:/data/siyuan \ -p 6806:6806 \ -u 1000:1000 b3log/siyuan \ --ssl=true \ --resident=true \ --lang=zh_CN \ --workspace=/data/siyuan/ nginx 反代,需要配置反代 WebSocket,以下配置 HTTPS 和 wss upstream siyuan { server 127.0.0.1:6806; # ip + 端口 } map http_upgrade conn_upgrade { default upgrade; '' close; } server { listen 80; listen 443 ssl; server_name siyuan.cjzshilong.cn; access_log /var/log/nginx/siyuan.cjz.... 思源笔记Docker伺服 思源笔记
Linux磁盘分区 问题一: 如果遇到下述问题: [root@ostack-228-32 ~]# mount /dev/sdb /data/ mount: /dev/sdb is already mounted or /data busy 可以用此方式: [root@ostack-228-32 ~]# dmsetup status VMDATA--node9-VMDATA--node9: 0 46816583680 thin-pool 0 15633/4145152 0/182877280 - rw no_discard_passdown queue_if_no_space - 1024 VMDATA--node9-VMDATA--node9_tdata: 0 46816583680 linear VMDATA--node9-VMDATA--node9_tmeta: 0 33161216 linear centos-swap: 0 268435456 linear centos-root: 0 629145600 linear [root@ostack-228-32 ~]# dmse..... Linux磁盘分区 待分类