-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,13 +3,37 @@ | |
|
||
## 项目简介 | ||
- 快捷运维 kjyw 项目基于shell开发 | ||
- 主要的功能有: | ||
- 实现快速安装nginx、mysql、php、redis、nagios、iptables、运维经常使用的脚本等等... 想了解的自行下载研究使用.^_^! | ||
- 实现快速安装nginx、mysql、php、redis、nagios运维经常使用的脚本等等... | ||
- 相关使用文档:https://bbs.aqzt.com/forum-39-1.html | ||
- 简单 高效 快捷! | ||
- Linux下很多操作都可以脚本化,脚本化后,可以结合一些自动化工具,批量部署,比如可以用ansible来批量执行脚本,就可以批量部署服务器业务。 | ||
- 这里面的脚本是运维经常使用的脚本,方便大家使用! | ||
|
||
|
||
## 使用场景 | ||
- 某天,某人,因某业务,有redis部署需求,需要批量部署一组redis服务,端口从8001到8009, | ||
- 简单,马上开始部署,拷贝redis执行文件,配置文件,8001,再拷贝redis执行文件,修改配置文件,8002………… | ||
- 半小时后部署好了,完成! | ||
|
||
- 如果用脚本部署,只需要1分钟搞定,主要是编译redis时间! | ||
- 第一步 编译redis | ||
- curl -s https://git.oschina.net/aqztcom/kjyw/raw/master/redis/install.sh | sh | ||
- 第二步 拷贝redis执行文件,修改配置文件,并启动 | ||
- curl -s https://git.oschina.net/aqztcom/kjyw/raw/master/redis/redis_port.sh | sh -s install 8001 8009 | ||
- 完成! | ||
|
||
- 批量关闭redis端口 8001到8009 | ||
- curl -s https://raw.githubusercontent.com/aqzt/kjyw/master/redis/redis_port.sh | sh -s stop 8001 8009 | ||
- 批量启动redis端口 8001到8009 | ||
- curl -s https://raw.githubusercontent.com/aqzt/kjyw/master/redis/redis_port.sh | sh -s start 8001 8009 | ||
|
||
|
||
## 适合使用的职业 | ||
- 运维工程师 (方便运维工程师搭建业务生产环境) | ||
- 开发工程师 (方便开发工程师搭建开发环境) | ||
- 测试工程师 (方便测试工程师搭建测试环境) | ||
|
||
|
||
## 一起来参与,分享或是交流 | ||
- 如果想分享或是交流的话,请加 QQ 群: 7652650 (安全运维) | ||
- Email:[email protected] | ||
|