摘要: #/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)
摘要: result=`ssh root@10.10.145.46 "df -h"` 阅读全文
posted @ 2022-11-01 09:49 繁星下的晴空 阅读(32) 评论(0) 推荐(0)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 1.创建索引 2.匹配elasticsearch 索引 3. 4. 阅读全文
posted @ 2022-09-29 10:47 繁星下的晴空 阅读(55) 评论(0) 推荐(0)
摘要: 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 繁星下的晴空 阅读(148) 评论(0) 推荐(0)
摘要: 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)
摘要: 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)
摘要: 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)