LINUX GTOP部署实录

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了LINUX GTOP部署实录相关的知识,希望对你有一定的参考价值。

[[email protected] ~]# yum -y install zlib-devel


[[email protected] ~]# tar xvf Python-2.7.5.tar.bz2 

[[email protected] ~]# cd Python-2.7.5

[[email protected] Python-2.7.5]# ./configure --prefix=/usr/local/python27

[[email protected] Python-2.7.5]# make

[[email protected] Python-2.7.5]# make install


[[email protected] ~]# vi /etc/profile

PATH=$PATH:/usr/local/python27/bin

[[email protected] ~]# source /etc/profile


[[email protected] ~]# yum install centos-release-scl -y

[[email protected] ~]# yum install devtoolset-4-gcc-c++ devtoolset-4-gcc -y

[[email protected] ~]# scl enable devtoolset-4 bash

[[email protected] ~]# gcc --version

gcc (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6)

Copyright (C) 2015 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


[[email protected] ~]# yum install -y git

[[email protected] ~]# git clone https://github.com/nodejs/node.git

Initialized empty Git repository in /root/node/.git/

remote: Counting objects: 376242, done.

remote: Compressing objects: 100% (120/120), done.

remote: Total 376242 (delta 120), reused 219 (delta 117), pack-reused 376005

Receiving objects: 100% (376242/376242), 337.98 MiB | 190 KiB/s, done.

Resolving deltas: 100% (272045/272045), done.


[[email protected] ~]# cd node

[[email protected] node]# ./configure

[[email protected] node]# make

[[email protected] node]# make install


[[email protected] ~]# npm install gtop -g


以上是关于LINUX GTOP部署实录的主要内容,如果未能解决你的问题,请参考以下文章

MongoDB 3.6 部署实录

Kubernetes 生产部署实录

Kubernetes 生产部署实录 - 基于 sealos 部署 laf.js

Redis 4部署实录

SQLAdvisor(美团)部署实录

ELK日志分析平台部署实录