Commit 32cdf37 1 parent eafcad3 commit 32cdf37 Copy full SHA for 32cdf37
File tree 1 file changed +26
-2
lines changed
1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change 3
3
4
4
## 项目简介
5
5
- 快捷运维 kjyw 项目基于shell开发
6
- - 主要的功能有:
7
- - 实现快速安装nginx、mysql、php、redis、nagios、iptables、运维经常使用的脚本等等... 想了解的自行下载研究使用.^_ ^!
6
+ - 实现快速安装nginx、mysql、php、redis、nagios运维经常使用的脚本等等...
8
7
- 相关使用文档:https://bbs.aqzt.com/forum-39-1.html
9
8
- 简单 高效 快捷!
9
+ - Linux下很多操作都可以脚本化,脚本化后,可以结合一些自动化工具,批量部署,比如可以用ansible来批量执行脚本,就可以批量部署服务器业务。
10
10
- 这里面的脚本是运维经常使用的脚本,方便大家使用!
11
11
12
12
13
+ ## 使用场景
14
+ - 某天,某人,因某业务,有redis部署需求,需要批量部署一组redis服务,端口从8001到8009,
15
+ - 简单,马上开始部署,拷贝redis执行文件,配置文件,8001,再拷贝redis执行文件,修改配置文件,8002…………
16
+ - 半小时后部署好了,完成!
17
+
18
+ - 如果用脚本部署,只需要1分钟搞定,主要是编译redis时间!
19
+ - 第一步 编译redis
20
+ - curl -s https://git.oschina.net/aqztcom/kjyw/raw/master/redis/install.sh | sh
21
+ - 第二步 拷贝redis执行文件,修改配置文件,并启动
22
+ - curl -s https://git.oschina.net/aqztcom/kjyw/raw/master/redis/redis_port.sh | sh -s install 8001 8009
23
+ - 完成!
24
+
25
+ - 批量关闭redis端口 8001到8009
26
+ - curl -s https://raw.githubusercontent.com/aqzt/kjyw/master/redis/redis_port.sh | sh -s stop 8001 8009
27
+ - 批量启动redis端口 8001到8009
28
+ - curl -s https://raw.githubusercontent.com/aqzt/kjyw/master/redis/redis_port.sh | sh -s start 8001 8009
29
+
30
+
31
+ ## 适合使用的职业
32
+ - 运维工程师 (方便运维工程师搭建业务生产环境)
33
+ - 开发工程师 (方便开发工程师搭建开发环境)
34
+ - 测试工程师 (方便测试工程师搭建测试环境)
35
+
36
+
13
37
## 一起来参与,分享或是交流
14
38
- 如果想分享或是交流的话,请加 QQ 群: 7652650 (安全运维)
15
39
You can’t perform that action at this time.
0 commit comments