Skip to content

Silentely/Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Demo

日常工具箱 - by Silentely

佛系维护 自用脚本 Shell

🔧 纯自用,佛系维护,如果有任何问题,请自己解决 🔧
🕙 最后更新: 2025-06-08

📚 Shell脚本使用说明

🔐 install-system-information.sh

脚本概述:

╭──────────────────────────────────────────╮
│    系统信息美化工具 FastFetch 自动安装   │
╰──────────────────────────────────────────╯

功能:

  • 🔍 自动检测系统架构并选择合适的安装包
  • 🌐 智能判断中国大陆网络环境,使用镜像加速下载
  • 🎨 自动配置美观的系统信息显示界面
  • 🔄 为Debian 11提供neofetch替代方案
  • 📋 显示系统详细硬件与软件信息,美化登录界面

使用方法:

bash <(curl -sSL https://raw.githubusercontent.com/Silentely/Demo/refs/heads/main/Sh/install-latest-ssh.sh)

🇨🇳 LocaleCN.sh

脚本概述:

 ______     __  __     __     __   __     ______     ______     ______    
/\  ___\   /\ \_\ \   /\ \   /\ "-.\ \   /\  ___\   /\  ___\   /\  ___\   
\ \ \____  \ \  __ \  \ \ \  \ \ \-.  \  \ \  __\   \ \___  \  \ \  __\   
 \ \_____\  \ \_\ \_\  \ \_\  \ \_\\"\_\  \ \_____\  \/\_____\  \ \_____\ 
  \/_____/   \/_/\/_/   \/_/   \/_/ \/_/   \/_____/   \/_____/   \/_____/ 

功能:

  • 🇨🇳 一键设置系统全局语言环境为简体中文
  • 🖥️ 支持各种主流Linux发行版(CentOS、Debian、Ubuntu等)
  • 🔄 自动备份原有语言配置,确保操作安全
  • 📦 智能安装必要的中文语言包
  • 🛠️ 自动处理各发行版的配置文件差异
  • 🚫 适配不同操作系统的安装方式,自动处理异常情况

使用方法:

bash <(curl -sSL https://raw.githubusercontent.com/Silentely/Demo/refs/heads/main/Sh/LocaleCN.sh)

🌍 gost.sh

脚本概述:

┌─────────────────────────┐
│  Gost代理服务器安装脚本 │
└─────────────────────────┘

功能: 自动检测系统环境、获取最新版本的Gost并进行安装

使用方法:

bash <(curl -sSL https://raw.githubusercontent.com/Silentely/Demo/refs/heads/main/Sh/gost.sh)

💾 dd-od.sh

脚本概述:

╔═══════════════════╗
║  系统重装神器     ║
╚═══════════════════╝

功能: 支持多种Linux发行版和Windows系统的一键网络重装

使用方法:

bash <(curl -sSL https://raw.githubusercontent.com/Silentely/Demo/refs/heads/main/Sh/dd-od.sh)

🧹 cleanup.sh

脚本概述:

⚡️ 系统垃圾清理加速器 ⚡️

功能: 清理系统缓存、日志、临时文件等,释放磁盘空间

使用方法:

bash <(curl -sSL https://raw.githubusercontent.com/Silentely/Demo/refs/heads/main/Sh/cleanup.sh)

🎨 terminal_optimizer.sh

脚本概述:

╔════════════════════════════════════════════╗
║   终端优化美化脚本(Terminal Optimizer)  ║
╚════════════════════════════════════════════╝

功能:

  • 🖥️ 优化与美化 Linux 终端体验
  • 🛠️ 自动检测主流发行版和包管理器
  • 🔧 快速配置炫酷 PS1、Git 集成与常用别名
  • 📝 历史命令增强,提升效率
  • 🧹 一键还原、无残留
  • 支持 root 和普通用户

使用方法:

bash <(curl -sSL https://raw.githubusercontent.com/Silentely/Demo/refs/heads/main/Sh/terminal_optimizer.sh)

🔑 ssh_key.sh

脚本概述:

 ___ ___ _  _   _  _____   __
/ __/ __| || | | |/ / __| _\ \
\__ \__ \ __ | | ' <\__ \| | |
|___/___/_||_| |_|\_\___/ | |_|
                          \__/

功能:

  • 🛡️ 配置SSH密钥登录
  • 🔒 管理SSH安全设置
  • 🔧 支持多种登录方式配置

使用方法:

bash <(curl -sSL https://raw.githubusercontent.com/Silentely/Demo/refs/heads/main/Sh/ssh_key.sh)

💫 swap.sh

脚本概述:

 ____  _      ___    ____  
/ ___|| |    / _ \  |  _ \ 
\___ \| |   | | | | | |_) |
 ___) | |___| |_| | |  __/ 
|____/|_____|\__\_\ |_|    

功能:

  • 一键添加或删除swap分区
  • 自定义swap大小

使用方法:

bash <(curl -sSL https://raw.githubusercontent.com/Silentely/Demo/refs/heads/main/Sh/swap.sh)

🌐 http_install.sh

脚本概述:

HTTP代理自动配置工具

功能: 自动安装和配置Squid HTTP代理服务器

使用方法:

bash <(curl -sSL https://raw.githubusercontent.com/Silentely/Demo/refs/heads/main/Sh/http_install.sh)

🔄 ChangeMirrors.sh

脚本概述:

┌─────────────────────────┐
│     镜像源切换工具      │
└─────────────────────────┘

功能: 自动切换系统软件源到更快的镜像

使用方法:

bash <(curl -sSL https://raw.githubusercontent.com/Silentely/Demo/refs/heads/main/Sh/ChangeMirrors.sh)

🧼 clean_snap.sh

脚本概述:

Snap包清理小工具

功能: 删除系统中不再需要的旧版本snap包

使用方法:

bash <(curl -sSL https://raw.githubusercontent.com/Silentely/Demo/refs/heads/main/Sh/clean_snap.sh)

🐳 DockerInstallation.sh

脚本概述:

╭───────────────────╮
│ Docker一键安装脚本 │
╰───────────────────╯

功能: 自动安装和配置Docker环境

使用方法:

bash <(curl -sSL https://raw.githubusercontent.com/Silentely/Demo/refs/heads/main/Sh/DockerInstallation.sh)

🖥️ Network-Reinstall-System-Modify.sh

脚本概述:

 _   _ _____ _____        _____  ____  
| \ | | ____|_   _|      |  __ \|  _ \ 
|  \| |  _|   | |  _____  | |  | | |_) |
| . ` | |___  | | |_____| | |  | |  _ < 
|_|\_\|_____| |_|         |_|  |_|_| \_\

功能: 通过网络一键重装各种Linux/Windows系统

使用方法:

bash <(curl -sSL https://raw.githubusercontent.com/Silentely/Demo/refs/heads/main/Sh/Network-Reinstall-System-Modify.sh)

📊 脚本使用统计

# 使用频率统计 (仅供参考)
statistics = {
    'install-latest-ssh.sh': '★★★★★',
    'LocaleCN.sh': '★★★★★',
    'cleanup.sh': '★★★★☆',
    'terminal_optimizer.sh': '新脚本待统计',
    'ssh_key.sh': '★★★★☆',
    'swap.sh': '★★★☆☆',
    'ChangeMirrors.sh': '★★★☆☆',
    'DockerInstallation.sh': '★★★☆☆',
    'dd-od.sh': '★★☆☆☆',
    'gost.sh': '★★☆☆☆',
    'http_install.sh': '★★☆☆☆',
    'clean_snap.sh': '★☆☆☆☆',
    'Network-Reinstall-System-Modify.sh': '★☆☆☆☆'
}

License

  • 本项目的所有代码除另有说明外,均按照 MIT License 发布。
  • 本项目的README.MD,wiki等资源基于 CC BY-NC-SA 4.0 这意味着你可以拷贝、并再发行本项目的内容,
    但是你将必须同样提供原作者信息以及协议声明。同时你也不能将本项目用于商业用途,按照我们狭义的理解
    (增加附属条款),凡是任何盈利的活动皆属于商业用途
  • 请在遵守当地相关法律法规的前提下使用本项目。

贡献图示

Made with ❤️ by Silentely

About

日常工具箱

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Contributors 2

  •  
  •