chfs文件共享
wget http://iscute.cn/tar/chfs/2.0/chfs-linux-amd64-2.0.zip
unzip chfs-linux-amd64-2.0.zip # unzip 解压
sudo chmod u+rxw chfs # 赋予权利
apt install screen # 安装依赖
sudo screen -dmS chfs ./chfs --path="/home/" --port=8000 --rule="::|admin:admin:rw" # 启动服务,路径+端口可自行适配
netstat -tnulp | grep 8000 // 查看端口
--port 监听端口
--rule 指定用户权限,多个用户用|隔开,第一个为匿名用户具有读权限,第二个用户tandabao有读写权限(默认情况下匿名用户具有读写权限)
--file 指定配置文件,该文件可以不存在,待以后需要更改配置时使用
相关链接
https://www.cnblogs.com/clovershell/p/10109768.html
https://blog.csdn.net/qq_33451584/article/details/104008760
http://iscute.cn/chfs