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
2187  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点赞 572931浏览
    随机文章
    用netstat和awk命令来统计网络连接数
    14年前
    CentOS配置VNCServer以及远程桌面连接
    12年前
    伪静态注入技术
    15年前
    Nginx+Spawn-fcgi+web.py
    15年前
    使用CMD命令提示符控制IIS
    12年前
    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 评论 572931 浏览
    测试
    测试