{"id":13525490,"url":"https://github.com/eryajf/magic-of-sysuse-scripts","last_synced_at":"2025-04-09T10:09:26.635Z","repository":{"id":49360056,"uuid":"187129522","full_name":"eryajf/magic-of-sysuse-scripts","owner":"eryajf","description":"🪄 运维外挂小工具","archived":false,"fork":false,"pushed_at":"2021-10-09T02:25:55.000Z","size":31,"stargazers_count":285,"open_issues_count":0,"forks_count":72,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-02T08:11:41.551Z","etag":null,"topics":["eryajf","nginx","node","shell","shell-script","tomcat"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eryajf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-17T02:01:05.000Z","updated_at":"2025-02-27T11:44:13.000Z","dependencies_parsed_at":"2022-09-01T23:12:02.408Z","dependency_job_id":null,"html_url":"https://github.com/eryajf/magic-of-sysuse-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eryajf%2Fmagic-of-sysuse-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eryajf%2Fmagic-of-sysuse-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eryajf%2Fmagic-of-sysuse-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eryajf%2Fmagic-of-sysuse-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eryajf","download_url":"https://codeload.github.com/eryajf/magic-of-sysuse-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248018061,"owners_count":21034048,"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":["eryajf","nginx","node","shell","shell-script","tomcat"],"created_at":"2024-08-01T06:01:19.311Z","updated_at":"2025-04-09T10:09:26.615Z","avatar_url":"https://github.com/eryajf.png","language":"Shell","funding_links":[],"categories":["Shell","Shell-Scripts"],"sub_categories":[],"readme":"很开心今天来分享运维外挂的2.0版本。\n\n有了前边[1.0](https://github.com/eryajf/shellabout/blob/master/yunweiwaigua.sh \"1.0\")的基础，今天所见的2.0版本基本上就是水到渠成了。\n\n最大的变化，就是从原来的单层选择菜单，丰富到了两层，以实现更丰富的功能需求。\n\n## 1，架构图。\n\n最新版本脚本架构如下所示：\n\n![运维外挂2.0版本架构草图](https://raw.githubusercontent.com/eryajf/t/master/img20190517103350.jpg \"运维外挂2.0版本架构草图\")\n\n`我这里提供的脚本以及内容都是提供出来一个思路，各位可以根据自己的实际需求，对脚本进行更改定制，从而符合自己的生产情况。`\n\n## 2，详细说明。\n\n### 内容介绍。\n\n完成之后的内容所包含的功能如下：\n\n- 总入口\n - 1，安装\n   - 1，nginx-1.14.0\n   - 2，jdk-1.8\n   - 3，tomcat-8\n   - 4，mysql-5.6\n   - 5，node-10.6\n   - 6，maven-3.3\n   - 7，php-7.0\n   - 8，zabbix-agent-3.4\n   - 9，py-3.6\n   - 10，redis-4.0.6\n   - 11，trash-autotrash\n   - 12，jdk-1.7\n   - 13，暂时未定义\n - 2，初始化\n   - 1，初始化模板克隆的虚拟机\n   - 2，初始化全新的centos\n   - 3，zabbix-agent-3.4\n   - 4，安装配置vmtools\n   - 5，更改主机IP。\n   - 6，更改主机名。\n   - 7，新购阿里云服务器初始化。\n - 3，优化\n   - 1，暂未定义\n   - 2，暂未定义\n   - 3，暂未定义\n - 4，其他\n   - 1，暂未定义\n   - 2，暂未定义\n   - 3，暂未定义\n\n### 使用说明\n\n首先将外挂脚本放置在nginx配置的目录下，然后根据文中对应的包，将对应的包放置到对应的位置，详细部署方案，[参考这里。](http://www.eryajf.net/1395.html \"参考这里。\")\n\n\u003e 只要是网络可达外挂服务的服务器，都可以通过`curl 192.168.10.10/a | sh`进行调用。\n\u003e\n\u003e 所有请求进来首先通过总入口进入，然后分出四个菜单供选择，接着在对应菜单中选择对应方法即可执行，若选择`\u003cCancel\u003e`则再返回到总入口当中。\n\n![](https://raw.githubusercontent.com/eryajf/t/master/img/GIF.gif)\n\n\n## 3，对比1.0。\n\nv2.0主脚本可[`点我`](https://github.com/eryajf/magic-of-sysuse-scripts/blob/master/a)跳转查看。\n\n更新日志：\n\n食用方法不变，主要是更新了内容并优化了相关脚本内容\n\n### 更新内容如下\n- 1，新增二级菜单选项，从而让功能更加清晰可控。\n- 2，新增阿里云服务器初始化选项，新建一台阿里云服务器之后，一键执行，即可投入使用。\n- 3，优化安装菜单中的各个安装方法。\n- 4，更改原whiptail使用if判断为case判断，使阅读更加简洁。\n- 5，增加输出颜色控制，使输出更加显眼。\n\n## 星路历程\n\n[![Stargazers over time](https://starchart.cc/eryajf/magic-of-sysuse-scripts.svg)](https://starchart.cc/eryajf/magic-of-sysuse-scripts)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feryajf%2Fmagic-of-sysuse-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feryajf%2Fmagic-of-sysuse-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feryajf%2Fmagic-of-sysuse-scripts/lists"}