Skip to content

marcus-sds/rtg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rtg

install rtg

prepare os with centos 6

install package

centos rtg install

yum install -y perl-devel
yum install -y perl-DBI
yum install -y perl-DBD-mysql
yum install -y net-snmp
yum install -y mysql-devel
yum install -y net-snmp-devel
yum install -y openssl-devel

[option1] untar rtg.tar.gz file

download rtg.tar.gz
mv rtg.tar.gz /usr/local
tar xvfz rtg

[option2] configure file modification and compile (4314 line)
  str="$i/lib64/mysql/libmysqlclient.*"
  for j in `echo $str`; do
    if test -r $j; then
      MYSQL_LIB_DIR=$i/lib64/mysql
      break 2
    fi
  done

 5) rtg install
         $ gzip -d rtg-x.y.tar.gz
         $ tar -xvf rtg-x.y.tar
	 $ cd rtg-x.y/
         $ ./configure
	 $ make
	 # make install

db table creation

switch add

start rtg

update switch

prepare web

cron registration

0,5,10,15,20,25,30,35,40,45,50,55 * * * * su - root -c "cd /app/rtg/html/rtg;/usr/bin/php /app/rtg/html/rtg/intStat-5m.php > /dev/null 2>&1"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published