01 2021 档案

摘要:check_mysql.sh #!/bin/bash HOST='127.0.0.1' PORT='3306' CONN="mysqladmin -h ${HOST} -P ${PORT}" if [ $# -ne "1" ]; then echo "arg error!" fi case $1 i 阅读全文
posted @ 2021-01-28 21:29 那就这样吧~ 阅读(89) 评论(0) 推荐(0)
摘要:#!/bin/sh # # nginx - this script starts and stops the nginx daemon # # chkconfig: - 85 15 # description: NGINX is an HTTP(S) server, HTTP(S) reverse 阅读全文
posted @ 2021-01-28 21:26 那就这样吧~ 阅读(120) 评论(0) 推荐(0)
摘要:1、安装 环境 jdk+tomcat # 免安装 jdk-8u261-linux-x64.tar.gz # 安装 jdk-8u261-linux-x64.rpm tomcat软件 # 免安装 apache-tomcat-8.5.60.tar.gz 安装 jdk # rpm包 [root@node10 阅读全文
posted @ 2021-01-18 22:57 那就这样吧~ 阅读(145) 评论(0) 推荐(0)
摘要:linux查看设备序列号 dmidecode -t 1 | grep 'Serial Number' | awk -F ':' '{print $2}' | sed 's/ //g' linux查看内存的插槽数,已经使用多少插槽,每条内存多大 dmidecode|grep -A5 "Memory D 阅读全文
posted @ 2021-01-13 09:56 那就这样吧~ 阅读(118) 评论(0) 推荐(0)
摘要:执行脚本: # 语法:bash $0 $password [root@localhost ~]# bash mysql_5.7.30_install.sh 123456 cat mysql_5.7.30_install.sh #!/bin/bash if [ -e $1 ]; then green 阅读全文
posted @ 2021-01-04 21:44 那就这样吧~ 阅读(82) 评论(0) 推荐(0)
摘要:###1、运行情况查看 根据情况选择合适的存储引擎 # 查看所有运行情况,加global为运行至今 show status; # 查看经历多少查询 show global status like '%Com_select%'; # 查看经历多少插入 show global status like ' 阅读全文
posted @ 2021-01-03 15:58 那就这样吧~ 阅读(87) 评论(0) 推荐(0)