User-Profile-Image
hankin
  • 5
  • 首页
  • 分类
    • Windows
    • Web
    • VoIP
    • Virtualization
    • Trading
    • Smart Home
    • SEO
    • Security
    • Python
    • Program
    • PHP
    • OSX
    • OS
    • OpenSource
    • Nginx
    • MySQL
    • Mood
    • Linux
    • Life
    • Injection
    • Hosting
    • Finance
    • Exploits
    • CDN
  • 页面
    • About
  • 友链
    • 维酷科技
Help?

Please contact us on our email for need any support

Support
  • 首页
    首页   ›   OS   ›   Linux   ›   正文
Linux

CentOS快速安装Glances

2014-06-24 23:07:52
2588  0 0

之前安装Glances的时候方法弄复杂了 其实不一定需要Python2.7的 2.6以上就可以了

依赖组件:

Python 2.6及以上bane不能 (Python 3+ 未测试)
build-essential
python-dev
python-setuptools
python-psutil 0.4.1+
python-jinja2 2.0+
pysensors
安装过程:

先下载安装包

$ rm -rf /root/nicolargo-glances-*
$ wget -O /root/glances-last.tgz https://github.com/nicolargo/glances/tarball/master

接下来安装:

$ yum install python-setuptools build-essential python-dev
$ cd ~
$ tar zxvf glances-last.tgz
$ cd nicolargo-glances-*
$ python setup.py install

安装过程中如果出现error: command ‘gcc’ failed with exit status 1的错误,请执行yum install gcc python-devel来解决。

运行Glances:

要运行Glances,只需要执行:

$ glances
评论 (0)

Click here to cancel reply.

欢迎您 游客  

    ProdigYu
    181文章 30评论 5点赞 678119浏览
    随机文章
    自主架设VOIP系统之二
    16年前
    神奇的AMD ATI显卡驱动停止响应
    12年前
    将网页转换成移动版
    16年前
    你真的认为iPhone只是一部手机么?
    14年前
    2024美股假期
    2年前
    Tags
    Apache CentOS CMD DDOS Debian DNS Docker FastCGI Google IIS IP iptables Linux Mac MySQL Nginx Opensource PHP Python Skill SSH Ubuntu Vim VMware VPN web.py Windows 删除 命令 命令提示符 安装 开源 技巧 插件 漏洞 百度 系统 组件 终端 缓存 网络电话 脚本 自建 详解 错误
    Meta
    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    Copyright © 2026
    主页
    页面
    • About
    博主
    ProdigYu 管理员
    Something about myself
    181 文章 30 评论 678119 浏览
    测试
    测试