1. 설치 요구사항
   : gcc, CC
   : python 2.7, >= 3.4
   : psutil >=5.3.0
   : future >= 0.18.2
 
2. Glances 설치에 필요한 패키지 설치
2.1 GCC 설치
[root@rinodb1:~:#] pkg install gcc
 
2.2 CC 설치(Solaris Studio)
 - Solaris Studio 다운로드
   : tar file download
 
 - 압축 해제
[root@rinodb1:~:#] bzip2 -d OracleDeveloperStudio12.6-solaris-sparc-bin.tar.bz2
[root@rinodb1:~:#] tar xf OracleDeveloperStudio12.6-solaris-sparc-bin.tar
 
 - 실행 파일 이동
[root@rinodb1:~:#] cd ./OracleDeveloperStudio12.6-solaris-sparc-bin
[root@rinodb1:/root/OracleDeveloperStudio12.6-solaris-sparc-bin:#] mv  ./developerstudio12.6  /opt/solaris-studio
 
 - PATH 설정
[root@rinodb1:~:#] echo "SUNSTUDIOHOME=/opt/solaris-studio" >> ~/.bash_profile
[root@rinodb1:~:#] echo "PATH=$PATH:$SUNSTUDIOHOME/bin" >> ~/.bash_profile
[root@rinodb1:~:#] . ~/.bash_profile
 
2.3 psutil 설치
 - python pkg psutil download
   : 최신 파일 위치 -  https://pypi.org/project/psutil/#files
 
 - 압축 해제
[root@rinodb1:~:#] tar xzf psutil-5.6.5.tar.gz
 
 - psutil 설치
[root@rinodb1:~:#] cd psutil-5.6.5
[root@rinodb1:/root/psutil-5.6.5:#] pip install .
 
2.4 future 설치
 - python pkg future download
   : 최신 파일 위치 -  https://pypi.org/project/future/#files
 
 - 압축 해제
[root@rinodb1:~:#] tar xzf future-0.18.2.tar.gz
 
 - future 설치
[root@rinodb1:~:#] cd future-0.18.2.tar.gz
[root@rinodb1:/root/future-0.18.2.tar.gz:#] pip install .
 
 
3. Glances 설치
 - python pkg glances download
   : 최신 파일 위치 -  https://pypi.org/project/Glances/#files
 
 - 압축 해제
[root@rinodb1:~:#] tar xzf Glances-3.1.4.1.tar.gz
 
 - Glances 설치
[root@rinodb1:~:#] cd Glances-3.1.4.1
[root@rinodb1:~/Glances-3.1.4.1:#] python setup.py install
 
 
4. glances 실행
[root@rinodb1:~:#] glances
 
 
[option] 색상 적용
[root@rinodb1:~:#] echo "export TERM=xterm-256color" >> ~/.bash_profile
[root@rinodb1:~:#] . ~/.bash_profile
 
[root@rinodb1:~:#] glances
 
 
 
반응형

+ Recent posts