会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
繁星下的晴空
此博客 为原创 禁止转载 否则将承受法律责任
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2022年11月2日
check_vmtools.sh
摘要: #/bin/bashvm_tools_version='11.3.5.31214' for i in $(cat vmtools.ip.txt)dovmtools_v=`ssh root@$i vmtoolsd -v | awk {'print $5'}` if [[ $vm_tools_versi
阅读全文
posted @ 2022-11-02 09:06 繁星下的晴空
阅读(27)
评论(0)
推荐(0)
2022年11月1日
远程执行shell 命令
摘要: result=`ssh root@10.10.145.46 "df -h"`
阅读全文
posted @ 2022-11-01 09:49 繁星下的晴空
阅读(32)
评论(0)
推荐(0)
2022年10月27日
ansible-playbook 用法
摘要: cat install_zabbix_3.yaml name:#名称 hosts: new #hosts为文件名,new为hosts文件里得[new] tasks:#任务 - name: shell: | rpm -ivh http://repo.zabbix.com/zabbix/3.4/rhel
阅读全文
posted @ 2022-10-27 17:32 繁星下的晴空
阅读(60)
评论(0)
推荐(0)
2022年10月25日
lvc 创建并格式化更新
摘要: vgextend contos_mysql_data /dev/sdc vgcreate centos_mysql_data /dev/sdc lvcreate -n mysql_data -L 4000G centos_mysql_data xfs_freeze -f /dev/centos_my
阅读全文
posted @ 2022-10-25 13:58 繁星下的晴空
阅读(133)
评论(0)
推荐(0)
2022年9月29日
lvm 扩容
摘要: pvcreate /dev/sdb vgdisplay vgextend centos_srv-test-ansible /dev/sdb lvdisplaylvextend /dev/centos_srv-test-ansible/root /dev/sdb lvdisplay xfs_growf
阅读全文
posted @ 2022-09-29 13:33 繁星下的晴空
阅读(34)
评论(0)
推荐(0)
efk 使用
摘要: 1.创建索引 2.匹配elasticsearch 索引 3. 4.
阅读全文
posted @ 2022-09-29 10:47 繁星下的晴空
阅读(55)
评论(0)
推荐(0)
efk安装
摘要: efk 安装 elasticsearch 安装三台elasticsearch 10.16.1.24310.16.1.24410.16.1.245cat /etc/security/limits.conf | grep -v '#' | grep -v "^$"* hard nofile 102400
阅读全文
posted @ 2022-09-29 10:41 繁星下的晴空
阅读(147)
评论(0)
推荐(0)
2022年9月7日
编写执行远程脚本job
摘要: ssh -tt root@10.16.1.28 << eof cd /usr/local/tomcat/apache-tomcat-8-8080/bin ./startup.sh & exit eofecho "启动成功"
阅读全文
posted @ 2022-09-07 13:18 繁星下的晴空
阅读(35)
评论(0)
推荐(0)
2022年8月26日
MySQL主从安装
摘要: mysql 5.7 wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm yum -y install mysql57-community-release-el7-10.noarch.rpm y
阅读全文
posted @ 2022-08-26 14:58 繁星下的晴空
阅读(22)
评论(0)
推荐(0)
2022年8月16日
jenkins 搭建 使用node 发版
摘要: yum -y install net-tools yum -y install net-tools-2.0-0.25.20131004git.el7.x86_64.rpm tar zxvf jdk-8u271-linux-x64.tar.gz -C /usr/local/ tar xvf apach
阅读全文
posted @ 2022-08-16 09:09 繁星下的晴空
阅读(453)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告