Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: fixed some typos

...

 

Code Block
su - root  # or sudo sh
yum install autoconf automake gcc cvs
yum install cairo cairo-devel \
 pango pango-devel \
 glib glib-devel \
 libxml2 libxml2-devel \
 gd gd-devel 
 libXpm-devel
 libXpm 
yum install openssl openssl-devel  
yum install net-snmp net-snmp-lib net-snmp-utils net-snmp-perl perl-Net-SSLeay
yum install httpd fping
yum install make groff cpan crontabs
yum -y install dejavu* 

 

Debian/Ubuntu Additional Packages:

...

We now need to get RRDtool, by Tobi Oetiker. The NMIS development team suggests that you download the latest stable RRDtool and compile it yourself - however, for normal NMIS deployments the distribution-provided RRDtool is generally sufficient.  

If you want to skip the build step and use packaged versions, simply install the following packages and then skip to the next step.

Debian/Ubuntu:

Code Block
apt-get install rrdtool librrds-perl

CentOS/Red Hat:

There are suitably recent RRDTool packages for CentOS, but they are not part of the 'default' repositories (these don't contain anything or very outdated versions). To work around this you need to enable the RepoForge repository first to gain access.

Code Block
# adding repoforge for centos 6:
yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
# centos 6 ships an ancient rrdtool, repoforge-extras has what we're after
yum -y --enablerepo=rpmforge-extras install rrdtool rrdtool-perl 

Compiling your own RRDtool:

The latest version of RRD is available at http://oss.oetiker.ch/rrdtool/.

Unpack the RRDtool tarball.   NMIS8 has been testing using v1.4.7 and for this example. To build and install a “GNU” make based system, you run ./configure, then make, then make install, for RRDTool for NMIS we need a configure option setup.

 

Code Block
tar -xvf rrdtool-1.4.8.tar.gz
[local]# cd rrdtool-1.4.8 
[rrdtool-1.4.8]# 
./configure --enable-shared --prefix=/usr/local/rrdtool

 

When this step is finished, you should see something like this:

 

Code Block
ordering CD from http://tobi.oetiker.ch/wish .... just kidding ;-)


----------------------------------------------------------------
Config is DONE!


 With MMAP IO: yes
 Build rrd_getopt: no
 Static programs: no
 Perl Modules: perl_piped perl_shared
 Perl Binary: /usr/bin/perl
 Perl Version: 5.8.8
 Perl Options: PREFIX=/usr/local/rrdtool LIB=/usr/local/rrdtool/lib/perl/5.8.8
 Ruby Modules:
 Ruby Binary: no
 Ruby Options: sitedir=/usr/local/rrdtool/lib/ruby
 Build Lua Bindings: no
 Build Tcl Bindings: no
 Build Python Bindings: no
 Build rrdcgi: yes
 Build librrd MT: yes
 Use gettext: yes
 With libDBI: no


 Libraries: -lxml2 -lcairo -lcairo -lcairo -lm -lcairo -lpng12 -lglib-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0


Type 'make' to compile the software and use 'make install' to
install everything to: /usr/local/rrdtool.


 ... that wishlist is NO JOKE. If you find RRDtool useful
make me happy. Go to http://tobi.oetiker.ch/wish and
place an order.


 -- Tobi Oetiker <tobi@oetiker.ch>
----------------------------------------------------------------

 

So far, so good. You have all the things RRDtool needs to compile. Let's keep going.

...