Linux上安装服务器监视工具,名为pyDash。

pyDash – A Web Based Linux Performance Monitoring Tool

你可以通过以下命令来判断是否已安装:

pip --version     # Python2.x 版本命令
pip3 --version    # Python3.x 版本命令

 

 

 // 查看启用的源列表

yum repolist

// 查看禁用的源列表

yum repolist disabled

 

 我查看了一下果然epel在禁用列表里,那怎么启用呢?其实只要修改一个文件就可以了,用vim打开下面的文件

vim /etc/yum.repos.d/epel.repo

 将下面第一个和第三个的enabled=0改成enabled=1,第二个是测试版的可能不稳定所有别修改。

 

 现在可以用了,如果不修改上面的文件也可以用就中在安装的命令里加以下参数也可以。

--enablerepo=epel  --参数
yum --enablerepo=epel install python-pip  --例如

 

How to Install pyDash in Linux System

1. First install required packages: git and Python pip as follows:

-------------- On Debian/Ubuntu -------------- 
$ sudo apt-get install git python-pip

-------------- On CentOS/RHEL -------------- 
# yum install epel-release
# yum install git python-pip

-------------- On Fedora 22+ --------------
# dnf install git python-pip

2. If you have git and Python pip installed, next, install virtualenv which helps to deal with dependency issues for Python projects, as below:

# pip install virtualenv
OR
$ sudo pip install virtualenv

 

未完

 
posted @ 2021-05-27 19:33  —八戒—  阅读(134)  评论(0编辑  收藏  举报