更新 Syncthing文件同步搭建
@@ -75,12 +75,13 @@ systemctl status stdiscosrv
|
|||||||
# 二、客户端部署
|
# 二、客户端部署
|
||||||
|
|
||||||
- Linux
|
- Linux
|
||||||
|
[下载链接](https://syncthing.net/downloads/)
|
||||||
```
|
```
|
||||||
#创建启动用户
|
#创建启动用户
|
||||||
sudo useradd -r -s /bin/false -U -m -d /usr/share/st st
|
sudo useradd -r -s /bin/false -U -m -d /usr/share/st st
|
||||||
sudo usermod -a -G st $(whoami)
|
sudo usermod -a -G st $(whoami)
|
||||||
|
|
||||||
#下载安装包并解压:[下载链接](https://syncthing.net/downloads/)
|
#下载安装包并解压
|
||||||
tar -zxvf tar -zxvf syncthing-linux-amd64-v1.29.6.tar.gz -C /opt
|
tar -zxvf tar -zxvf syncthing-linux-amd64-v1.29.6.tar.gz -C /opt
|
||||||
mv /opt/syncthing-linux-amd64-v1.29.6 /opt/syncthing
|
mv /opt/syncthing-linux-amd64-v1.29.6 /opt/syncthing
|
||||||
sudo chown -R st:st /opt/syncthing
|
sudo chown -R st:st /opt/syncthing
|
||||||
|
Reference in New Issue
Block a user