摘要:
rpm -qa|grep pcre* pcre-7.8-7.el6.x86_64 pcre-devel-7.8-7.el6.x86_64 如果缺少,可以用yum来安装,也是建议用yum方式安装。 yum install pcre pcre-devel -y rpm -qa|grep openssl* rpm -qa|grep openssl* openssh-5.3p1-122.el6.x8... 阅读全文
摘要:
scp /Users/vincent/Downloads/fping-4.0.tar.gz root@10.199.199.89:/root/root@10.199.199.89's password:fping-4.0.tar.gz 100% 166KB 49.3MB/s 00:00 ./conf 阅读全文
摘要:
[root@localhost ~]# cat /etc/selinux/config# This file controls the state of SELinux on the system.# SELINUX= can take one of these three values:# enf 阅读全文
摘要:
wget http://nginx.org/download/nginx-1.11.13.tar.gz tar zxvf nginx-1.11.13.tar.gz cd nginx-1.11.13 yum -y install pcre pcre-devel gcc* ncurser-devel perl openssl-devel whereis cc gcc ./configure --p... 阅读全文
摘要:
配置Linux bond配置: 配置网卡eth0使用的命令如下: cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=none ONBOOT=yes USERCTL=no MASTER=bond0 SLAVE=yes 配置网卡eth1使用的命令如下: cat /etc/sysconfig/network-sc... 阅读全文
摘要:
brew install msmtp vi ~/.mailrc set sendmail=/usr/local/bin/msmtp wq! vi ~/.msmtprc # Use an external SMTP server with insecure authentication. # (manually choose an insecure authentication method... 阅读全文
摘要:
yum install iperf -y udp模式 服务器端:iperf -u -s客户端:iperf -u -c 192.168.1.1 -b 100M -t 60在udp模式下,以100Mbps为数据发送速率,客户端到服务器192.168.1.1上传带宽测试,测试时间为60秒。iperf -u 阅读全文
摘要:
yum install mtr -y // centos6安装 brew install mtr // mac osx 如果运行mtr出现提示: -bash: mtr: command not found 解决方法: alias mtr=/usr/local/sbin/mtr sudo chown root mtr sudo chmod u+s mtr vi /Use... 阅读全文
摘要:
mkdir /root/tmp 创建一个下载目录 mkdir /root/tmp/nmon 创建一个解压内容目录 wget -P /root/tmp/ https://nchc.dl.sourceforge.net/project/nmon/nmon_linux_14i.tar.gz //下载内容到指定目录 tar zxvf /root/tmp/nmon_linux_14i.tar.gz... 阅读全文
摘要:
实例如下图示: 阅读全文