OS

2022.02.14 16:06

MRTG-2.17.7 설치

  • 비아웹 오래 전 2022.02.14 16:06 인기
  • 4,586
    0

1. 설치 환경

OS : CentOS Linux release 7.9.2009 (Core)

SELINUX : disabled

필수패키지 : GCC, Perl, gd-devel,libpng,zlip (yum 설치)

테스트일자 : 2020.11.20

 

2. 소스 다운로드

[root@viaweb ~]# wget https://oss.oetiker.ch/mrtg/pub/mrtg-2.17.7.tar.gz
[root@viaweb ~]# tar xzf mrtg-2.17.7.tar.gz [root@viaweb ~]# mv mrtg-2.17.7.tar.gz /home/mrtg [root@viaweb ~]# cd /home/mrtg [root@viaweb mrtg]# ./configure --prefix=/usr/local/mrtg [root@viaweb mrtg]# make && make install

4. PATH에 등록하기

[root@viaweb ~]# vi ~root/.bash_profile # .bash_profile # Get the aliases and functions if[-f ~/.bashrc ]; then .~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin:/usr/local/mrtg/bin/exportPATH

5. 설치 확인하기

[root@viaweb ~]# mrtg Usage: mrtg <config-file> mrtg-2.17.7- Multi Router Traffic Grapher Copyright 1995-2006 by Tobias Oetiker Licensed under the Gnu GPL. If you want to know more about this tool, you might want to read the docs. You can find everything on the mrtg website: http://oss.oetiker.ch/mrtg/

감사합니다.

서버호스팅 비아웹

 

  • 공유링크 복사

    댓글목록

    등록된 댓글이 없습니다.