h3c 常用巡检命令
查看cpu使用率
[H3C]display cpu-usage
Slot 1 CPU usage:
7% in last 5 seconds
7% in last 1 minute
6% in last 5 minute
**最后5分钟平均使用率
查看内存使用率
[H3C]display memory
System Total Me...
安装tomcat
http://archive.apache.org/dist/tomcat/ tomcat 下载网站
useradd -u 601 tomcat
passwd tomcat
id tomcat
tar zxf jdk-8u74-linux-x64.tar.gz
mv jdk1.8.0_74/ /usr/local/
ln -s /usr/local/jdk1.8.0_74/...
tomcat 服务控制脚本
```bash
#!/usr/bin/env bash
#================================================================
#
# systemos=centos7.2
# #this is tomcat service scripts
# Author:xw thank you!!!
# D...
配置bind (DNS)域名服务器
bind是由isc组织维护的包括dhcp服务,互联网大部分dns服务器由bind构建
正向DNS:域名>ip
反向DNS:ip>域名
智能dns:能自动判断访问者的IP地址并解析出对应的IP地址
cdn:智能dns+缓存服务器(Varnish)
2.基于centos 7的正向DNS区域配置
yum install -y bind bind-utils
安装utils提供ns...
find 命令(持续)
find / -name opt 在根下查找opt字符(包括文件目录)
find /etc -name passwd 在etc目录下查找passwd文件
find zz/ -name '*san*' 查找zz目录下包含san字符的文件
find . -name 'san*' 查找当前目录下字符串以san开头的文件
find / -amin -10 查找在系统中最后10分钟...