1、系统更新
#该命令是检查系统组件包依赖关系是否有错误
sudo apt install -f
#该命令是清理依赖有问题的包
sudo apt autoremove
#该命令是清理本地仓库缓存
sudo rm -rf /var/lib/apt/lists/*
#该命令是更新本地仓库缓存
sudo apt update
#手动更新系统版本
sudo apt dist-upgrade
2、服务相关
#启动/停⽌/重启桌⾯服务
sudo systemctl start/stop/restart lightdm
#启动/停⽌/重启ssh服务
sudo systemctl start/stop/restart ssh
#启动/停⽌/重启⽹络服务
sudo systemctl start/stop/restart networking
#启动/停⽌/重启⽹络管理服务
sudo systemctl start/stop/restart NetworkManager
|
|
|
|
|
|
|
|
版权说明:论坛帖子主题均由合作第三方提供并上传,若内容存在侵权,请进行举报