{"id":13844894,"url":"https://github.com/kuoruan/shell-scripts","last_synced_at":"2025-05-15T18:06:26.079Z","repository":{"id":44382225,"uuid":"88348254","full_name":"kuoruan/shell-scripts","owner":"kuoruan","description":"Linux Shell Scripts","archived":false,"fork":false,"pushed_at":"2024-08-05T04:51:40.000Z","size":16507,"stargazers_count":1184,"open_issues_count":15,"forks_count":547,"subscribers_count":61,"default_branch":"master","last_synced_at":"2025-04-07T22:11:14.943Z","etag":null,"topics":["bbr","kcptun","shell"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kuoruan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-15T13:21:44.000Z","updated_at":"2025-04-04T03:28:44.000Z","dependencies_parsed_at":"2024-11-08T05:11:11.108Z","dependency_job_id":"c2092fa8-17a1-4f9c-a247-03b7a7bb7285","html_url":"https://github.com/kuoruan/shell-scripts","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuoruan%2Fshell-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuoruan%2Fshell-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuoruan%2Fshell-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuoruan%2Fshell-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kuoruan","download_url":"https://codeload.github.com/kuoruan/shell-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254394719,"owners_count":22063984,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bbr","kcptun","shell"],"created_at":"2024-08-04T17:03:01.757Z","updated_at":"2025-05-15T18:06:26.052Z","avatar_url":"https://github.com/kuoruan.png","language":"Shell","funding_links":[],"categories":["Shell","Shell (473)"],"sub_categories":[],"readme":"# Linux Shell Scripts\n\n一些 Linux 脚本\n\n```sh\n$ tree\n├── kcptun\n│   └── kcptun.sh # kcptun 一键安装脚本\n└── ovz-bbr\n    └── ovz-bbr-installer.sh # OpenVZ BBR 一键安装脚本\n```\n\n## Kcptun 一键安装脚本\n\n* Ubuntu：\n```sh\napt install python-is-python3 -y\nwget --no-check-certificate -O kcptun.sh https://github.com/kuoruan/shell-scripts/raw/master/kcptun/kcptun.sh\nsh kcptun.sh\n```\n\n\n* 其他Linux安装命令：\n```sh\nwget --no-check-certificate -O kcptun.sh https://github.com/kuoruan/shell-scripts/raw/master/kcptun/kcptun.sh\nsh kcptun.sh\n```\n\n* 帮助信息\n\n```sh\n# sh kcptun.sh help\n请使用: kcptun.sh \u003coption\u003e\n\n可使用的参数 \u003coption\u003e 包括:\n\n    install          安装\n    uninstall        卸载\n    update           检查更新\n    manual           自定义 Kcptun 版本安装\n    help             查看脚本使用说明\n    add              添加一个实例, 多端口加速\n    reconfig \u003cid\u003e    重新配置实例\n    show \u003cid\u003e        显示实例详细配置\n    log \u003cid\u003e         显示实例日志\n    del \u003cid\u003e         删除一个实例\n\n注: 上述参数中的 \u003cid\u003e 可选, 代表的是实例的ID\n    可使用 1, 2, 3 ... 分别对应实例 kcptun, kcptun2, kcptun3 ...\n    若不指定 \u003cid\u003e, 则默认为 1\n\nSupervisor 命令:\n    service supervisord {start|stop|restart|status}\n                        {启动|关闭|重启|查看状态}\nKcptun 相关命令:\n    supervisorctl {start|stop|restart|status} kcptun\u003cid\u003e\n                  {启动|关闭|重启|查看状态}\n```\n\n## OpenVZ BBR 一键安装脚本\n\n* 安装命令：\n\n```sh\nwget --no-check-certificate -O ovz-bbr-installer.sh https://github.com/kuoruan/shell-scripts/raw/master/ovz-bbr/ovz-bbr-installer.sh\nsh ovz-bbr-installer.sh\n```\n\n* 卸载命令\n\n```sh\nsh ovz-bbr-installer.sh uninstall\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuoruan%2Fshell-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkuoruan%2Fshell-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuoruan%2Fshell-scripts/lists"}