Install smokeping in centos6.2 to test network conditions

Source: Internet
Author: User
Tags rrdtool install perl smokeping

Centos6.2 install smokeping test network condition 1 install web Server www.2cto.com a yum source CentOS6-Base-163.repo rpm-ivh epel-release-6-7.noarch.rpm B install support environment yum install httpd-devel yum install gcc make yum install perl- devel perl-Time-HiRes yum install rrdtool-perl www.2cto.com 2 install library yum install libxml2-devel libpng-devel yum install pango-devel yum install freetype libart_lgpl-devel yum install freetype -devel fontconfig cairo-devel B install rrdtool tar-zxvf rrdtool-1.4.5.tar.gz cd rrdtool-1.4.5. /configure -- prefix =/usr/local/rrdtool -- disable-tcl -- disable-python make & make install www.2cto.com 3 install fping a install cgilib tar zxvf cgilib-0.5.tar.gz cd cgilib-0.5 make cp libcgi. a/usr/local/lib cp cgi. h/usr/include/B install fping tar zxvf fping.tar.gz cd fping-2.4b2_to /. /configure make & make install 4 install echoping a install gettext tar xzvf gettext-0.18.tar.gz cd gettext-0.18. /configure make & make install B install popt tar zxvf popt-1.7.tar.gz cd popt-1.7. /configure make & make install c install echoping tar zxvf echoping-6.0.0.tar.gz cd echoping-6.0.0. /configure -- without-libidn make & make install 4 install FCGI tar zxvf FCGI-0.74.tar.gz cd FCGI-0.74 perl Makefile. PL make & make install 5 install mod_fastcgi tar zxvf mod_fastcgi-2.4.6.tar.gz cd mod_fastcgi-2.4.6/usr/sbin/apxs-o mod_fastcgi.so-c *. c/usr/sbin/apxs-I-a-n fastcgi. libs/mod_fastcgi.so OK/etc/httpd/conf/httpd. conf has LoadModule fastcgi_module modules/mod_fastcgi.so 6 install smokeping tar zxvf smokeping-2.6.8.tar.gz cd smokeping-2.6.8. /setup/build-perl-modules.sh/usr/local/smokeping/thirdparty. /configure -- prefix =/usr/local/smokeping/usr/bin/gmake install to modify the configuration file cd/usr/local/smokeping/bin/vim smokeping: use lib qw (); # modify PERL5LIB to: use lib qw (/usr/local/rrdtool/lib/perl); # PERL5LIB www.2cto.com cd .. /htdocs/mv smokeping. fcgi. dist smokeping. fcgi cd .. /etc/cp config. modify the configuration file vim config 10 imgcache =/var/www/html/smokeping/img 11 imgurl = http: // 192.168.1.230/smokeping/img 14 cgiurl = http: // 192.168.1.230/smokeping. cgi 108 binary =/usr/local/sbin/fping 7 configure the HTTP runtime environment a to create the directory mkdir-p/var/www/html/smokeping/img/var/www/html/ smokeping/script // usr/local/smokeping/data/usr/local/smokeping/var B to create a soft link, link the files under the smokping directory to the ln-s/usr/local/smokeping/htdocs/cropper/var/www/html/smokeping/cropper ln-s/usr/directory under the HTTP directory/ local/smokeping/htdocs/smokeping. fcgi/var/www/html/smokeping. fcgi c assigns chown-R apache: apache/var/www/html/smokeping/d to modify the HTTP configuration file vim/etc/httpd/conf/httpd. add 277 ServerName localhost: 80 332 ptions Indexes FollowSymLinks ExecCGI 403 DirectoryIndex index.html to the conf file. var/smokeping. fcgi 797 AddHandler cgi-script. fcgi e start httpd service httpd start 8 start smokeping chmod 400/usr/local/smokeping/etc/smokeping_secrets.dist nohup/usr/local/smokeping/bin/smokeping -- logfile =/var/log /smokeping. log 2> & 1 &

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.