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
2456  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文章 25评论 5点赞 641982浏览
    随机文章
    实用的命令行终端快捷键
    6年前
    使用nslookup或dig命令指定DNS服务器查询域名解析
    3年前
    2021年最新可用京东服务器时间API地址
    5年前
    怎么获取淘宝服务器时间,助力抢购商品
    6年前
    Mac中如何像windows快速浏览多张图片
    6年前
    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
    181 文章 25 评论 641982 浏览
    测试
    测试