常用命令

测试服务器速度

yum install python

wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py

chmod +x speedtest-cli
./speedtest-cli

关闭防火墙,根据系统选择

#centos 6 执行
service iptables stop && chkconfig iptables off
#centos 7 执行
sudo systemctl stop firewalld.service && sudo systemctl disable firewalld.service

下载文件

#首先安装lrzsz
yum -y install lrzsz
#下载
sz /usr/local/xxx/mudb.json

你可能感兴趣的:(常用命令)