首页
AI 平台
AI 推理服务
AI Infra
AI 应用实践
AI RCA
平台工程
Kubernetes
云原生
容器平台
交付平台
微服务治理
网关与流量治理
服务网格
可观测性
链路追踪
日志收集
指标监控
运维与Linux
运维
Linux
大数据
散宜生的个人博客
累计撰写
238
篇文章
累计创建
148
个标签
累计收到
0
条评论
栏目
首页
AI 平台
AI 推理服务
AI Infra
AI 应用实践
AI RCA
平台工程
Kubernetes
云原生
容器平台
交付平台
微服务治理
网关与流量治理
服务网格
可观测性
链路追踪
日志收集
指标监控
运维与Linux
运维
Linux
大数据
目 录
CONTENT
最新文章
2018-08-06
ansible playbook中的循环
ansible playbook中的循环 例: [root@server ansible]# vim loop.yml --- - hosts: testhosts user: root tasks: - name: change mod for file f
2018-08-06
1
0
0
运维
2018-08-05
ansible playbook
ansible playbook playbook 就相当于把模块写入到配置文件里 例: [root@server ~]# cd /etc/ansible/ [root@server ansible]# vim test.yml --- - hosts: client.test.com
2018-08-05
2
0
0
运维
2018-08-05
ansible 管理服务
ansible 管理服务 模块 yum 安装一个包 [root@server ~]# ansible client.test.com -m yum -a "name=httpd" 在name后面还可以加上state=installed,不加也能安装 管理服务 service 模块 [r
2018-08-05
0
0
0
运维
2018-08-04
ansible 远程执行脚本
ansible 远程执行脚本 首先创建一个shell脚本 [root@server ~]# vim /tmp/test.sh #!/bin/bash echo `date` > /tmp/ansible_test.txt 然后把该脚本分发到各个机器上 [root@server ~]#
2018-08-04
2
0
0
运维
2018-08-04
ansible 实现任务计划
ansible 实现任务计划 需用模块 cron 创建一个任务计划 [root@server ~]# ansible client.test.com -m cron -a "name=test_cron job='/bin/bash /usr/local/sbin/1.sh' weekday=6
2018-08-04
0
0
0
运维
2018-08-03
ansible 拷贝文件或目录
ansible 拷贝文件或目录 拷贝文件用到的模块是copy [root@server ~]# ansible testhosts -m copy -a "src=/etc/ansible dest=/tmp/ansibletest owner=root group=root mode=0644
2018-08-03
1
0
0
运维
2018-08-03
ansible 远程执行命令
ansible 远程执行命令 更改配置文件 建立一个主机组,可以针对这一整个组去执行命令 [root@server ~]# vim /etc/ansible/hosts [testhosts] 127.0.0.1 #192.168.56.128 //IP和域名选填一
2018-08-03
1
0
0
运维
2018-08-02
ansible 安装配置
ansible 安装配置 一、安装ansible 准备两台机器 192.168.56.128 192.168.56.133 只需在133上安装ansible即可 安装epel扩展源 [root@server ~]# yum install -y epel-release 安装ans
2018-08-02
0
0
0
运维
2018-06-11
nginx隐藏服务器信息
nginx隐藏服务器信息 nginx隐藏服务器信息需要重新编译安装 dockerfile如下: FROM alpine:3.9 LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>" ENV NGINX_VERSI
2018-06-11
11
0
0
运维
2018-06-10
ubuntu升级openssh
ubuntu升级openssh ubuntu 修复 openssh 版本过低漏洞 OpenSSH(OpenBSD Secure Shell)是OpenBSD计划组所维护的一套用于安全访问远程计算机的连接工具。该工具 是SSH协议的开源实现,支持对所有的传输进行加密,可有效阻止窃听、连接劫持以及其他网
2018-06-10
2
0
0
Linux
1
...
10
11
12
...
24