05 2017 档案

摘要:下载压力测试工具webbench 安装依赖包 注:这个包没装会报下面错误 安装webbench 注:make && make install 的时候报下面的错 执行 mkdir -p /usr/local/man/man1 添加环境变量 参数介绍 用法 --每秒钟响应请求数:Speed=96804  阅读全文
posted @ 2017-05-27 15:27 vick.wang 阅读(361) 评论(0) 推荐(0)
摘要:#!/bin/bash clear if [[ $# -eq 0 ]];then echo -e '\E[33m'"###########系统分析##########" fi output=$(tput sgr0) os=$(uname -o) echo -e '\E[32m'"系统类型:"$output $os os_name=$(cat /etc/issue |grep -e ... 阅读全文
posted @ 2017-05-05 14:12 vick.wang 阅读(278) 评论(0) 推荐(0)
摘要:#重启ipmi服务 #重启ipmi服务 #将 channel 1 设置为静态 IP #设置 IP #设置 channel 1 掩码 #设置 channel 1 网关 #查看用户名及 ID #设置ID号是2的用户密码为 fastweb #查看 channel 1 配置 service ipmi res 阅读全文
posted @ 2017-05-05 11:22 vick.wang 阅读(1553) 评论(0) 推荐(0)
摘要:硬盘与IO df -Th #查看挂载和文件系统类型。检查是否有空间用满,是否有业务数据未使用独立分区? iostat -x 1 1. 检查iowait是否持续在15%以上,说明硬盘负载高。 2. 检查%util是否有某块硬盘保持在100不变的,说明该硬盘有故障。 3. 检查%util是否有个别硬盘在 阅读全文
posted @ 2017-05-05 11:18 vick.wang 阅读(274) 评论(0) 推荐(0)
摘要:字颜色:30—–37 echo -e “\033[30m 黑色字 \033[0m” echo -e “\033[31m 红色字 \033[0m” echo -e “\033[32m 绿色字 \033[0m” echo -e “\033[33m 黄色字 \033[0m” echo -e “\033[3 阅读全文
posted @ 2017-05-05 11:16 vick.wang 阅读(427) 评论(0) 推荐(0)
摘要:一、系统优化配置 1、修改yum源 配置国内yum源 阿里云yum源地址 #CentOS 5.x wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo #CentOS 6.x wg 阅读全文
posted @ 2017-05-05 11:15 vick.wang 阅读(362) 评论(0) 推荐(0)
摘要:1、yum 安装 ansible 配置秘钥 公钥copy 到需要批量的主机上 2、ansible 基本使用 (1)ansible 执行远程命令 阅读全文
posted @ 2017-05-05 10:31 vick.wang 阅读(179) 评论(0) 推荐(0)
摘要:1、Download rar for linux 2、Configure rar Note : 常用功能 1、添加压缩文件 2、解压缩 #保留压缩目录名 [root@vickhk test]# lsvick_test vick_test.rar [root@vickhk test]# tree vi 阅读全文
posted @ 2017-05-05 10:19 vick.wang 阅读(807) 评论(0) 推荐(0)
摘要:Notes: Make a list of three documents that show the kernel supports inotify Configure sersync services Configure an instance and specify a synchroniza 阅读全文
posted @ 2017-05-02 17:24 vick.wang 阅读(202) 评论(0) 推荐(0)