ITPub博客

首页 > 应用开发 > IT综合 > 用python创建数据库监控平台(4)安装Python扩展

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

原创 IT综合 作者:路途中的人2012 时间:2017-08-29 12:31:05 0 删除 编辑
本系列文章思路来自微信公众号:宅必备

[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博客 ” ,链接:https://blog.itpub.net/29067253/viewspace-2144277/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2015-01-08

  • 博文量
    495
  • 访问量
    768395