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
  • 友链
    • 维酷科技
    • Tesra超算网络
Help?

Please contact us on our email for need any support

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

CentOS快速安装Glances

2014-06-24 23:07:52
2129  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
    180文章 77评论 4点赞 553968浏览
    随机文章
    如何绕过宝塔强制绑定帐号
    4年前
    Linux/CentOS下怎么查看硬盘使用时间
    11年前
    解决Mac终端连接SSH出现警告
    10年前
    CentOS单网卡绑定多个IP
    15年前
    你真的认为iPhone只是一部手机么?
    13年前
    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 © 2025
    主页
    页面
    • About
    博主
    ProdigYu 管理员
    Something about myself
    180 文章 77 评论 553968 浏览
    测试
    测试