Closed taotieren closed 11 months ago
❯ ps -ef| grep cloud
taotier+ 7877 6019 0 22:20 pts/1 00:00:00 bash /usr/bin/clouddrive
taotier+ 7878 7877 0 22:20 pts/1 00:00:00 ./clouddrive
taotier+ 7887 7878 0 22:20 pts/1 00:00:00 ./clouddrive Start-Service
taotier+ 11970 8172 0 22:37 pts/2 00:00:00 grep --color cloud
linux 的 dotnet 编译能否编译成单文件呢?
参考:https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=logicanalyzer-git
dotnet publish -r linux-x64 -c Release -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true -p:DebugType=None -p:DebugSymbols=false -o
使用 5.7.0-pre 测试也有同样的问题
已解决,AUR 包 https://aur.archlinux.org/packages/clouddrive 安装方式
yay -Syu clouddrive
用户身份运行并设置开机自启(会判断联网状态,有网络后启动)
systemctl --user enable --now clouddrive.service
root 身份运行并设置开机自启(会判断联网状态,有网络后启动)
systemctl enable --now clouddrive.service
支持 IPv4 和 IPv6 访问
xdg-open http://127.0.0.1:19798
xdg-open [::]:19798
xdg-open http://localhost:19798/
注意:如果浏览器访问很卡或很慢的话,这个时候切换到浏览器的无痕模式进行访问即可。
查看运行状态
systemctl --user status clouddrive.service
systemctl status clouddrive.service
登陆 clouddrive 账号后设置挂载盘时注意
查看当前用户 UID 或其他用户 UID 避免因为权限问题无法访问。设置对应 UID 即可。
id -u
id -u username
使用 5.7.0-pre 测试也有同样的问题
压缩包里面的 js 文件使用大量的反斜杠,在 linux 设备下是无需这么处理,
AUR 中进行了一些删除操作。
sed -i 's/\\//g' "${pkgdir}/${_install_path}"/wwwroot/*.js
我的推荐码:
7jp9Aajq
有需要的可以填
将其打包到 AUR clouddrive 仓库,配置环境如下
上面是包结构和网络配置信息,有 IPv6 网络环境 进本地端口一直卡住的状态。 是什么原因呢?是 IPv6 影响的吗?如果是怎么修复呢?
访问地址从
http://127.0.0.1:19798/
和http://[::]:19798/
或http://localhost:19798/
之间来回切换的时候会有一瞬间显示登陆页面,然后就是一直加载的状态。用的浏览器是火狐最新版本。chrome 也是一样的情况。