Install a server monitoring tool on Linux called pyDash.
You can check if it is installed by running the following command:
pip -- version # Python2.x version commandpip3 --version # Python3.x version command
// View the list of enabled sources
yum repolist
// View the list of disabled sources
yum repolist disabled
I checked and sure enough epel is in the disabled list, so how to enable it? In fact, as long as you modify one file, you can open the following file with vim
vim /etc/yum.repos.d/epel.repo _
Change the enabled=0 of the first and third ones below to enabled=1, and the second one is that the beta version may be unstable, so please do not modify it.
Now it can be used. If you don't modify the above file, you can also use it and add the following parameters to the installation command.
--enablerepo=epel --parameter yum --enablerepo =epel install python-pip --for example
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 virtualenvOR$ sudo pip install virtualenv
0 Comments