export HISTCONTROL=ignorespace

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

sudo yum-config-manager --disable centos-sclo-sclo

yum clean all
yum makecache

yum install gcc make -y
yum install python3-devel lm_sensors -y 
pip3 install jq pyroute2
sudo yum groupinstall "Development Tools"
sudo yum install glibc-devel -y


wget -P /tmp http://down.9494.org:9999/stress-ng-0.17.08.tar.gz
cd /tmp
tar -zxvf stress-ng-0.17.08.tar.gz
cd stress-ng-0.17.08
make && make install
cd
rm -rf /tmp/stress-ng-0.17.0*
#处理系统基本需求和依赖环境
yum makecache
sudo yum update -y
sudo yum -y install wget vim unzip zip gcc make net-tools python3 usbutils libelf-devel kernel-devel tcpdump python3-devel
sudo yum install epel-release -y
sudo yum install jq -y
sudo yum install lm-sensors -y
sudo yum install traceroute -y

pip3 install requests 
pip3 install paramiko
pip3 install python-dotenv
pip3 install netifaces
wget down.9494.org:9999/cat_eth.sh -P /opt/
curl -o /opt/ng.sh http://down.9494.org:9999/ng.sh
curl -o /opt/cat_eth.sh http://down.9494.org:9999/cat_eth.sh
curl -o /opt/pppoe_manager.py http://down.9494.org:9999/pppoe_manager.py

sudo yum install -y bwm-ng 