{"id":13464818,"url":"https://github.com/zxui/shell","last_synced_at":"2025-03-25T11:32:10.642Z","repository":{"id":217420084,"uuid":"66128506","full_name":"zxui/shell","owner":"zxui","description":":maple_leaf:  Centos运维常用工具","archived":false,"fork":false,"pushed_at":"2019-03-31T11:33:05.000Z","size":44,"stargazers_count":232,"open_issues_count":0,"forks_count":108,"subscribers_count":18,"default_branch":"master","last_synced_at":"2024-10-29T17:55:47.962Z","etag":null,"topics":["bash","centos","shell"],"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/zxui.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-08-20T04:39:21.000Z","updated_at":"2024-10-17T03:15:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"a556fac9-4bcd-4f62-9eee-5e6fbe117aff","html_url":"https://github.com/zxui/shell","commit_stats":null,"previous_names":["zxui/shell"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxui%2Fshell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxui%2Fshell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxui%2Fshell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxui%2Fshell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zxui","download_url":"https://codeload.github.com/zxui/shell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245454222,"owners_count":20617991,"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":["bash","centos","shell"],"created_at":"2024-07-31T14:00:50.925Z","updated_at":"2025-03-25T11:32:09.992Z","avatar_url":"https://github.com/zxui.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Centos运维常用工具\n# 前言\n\n本工具集包含有系统内核参数优化，ssh证书登录，网卡聚合，mongodb/mysql数据库安装，网络监控以及J2EE开发常用工具安装。以上工具集均为centos中常用的配置与工具，经过本人上一份工作，运维20多台分布式服务器，安装过50次以上linux的实践经验，收集整理出这套常用的服务器管理配置，在我后续的工作中发挥了巨大的价值，提升了N倍工作效率。\n当然这个过程中，离不开向专业的运维工程师请教，向度娘和谷哥咨询，后续也会不断的更新和改善这套工程集，使得工具包含的更加齐全和便捷。本工具集适用需要经常部署WEB环境的伙伴使用。\n\n申明：本人原本想成为一名Java工程师，却成为了一名前端工程师（h5/angularJs/css3），最后其实做的是全栈的工作。所以分享的内容不一定非常专业有深度，但是乐意将自己所经历过的东西与大家分享，希望可以给大家带来帮助，如有错误欢迎批评指正。\n\n另外：以上核心参数优化，比较适合WEB应用和数据库服务器的配置，其它用途的服务器建议先了解参数的含义，修改参数后再使用，因为不同的服务\n也许有更合适的参数。\n\n**下载代码后，给文件加可执行权限：chmod -R +x shell/**\n## 1. 功能列表\n--执行auto.sh--\n\n\u003cimg src=\"./images/1.png\" /\u003e\n\n## 2. 功能列表说明\n\n### 2.1 【System Environment】系统环境\n* Initialization System environment   系统内核参数优化，提升运行效率。\n* Configure SSH_Auth   配置SSH证书登录，authorized_keys是公钥，client_rsa是私钥，需要自己生成替换例子中的两个文件。\n* Configure Network-bonding   配置网卡聚合，需要把network/network-bonding.sh中聚合的IP改成自己的IP。\n\n### 2.2 【Common Databases】常用数据库\n* Install MongoDB_2.6   安装Mongodb2.6版本 （后续会将集群配置及优化脚本补上）\n* Install MongoDB_3.0   安装Mongodb3.0版本 （后续会将集群配置及优化脚本补上）\n* Install MySQL   安装Mysql 5.1.3版本\n\n### 2.3 【Network Monitoring】网络监控\n* Find Current Network-flow   显示当前服务器网卡流量状态\n* Install Url_Listening   这是一个比较奇葩的功能，一般用于解决限于水深火热之中的问题；用于监听一个URL，当返回的内容中，包含某个关键内容时，可执行指定的操作。\n### 2.4 【Common Tools】常用工具\n\n* Install Nginx1.6   安装Nginx1.6版本\n* Install Jdk1.7   安装JDK1.7版本，也可以修改app/java/install_JDK.sh中wget源的地址，改成自己需要安装的任意JDK版本\n* Install Maven3.3.9   安装Maven3.3.9版本\n* Install SVN1.8   安装Subverion1.8版本,如果想装其作为SVN服务端，可执行service httpd restart\n* Install Tomcat7   安装Tomcat 7版本\n* Install Tomcat8   安装Tomcat 8版本\n* Install Jenkins2.18   安装Jenkins2.18版本\n* Install Git1.7.1   安装Git1.7.1版本\n* Install Memcached1.4.4   安装Memcached1.4.4版本\n* Install Redis   安装Redis2.8.7版本\n* NFS-Server   安装NFS服务器\n* NFS-Client   安装NFS终端\n\n## 3. 操作说明\n输入相应的序号即可执行操作。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzxui%2Fshell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzxui%2Fshell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzxui%2Fshell/lists"}