admin管理员组

文章数量:1532000

one-click-script

原始仓库:https://github/spiritLHLS/one-click-installation-script

如果脚本有任何问题或者任何修复系统的需求,可在issues中提出,有空会解决或者回答

一键修复脚本

运行所有一键修复脚本前注意看说明,以及保证服务器无重要数据,运行后造成的一切后果作者不负任何责任,自行评判风险!

一键尝试修复apt源
  • 支持系统:Ubuntu 12+,Debian 6+
  • 修复apt源broken损坏
  • 修复apt源锁死
  • 修复apt源公钥缺失
  • 修复替换系统可用的apt源列表,国内用阿里源,国外用官方源
  • 修复本机的Ubuntu系统是EOL非长期维护的版本(奇数或陈旧的偶数版本),将替换为Ubuntu官方的old-releases仓库以支持apt的使用
curl -L https://raw.githubusercontent/spiritLHLS/one-click-installation-script/main/package.sh -o package.sh && chmod +x package.sh && bash package.sh
一键尝试修复系统时间
  • 支持系统:Ubuntu 18+,Debian 8+,centos 7+,Fedora,Almalinux 8.5+
  • 检测修复本机系统时间,对应时区时间,如果相差超过300秒的合理范围则校准时间
curl -L https://raw.githubusercontent/spiritLHLS/one-click-installation-script/main/modify_time.sh -o modify_time.sh && chmod +x modify_time.sh && bash modify_time.sh
一键尝试修复sudo: unable to resolve host xxx: Name or service not known</

本文标签: 脚本一键环境系统Linux