[note]debian平台使用onedrive
debian平台使用onedrive
ondrive官方并没有提供linux平台的支持。故采用github开源项目ondrive
1. 安装
apt install onedrive
2. 登录
onedrive
根据提示进行操作
3. 配置onedrive
根据文档进一步的配置
文档中的部分内容
获取配置文件
wget https://raw.githubusercontent.com/abraunegg/onedrive/master/config -O ~/.config/onedrive/config
非文档内容
systemd
[Unit] Description=OneDrive Client for Linux After=network.target NetworkManager.service systemd-networkd.service iwd.service [Service] Type=simple LimitNPROC=500 LimitNOFILE=1000000 Restart=always ExecStartPre=/usr/bin/sleep 1s ExecStart=/usr/local/bin/onedrive --sync [Install] WantedBy=multi-user.target
需要代理可以增加以下内容
Environment="HTTP_PROXY=http://your.proxy.server:port" Environment="HTTPS_PROXY=http://your.proxy.server:port"
【推荐】还在用 ECharts 开发大屏?试试这款永久免费的开源 BI 工具!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步