用python创建数据库监控平台(4)安装Python扩展

  1. 云栖社区>
  2. 博客>
  3. 正文

用python创建数据库监控平台(4)安装Python扩展

苍雪明南 2017-08-29 12:31:05 浏览904
展开阅读全文
本系列文章思路来自微信公众号:宅必备

[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!

网友评论

登录后评论
0/500
评论
苍雪明南
+ 关注