`
Jatula
  • 浏览: 273233 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论
文章列表
我用的是RHEL5U1 ,需要安装 byacc 和flex这2个包 rpm -ivh byacc-1.9-29.2.2.i386.rpm rpm -ivh flex-2.5.4a-41.fc6.i386.rpm   另外还需要libpcap wget ftp://ftp.lmd.ens.fr/pub/devil/devel/sources/1.2/libpcap-0.9.8.tar.gz tar zxvf libpcap-0.9.8.tar.gz cd libpcap-0.9.8 ./configure
通过本脚本,发现bash确实在算术运算方面比老的shell要强大,为此需要开始学习bash,以利用它强大的功能。不过bash中的for语句功能和c中差异比较大。# cat stream #! /bin/bash# Write by Neil.xu  qq:37391319 email: xurongzhong@gmail.com# 2008-8-19 we need to monitor streams of LTS channels, so write this scripttypeset in in_old dif_in dif_in1 dif_out1typeset out out_old ...
Description MMM (MySQL Master-Master Replication Manager) is set of flexible scripts to perform monitoring and management of MySQL Masrter-Master replication cluster configurations. Versions Current version of this software is stable, but authors would appreciate any comments, suggestions, bug repor ...
1.apache安装    下载:        从Apache官方网站http://httpd.apache.org/download.cgi下载httpd-2.0.58.tar.gz。    安装: 先解压缩tar文件 tar -zxvf httpd-2.0.58.tar.gz ./configure --prefix=/usr/local/apache2test --enable-so --enable-shared=max --with-mpm=worker --enable-deflate --enable-headers --enable-rewrite --enable-prox ...
转贴 [爱情] 女友跟人跑了,网友安慰楼主.. 我和我老婆是大学里认识的,大2的时候,我们在同一个学院,故事很平常,朋友租房子我去帮忙抬东西,朋友的朋友也去帮忙,这样我就认识了朋友的朋友,也就是老婆。大学的生活 ...
refers to:http://blog.chinaunix.net/u/504/showart_1108476.html 1. 源:http://vegan.net/tony/supersmack/   2. 安装:    注意在编译时,可以先把对应的libmysqlclient.so.*拷贝到/usr/lib   3. 测试:[root@DB_Backup smacks]# super-smack -d mysql select-key.smack 10 10000Query Barrel Report for client smacker1connect: max=37ms  min= ...
要求在中心管理服务器上写一个脚本每天在规定时间自动检查公司所有mysql server运行状态,然后发到指定的邮箱。我们公司所有mysql server版本为5.0.25,操作系统是centos 4.6,所有mysql server都是下载tar包重新编译。以下是我具体操作过程。前提条件:1.在每台mysql服务器上为中心管理服务器新建一个用户。以便它有权查看服务器的运行状况。mysql>grant all ON *.* TO status@中心管理服务器ip IDENTIFIED BY '用户密码‘;2.下载mysqlreport脚本wget http://hackmysql.com/s ...
refers to:http://www.91linux.com/html/article/guanli/20070625/2952.html   /etc/hosts.allow和/etc/hosts.deny两个文件是控制远程访问设置的,通过他可以允许或者拒绝某个ip或者ip段的客户访问linux的某项服务。 比如SSH服务,我们通常只对管理员开放, ...
refers to:http://blog.chinaunix.net/u/504/showart_1666344.html mtop 实时监控 MySQLRequires the following perl modules:    Module              Available At    ------------      --------------------------------------------------------    Curses              http://cpan.linuxforum.net/authors/id/G/GI/GIRAF ...
MySQL Master-Slave架构下使用MMM的必要性 MySQL本身没有提供replication failover的解决方案(见How can I use replication to provide redundancy or high availability?)如何使Replication方案具有HA?答案是MMM(MySQL Master-Master Replication Manager) MMM对MySQL Master-Slave Replication绝对是一个很有益的补充!引言Master-Slave的数据库机构解决了很多问题,特别是read/write比较高的w ...
refers to:http://dev.mysql.com/doc/refman/5.1/en/connector-j-reference-replication-connection.html   Starting with Connector/J 3.1.7, we've made available a variant of the driver that will automatically send queries to a read/write master, or a failover or round-robin loadbalanced set of slaves based ...
refers to:http://blog.csdn.net/starxu85/archive/2008/12/04/3441480.aspx   对服务器而言最重要的就是优化了.apache的优化文章,相信你也见过不少了.这里稍微摘出lighttpd的几个优化参数看一看. 1 最大连接数 默认是1024修改 server.max-fds,大流量网站推荐2048. 因为lighttpd基于线程,而apache(MPM-prefork)基于子进程,所以apache需要设置startservers,maxclients等,这里不需要 2 stat() 缓存 stat() 这样的系统调用,开销也是相当 ...
注:对于配置智能DNS,主要用途为:1、解决网通与电信问题 2、实现区域规划(不同区域访问各自最近的服务器),下面以解决网通与电信连接问题的配置。至于实现2的功能,只需稍加更改即可。 一、DNS服务器安装......................................................................................... 1 二、named.conf的配置....................................................................................... 2 三、 ...
服务器推送(Server Push) 推送技术的基础思想是将浏览器主动查询信息改为服务器主动发送信息。服务器发送一批数据,浏览器显示这些数据,同时保证与服务器的连接。当服务器需要再次发送一批数据时,浏览器显示数据并保持连接。以后,服务器仍然可以发送批量数据,浏览器继续显示数据,依次类推。 客户端拉曳(Client Pull) 在客户端拖曳技术中,服务器发送一批数据,在HTTP响应或文档头标记中插入指令,让浏览器“在5秒内再次装入这些数据”或“10秒内前往某URL装入数据”。当指定的时间达到时,客户端就按照服务器的指示去做,或者刷新当前数据,或者调入新的数据。 其实push 和 pull 这两种技 ...
refers to:http://blog.csdn.net/starxu85/archive/2008/12/04/3441460.aspx   YouTube的成长速度惊人,目前每天视频访问量已达1亿,但站点维护人员很少。他们是如何管理,以实现如此强大供应能力的?被Google收购后,又在走什么样的发展道路呢? 平台 l  Apache l  Python l  Linux (SuSe版本) l  MySQL l  psyco(python->C动态编译器) l  lighttpd(取代Apache作为视频服务器) 统计数据 l 
Global site tag (gtag.js) - Google Analytics