当前位置: 首页 > news >正文

河南省住房和建设厅网站首页注册公司需要哪些条件

河南省住房和建设厅网站首页,注册公司需要哪些条件,秦皇岛网站开发费用,小程序制作策划案我将提供两种方法来安装smokeping#xff0c;一种是大家常用的普通安装#xff0c;另一种是用脚本下自动化安装的#xff0c;仅供大家学习#xff0c;参考!普通安装#xff1a;centos 5.4下安装smokeping需要的软件:(1)httpd(2)rrdtool(3)smokeping(4)fping(5)libwww-perl… 我将提供两种方法来安装smokeping一种是大家常用的普通安装另一种是用脚本下自动化安装的仅供大家学习参考!普通安装centos 5.4下安装smokeping需要的软件:(1)httpd(2)rrdtool(3)smokeping(4)fping(5)libwww-perl安装rrdtool前的准备工作/etc/yum.repos.d/dag.repo[dag]nameDag RPM Repository for Red Hat Enterprise Linuxbaseurlhttp://apt.sw.be/redhat/el$releasever/en/$basearch/daggpgcheck1gpgkeyhttp://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txtenabled1yum  -y install  freetype-devel zlib-devel libpng-devel libart_lgpl-devel rrdtool#Install httpduseradd wwwtar zxvf httpd-2.2.15.tar.gzcd httpd-2.2.15./configure --prefix/usr/local/apache2 --enable-somake make installwget http://fping.sourceforge.net/download/fping.tar.gz#Install fpingtar zxvf fping.tar.gzcd fping-2.4b2_to/./configure make make install wget http://daemoninc.com/SpeedyCGI/CGI-SpeedyCGI-2.22.tar.gz#Install CGI-SpeedyCGItar –zxvf CGI-SpeedyCGI-2.22.tar.gzcd CGI-SpeedyCGI-2.22perl Makefile.PLCompile mod_speedycgi (default no)? nomake make install#Install Perl modules libwww-perlwget http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-5.836.tar.gztar -zxvf libwww-perl-5.836.tar.gzcd libwww-perl-5.836perl Makefile.PLmake make installwget http://oss.oetiker.ch/smokeping/pub/smokeping-2.4.2.tar.gztar -zxvf smokeping-2.4.2.tar.gzmv smokeping-2.4.2 /usr/local/smokeping修改smokepinghttpd配置文件mkdir –p /usr/local/smokeping/htdocs/imgmkdir –p /usr/local/smokeping/varsmokeping/bin下mv smokeping.dist smokepingfile: smokepinguse lib qw(/usr/lib/perl5);use lib qw(/usr/local/smokeping/lib);Smokeping::main(/usr/local/smokeping/etc/config);smokeping/etcmv config.dist configfile:config*** General ***owner    Peter Randomcontact  someaddress.nowheremailhost my.mail.host#sendmail /usr/lib/sendmail# NOTE: do not put the Image Cache below cgi-bin# since all files under cgi-bin will be executed ... this is not# good for p_w_picpaths.imgcache /usr/local/smokeping/htdocs/imgimgurl   http://本机IP/img datadir  /usr/local/smokeping/varpiddir  /usr/local/smokeping/varcgiurl   http://本机IP/smokeping.cgismokemail /usr/local/smokeping/etc/smokemail.disttmail /usr/local/smokeping/etc/tmail.dist# specify this to get syslog loggingsyslogfacility local0# each probe is now run in its own process# disable this to revert to the old behaviour# concurrentprobes no*** Alerts ***to alerteeaddress.somewherefrom smokealertcompany.xysomelosstype loss# in percentpattern 0%,*12*,0%,*12*,0%comment loss 3 times  in a row*** Database ***step     300pings    20# consfn mrhb steps totalAVERAGE  0.5   1  1008AVERAGE  0.5  12  4320    MIN  0.5  12  4320    MAX  0.5  12  4320AVERAGE  0.5 144   720    MAX  0.5 144   720    MIN  0.5 144   720*** Presentation ***template /usr/local/smokeping/etc/basepage.html.dist chartsmenu Chartstitle The most interesting destinations stddevsorter StdDev(entries4)title Top Standard Deviationmenu Std Deviationformat Standard Deviation %f maxsorter Max(entries5)title Top Max Roundtrip Timemenu by Maxformat Max Roundtrip Time %f seconds losssorter Loss(entries5)title Top Packet Lossmenu Lossformat Packets Lost %f mediansorter Median(entries5)title Top Median Roundtrip Timemenu by Medianformat Median RTT %f seconds overview width 600height 50range 10h detailwidth 600height 200unison_tolerance 2Last 3 Hours    3hLast 30 Hours   30hLast 10 Days    10dLast 400 Days   400d# hierarchies# owner#title Host Owner# location#title Location*** Probes *** FPingbinary /usr/local/sbin/fping*** Slaves ***secrets/usr/local/smokeping/etc/smokeping_secrets.distboomerdisplay_nameboomercolor0000ffslave2display_nameanothercolor00ff00*** Targets ***probe FPingmenu Toptitle Network Latency Grapherremark Welcome to the SmokePing website of xxx Company. \         Here you will learn all about the latency of our network. Testmenu Targets#parents owner:/Test/James location:/ Jamesmenu Jamestitle Jamesalerts somelossslaves boomer slave2host james.address MultiHostmenu Multihosttitle James and James as seen from Boomerhost /Test/James /Test/James~boomersmokeping/htdocsmv smokeping.cgi.dist smokeping.cgifile:smokeping.cgiuse lib qw(/usr/lib/perl5/);use lib qw(/usr/local/smokeping/lib);Smokeping::cgi(/usr/local/smokeping/etc/config);httpd添加如下ScriptAlias /smokeping.cgi /usr/local/smokeping/htdocs/smokeping.cgialias /img /usr/local/smokeping/htdocs/imgDirectory /usr/local/smokeping AllowOverride NoneAddHandler cgi-script cgiOptions ExecCGI/Directorychown -R www.www /usr/local/smokeping修改httpd.conf运行权限www启动service iptables stop/usr/local/smokeping/bin/smokeping start/usr/local/apache2/bin/apachectl startps -ef|grep smokeping脚本自动化安装注意在这里有些配置需要本身就有的。如我这个包里分auto_install_smokeping.sh和soft文件夹soft文件夹下有smokeping,apache2,yum文件夹而这些文件夹下又有一些文件总架构如下:auto_install_smokeping.sh                                                                                     ---bin/smokeping                                                      ---smokeping       ----etc/config                                                                                       ----htdocs/smokeping.cgisoft                                                ---apache2            ----conf/httpd.conf                                                       ---yum/dag.repo                                                       fping.tar.gz   httpd-2.2.15.tar.gz等 脚本#!/bin/bash#User Zhuzhengjun#date 2010-06-28#install need root user.if [ whoami ! root ];then        echo Installtion this package needs root user.        exit 1fi#set envPATH/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/binexport PATHPWDpwdexport PWDmkdir -p logsexport LOG_FILE$PWD/logs/install.logexport ERROR_FILE$PWD/logs/error.logexport Soft$PWD/soft#add userecho Add user $LOG_FILEecho Add user $ERROR_FILEif [ grep ^www /etc/passwd|wc -l -eq 0 ] ;thenuseradd www 1 $LOG_FILE 2 $ERROR_FILE#echo wokaosiquba|passwd --stdin www 1 $LOG_FILE 2 $ERROR_FILEelse echo www user is add!fi#add dnsecho Add dns $LOG_FILEecho Add dns $ERROR_FILEif [ grep 202.96.209.5 /etc/resolv.conf |wc -l -eq 0 ] ;thenecho nameserver 202.96.209.5 /etc/resolv.conf 1 $LOG_FILE 2 $ERROR_FILEfi#add yum repos for rrdtoolecho Add yum repos $LOG_FILEecho Add yum repos $ERROR_FILEcp -f $Soft/yum/dag.repo /etc/yum.repos.d/ 1 $LOG_FILE 2 $ERROR_FILE#install rrdtool wget cron ntpecho install rrdtool wget cron ntp $LOG_FILEecho install rrdtool wget cron ntp $ERROR_FILEyum -y install ntp freetype-devel zlib-devel libpng-devel wget vixie-cron rrdtool 1 $LOG_FILE 2 $ERROR_FILEif [ grep NTP_IP /var/spool/cron/root |wc -l -eq 0 ];thenecho 1 * * * * /usr/sbin/ntpdate NTP_IP; hwclock -w 1/dev/null 21 /var/spool/cron/rootfi#install httpdecho Install httpd $LOG_FILEecho Install httpd $ERROR_FILEcd $Softtar zxf httpd-2.2.15.tar.gzcd httpd-2.2.15/./configure --prefix/usr/local/apache2 --enable-so 1 $LOG_FILE 2 $ERROR_FILE[ $? -eq 0 ] make 1 $LOG_FILE 2 $ERROR_FILE[ $? -eq 0 ] make install 1 $LOG_FILE 2 $ERROR_FILE#install fpingecho Install fping $LOG_FILEecho Install fping $ERROR_FILEcd $Soft/tar -zxf fping.tar.gzcd fping-2.4b2_to/./configure 1 $LOG_FILE 2 $ERROR_FILE[ $? -eq 0 ] make 1 $LOG_FILE 2 $ERROR_FILE[ $? -eq 0 ] make install 1 $LOG_FILE 2 $ERROR_FILE#install CGI-SpeedyCGIecho Install CGI-SpeedyCGI $LOG_FILEecho Install CGI-SpeedyCGI $ERROR_FILEcd $Soft/tar -zxf CGI-SpeedyCGI-2.22.tar.gzcd CGI-SpeedyCGI-2.22/perl Makefile.PL ENDEND[ $? -eq 0 ] make 1 $LOG_FILE 2 $ERROR_FILE[ $? -eq 0 ] make install 1 $LOG_FILE 2 $ERROR_FILE#install libwww-perlecho Install libwww-perl $LOG_FILEecho Install libwww-perl $ERROR_FILEcd $Soft/tar -zxf libwww-perl-5.836.tar.gzcd libwww-perl-5.836/perl Makefile.PL 1 $LOG_FILE 2 $ERROR_FILEmake 1 $LOG_FILE 2 $ERROR_FILEmake install 1 $LOG_FILE 2 $ERROR_FILE#install smokepingecho Install smokeping $LOG_FILEecho Install smokeping $ERROR_FILEcd $Soft/tar -zxf smokeping-2.4.2.tar.gzmv smokeping-2.4.2 /usr/local/smokeping 1 $LOG_FILE 2 $ERROR_FILEmkdir -p /usr/local/smokeping/htdocs/imgmkdir -p /usr/local/smokeping/var#config smokepingecho Config smokeping $LOG_FILEecho Config smokeping $ERROR_FILEcp -f $Soft/smokeping/bin/smokeping /usr/local/smokeping/bin/ 1 $LOG_FILE 2 $ERROR_FILEcp -f $Soft/smokeping/etc/config /usr/local/smokeping/etc/ 1 $LOG_FILE 2 $ERROR_FILEcp -f $Soft/smokeping/htdocs/smokeping.cgi /usr/local/smokeping/htdocs/ 1 $LOG_FILE 2 $ERROR_FILEcp -f $Soft/apache2/conf/httpd.conf /usr/local/apache2/conf/ 1 $LOG_FILE 2 $ERROR_FILE#authorizeecho authorize $LOG_FILEecho authorize $ERROR_FILEchown -R www.www /usr/local/smokeping chmod 400 /usr/local/smokeping/etc/smokeping_secrets.distchmod x /usr/local/smokeping/bin/smokepingchmod x /usr/local/smokeping/htdocs/smokeping.cgi#start deamonecho start deamon $LOG_FILEecho start deamon $ERROR_FILE/usr/local/smokeping/bin/smokeping start  1 $LOG_FILE 2 $ERROR_FILE/usr/local/apache2/bin/apachectl start 1 $LOG_FILE 2 $ERROR_FILEservice iptables stopps -ef|grep smokeping 转载于:https://blog.51cto.com/ghostxyj/1962323
http://www.pierceye.com/news/249051/

