会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
windman
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
2021年2月28日
httpd2.4.51在线编译安装脚本
摘要: [root@27 ~]# cat install-httpd.sh #!/bin/bash PS3="请选择MPM模式:" cpus=`lscpu | grep 'CPU(s)'| head -1 | awk '{print $2}'` dist=`lsb_release -a | grep 'Di
阅读全文
posted @ 2021-02-28 20:46 windman
阅读(348)
评论(0)
推荐(0)
2021年2月22日
公钥推送脚本
摘要: #!/bin/bash IP=" 10.0.0.18 10.0.0.28 " pwd=xyz #export SSHPASS=xyz [ -f /root/.ssh/id_rsa ] || ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa &> /dev/null &
阅读全文
posted @ 2021-02-22 22:13 windman
阅读(68)
评论(0)
推荐(0)
2021年2月18日
ansible常用模块介绍及简单案例(笔记)
摘要: ##模块用法查看: ansible-doc module_name 详细用法 ansible-doc -s module_name 简单用法 ##常用模块 ping: 测试模块,not icmp ping,测试ansible之间的ssh通信 command: 默认模块 chdir、argv、crea
阅读全文
posted @ 2021-02-18 17:14 windman
阅读(188)
评论(0)
推荐(0)
2021年1月30日
mariadb编译安装脚本
摘要: ##脚本 #!/bin/bash OK_COLOR="echo -e \e[1;32m" ERR_COLOR="echo -e \e[1;35m" END="\e[0m" MARIADB="mariadb-10.2.31" #安装依赖包 for package in \ bison bison-de
阅读全文
posted @ 2021-01-30 01:38 windman
阅读(103)
评论(0)
推荐(0)
2021年1月17日
reset脚本
摘要: #!/bin/bash #禁用SElinux sed -ri.bak '/^SELINUX.ing/s/(.)=(.*)/\1=disabled/' /etc/selinux/config #关闭防火墙 systemctl disable --now firewalld > /dev/null #修
阅读全文
posted @ 2021-01-17 22:50 windman
阅读(91)
评论(0)
推荐(0)
上一页
1
2
3
公告