安装epel源(国内)
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
yum makecache fast
yum repolist
yum install -y glances
安装python3-pip
yum install python3-pip -y
配置pip国内加速源
mkdir -p ~/.pip && cd ~/.pip && touch pip.conf
[global]
timeout = 6000
index-url = https://mirrors.aliyun.com/pypi/simple/
trusted-host = mirrors.aliyun.com
更新pip3
pip3 install -U pip
安装galnces
pip3 install glances
使用glances
glances
