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分钟...
samba 共享配置
1.安装:
yum install -y samba samba-client samba-swat
samba-common-3.6.23-51.el6.x86_64 主要提供samba服务器的设置文件与设置文件语法检验程序testparm
samba-client-3.6.23-51.el6.x86_64 //客户端软件,主要提供linux主机作为客户端时,所需要...
openvpn 访问内网服务器
route add –net 10.8.0.0/24 gw 192.168.153.130 (在所有内网服务器上做,网关可以不是vpnserver)
/sbin/iptables –t nat –d POSTROUTING –s 10.8.0.0/24 –o eth1 –j SNAT –to-soure 192.168.153.130 在防火墙中使用地址转换技术实现
(在回包...
监控 mysql 主从
```bash
#!/usr/bin/env bash
#================================================================
#
# systemos=centos7.2
# #this is mysql backups scripts
# Author:xw thank you!!!
# Da...