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
2471  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点赞 645393浏览
    随机文章
    Let’s Encrypt免费SSL证书安装配置 for lnmp一键
    9年前
    解决Docker容器内CentOS不能使用systemctl服务
    4年前
    群晖docker拉取镜像报错x509:certificate has expired or is not yet valid
    2年前
    最近倒霉事情比较多
    14年前
    crontab详细使用方法
    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
    181 文章 25 评论 645393 浏览
    测试
    测试