卸载群晖系统内置软件

卸载群晖内置软件

想要卸载内置软件之前,我们需要知道软件安装在系统中使用的软件包名称。可以通过下面执行命令来获得:

synopkg list

命令执行完毕之后,我们将会看到类似下面的日志输出结果:

AudioStation-7.0.1-5209: With Audio Station and its mobile app DS audio, you can enjoy high-quality playback, listen to radios, manage your music collection, create personal playlist, and share with friends anywhere.
OAuthService-1.1.2-0071: OAuth Service is an open standard protocol for account authorization and authentication. It allows resource owners to authorize third-party access to their server resources without sharing their credentials. The package adopts OAuth 2.0 standard.
...

我们要寻找的软件包名称,就是版本号前面的“英文部分”。在开始卸载软件之前,我们还需要先停止服务:

synopkg stop ActiveInsight

当执行完命令后,我们可以得到类似下面的结果:

{"action":"stop","beta":false,"error":{"code":0},"finished":true,"language":"enu","last_stage":"stopped","package":"ActiveInsight","pid":2622,"scripts":[{"code":0,"message":"","type":"stop"}],"stage":"stopped","status":"stop","status_description":"translate from systemd status","success":true,"username":"","version":"1.4.0-1706"}

当服务停止之后,我们可以使用 synopkg 工具进行软件卸载:

synopkg uninstall ActiveInsight

同样的,当命令执行完毕,我们将得到类似下面的结果:

{"action":"prepare","error":{"code":0},"stage":"prepare","success":true}

再次查看套件中心,Active Insight 消失了

同理,如果我们想卸载其他的软件,只需要再次参考上面进行操作即可。比如,我们可以卸载掉需要登录群晖账号才能使用的 Secure SignIn 服务。

默认“安全性”中的 Secure SignIn 选项

在默认的“安全性”配置页面中,会展示需要我们登录才能使用这个功能,同样使用 stopuninstall 大法:

synopkg stop SecureSignIn
synopkg uninstall SecureSignIn

当一切执行完毕后,原来“安全性”配置页面中的服务状态就变成了“停止”。

当卸载之后,安全性中的服务状态

其他卸载

SAN Manager

#SanManager 
synopkg stop ScsiTarget
synopkg uninstall ScsiTarget
​
#OAuthService
synopkg stop OAuthService
synopkg uninstall OAuthService
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值