相关文章:

  • 潍坊优化网站排名在线网页设计培训机构
  • c做的网站ps做 网站标准尺寸
  • 老虎淘客系统可以做网站吗wordpress po mo
  • 网站的建设与维护那个网站做图片好
  • 昆山网站建设详细方案建设企业网站初始必备的六大功能
  • 做网站是前端还是后端网站规划 设计 制作 发布与管理过程
  • 黄山网站开发威县做网站哪里便宜
  • 网站怎么分类视频聚合网站怎么做不侵权
  • 有没有做问卷还能赚钱的网站套别人的网站模板吗
  • 东莞做汽车有没有买票的网站做谷歌推广一个月赚10万
  • 抚州城乡建设厅网站建设局官网查询
  • 汉中微信网站建设装修3d效果图怎么制作
  • wordpress 主题放哪站内关键词自然排名优化
  • 网站备案后经营做网站实例教程
  • 软件网站怎么做的python下载安装教程
  • 旅游网站开发分析报告网站建设教程搭建芽嘱湖南岚鸿信赖
  • 网站的配色方案高校网站建设意义
  • 滇中引水工程建设管理局网站网站开发怎样验收
  • ps制作网站logo阿里云网站备案拍照
  • 网站建设合同】wordpress翻书
  • 电商网站建设制作隆化县建设局网站
  • 宁波网站建设rswl网页美工设计教案
  • 贵州省住房城乡建设部网站json网站开发
  • 桥头网站仿做百度里面的站长工具怎么取消
  • 博物馆网站页面设计说明山东高端网站定制
  • python网站开发效率jsp做网站下载图片
  • 营销式网站建设免费注册个人网站官网
  • 高职高专 网站建设与维护开发一个网站平台多少钱
  • 网站后缀有哪些宜昌建设网站
  • iis做网站的流程wordpress有中文版没