nagios+centreon配置 1.配置centreton web ①.启动服务: chkconfig httpd on chkconfig mysqld on chkconfig --add ndo2db chkconfig ndo2db on chkconfig --add nagios chkconfig nagios on /etc/init.d/httpd...
分类:
移动开发 时间:
2014-09-12 15:31:34
阅读次数:
410
一、规划lvs01eth0:192.168.240.134eth1:192.168.253.130rs01eth0:192.168.253.128gateway:192.168.253.130rs02eth0:192.168.253.129gateway:192.168.253.130192.168.240.0网段供外网访问,使用NAT192.168.253.0网段为内网段,使用hostonlyvip(外网):192.168.240.144dip(内..
分类:
其他好文 时间:
2014-09-12 02:31:33
阅读次数:
239
源码编译安装程序包从步骤并不复杂,实际安装过程中最主要的就是准备好编译环境;根据自己的实际需求,选择或设置程序包编译参数;以及程序包安装后的相关配置。1.编译环境准备以CentOS6为例,一般通过yum安装2个包组,编译工具,以及编译程序包依赖的主要的头文件和库文件就都..
分类:
其他好文 时间:
2014-09-11 17:32:12
阅读次数:
294
nagios+centreon安装 ? 1. 安装apache: yum install httpd -y 2.安装GD 库 yum install gd fontconfig-devel libjpeg-devel libpng-devel gd-devel perl-GD -y 3.安装mysql yum install openssl-devel mysql-ser...
分类:
移动开发 时间:
2014-09-11 14:01:02
阅读次数:
267
如果C盘没空间,可在其他盘符(如:D盘)新建目录来管理网站1.在D盘新建文件夹d:/myblog2.打开httpd.conf文件进行配置#配置虚拟目录 #欢迎页面 DirectoryIndex index.html index.htm index.php #站点别名 Alias /myblog "D...
分类:
其他好文 时间:
2014-09-11 01:09:51
阅读次数:
228
一、负载均衡概述LB:LoadBalancing负载均衡分软件和硬件两方面实现。1、软件:一般位于TCP/IP的四层和七层,典型的有:lvs(第四层,传输层)haproxy,nginx(第七层,应用层)2、硬件:生产硬件的厂商有很多,常见的有F5公司的BIG-IP优秀的安全加速接入解决方案Citrix公司的Netscal..
分类:
其他好文 时间:
2014-09-10 19:41:01
阅读次数:
250
启动apache服务出现Jobfailed.Seesystemlogsand‘systemctlstatus‘fordetails.查看错误提示看日志cat/var/log/messages|grephttpd原来是编辑httpd.conf文件时候第196行出错vi/etc/httpd/conf/httpd.confsystemctlstarthttpd.service解决
分类:
其他好文 时间:
2014-09-10 19:37:51
阅读次数:
494
错误提示如下:New XAMPP security concept:Access to the requested object is only available from the local network.This setting can be configured in the file "...
分类:
其他好文 时间:
2014-09-10 17:24:20
阅读次数:
854
安装apache1.卸载系统自带的已安装httpd相关依赖包。[root$localhost~]#rpm–ehttpdhttpd-manualwebalizersubversionmod_pythonmod_sslphpphp-cliphp-ldapphp-common--nodeps2.解压并且编译安装httpd2.27[root$localhostcdrom]#tar–zxfhttpd-2.2.7.tar.gz[root$localhostcdro..
分类:
其他好文 时间:
2014-09-10 02:56:30
阅读次数:
228
#拓扑如下所示#节点分布情况LVS-dr-mastereth0:192.168.146.141LVS-dr-slaveeth0:192.168.146.142nginx1:eth0:192.168.146.139nginx2:eth0:192.168.146.140tomcat1:eth0:192.168.146.138启用了4个tomcatVIP:192.168.146.200#具体配置###lvsmaster###1、安装ipvsadm、keepalived..
分类:
其他好文 时间:
2014-09-10 02:55:40
阅读次数:
320