用python建立資料庫監控平臺(4)安裝Python擴充套件

路途中的人2012發表於2017-08-29
本系列文章思路來自微信公眾號:宅必備

[root@monit pip-9.0.1]# yum install MySQL-python
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package MySQL-python.x86_64 0:1.2.3-0.3.c1.1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================================================
Package Arch Version Repository Size
=======================================================================================================================================
Installing:
MySQL-python x86_64 1.2.3-0.3.c1.1.el6 Server 86 k

Transaction Summary
=======================================================================================================================================
Install 1 Package(s)

Total download size: 86 k
Installed size: 246 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : MySQL-python-1.2.3-0.3.c1.1.el6.x86_64 1/1
Verifying : MySQL-python-1.2.3-0.3.c1.1.el6.x86_64 1/1

Installed:
MySQL-python.x86_64 0:1.2.3-0.3.c1.1.el6

Complete!

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29067253/viewspace-2144277/,如需轉載,請註明出處,否則將追究法律責任。

相關文章