Jeffrey’s Blog

lighttpd学习笔记

Filed under: 应用服务 — Jeffrey @ Thursday, September 25th, 2008 6:23 pm 108 views  

一. 基本安装
官方网站: http://www.lighttpd.net
./configure –prefix=/zhangjianfeng.com/app/lighttpd-1.4.19l
mkdir /zhangjianfeng.com/app/lighttpd-1.4.19/conf/
cp doc/lighttpd.conf /zhangjianfeng.com/app/lighttpd-1.4.19/conf/
手工启动方法:  /zhangjianfeng.com/app/lighttpd-1.4.19/sbin/lighttpd -f /zhangjianfeng.com/app/lighttpd-1.4.19/conf/lighttpd.conf
服务控制脚本:  安装包自带了一个脚本, doc/rc.lighttpd, Continue Reading ...

lighttpd+mod_flv_streaming+flowplayer实现拖动播放/推荐FLV

Filed under: 应用服务 — Jeffrey @ Tuesday, August 26th, 2008 9:01 am 326 views  

lighttpd安装配置
下载: http://www.lighttpd.net/download
./configure –prefix=/jeffrey/app/lighttpd-1.4.19  && make && make install
mkdir /jeffrey/app/lighttpd-1.4.19/conf/
mkdir /var/log/lighttpd
cp doc/lighttpd.conf /jeffrey/app/lighttpd-1.4.19/conf/
vi /jeffrey/app/lighttpd-1.4.19/conf/lighttpd.conf

server.modules              = (
…..
Continue Reading ...

exp/imp对oracle进行数据进行迁移的操作笔记

Filed under: 应用服务, 电脑网络 — Jeffrey @ Tuesday, June 24th, 2008 4:21 pm 662 views  

1.从源服务器上导出数据文件到指定目录
exp client/zhangjianfengclient  file=/zhangjianfeng/backup/oracle/client.dmp log=/zhangjianfeng/backup/oracle/client.log
2.在源服务器上查看用户默认表空间,以便导入时创建一样的表空间
SQL> select username,default_tablespace from dba_users where username =’CLIENT’;
3.查看用户使用的表空间
SQL> select DISTINCT owner ,tablespace_name from dba_extents where Continue Reading ...

从LiveJournal后台发展看大规模网站性能优化方法[zz]

Filed under: 应用服务 — Jeffrey @ Wednesday, May 21st, 2008 6:36 pm 1,563 views  

因近期打算对公司应用架构进行调整, 其中的一些思路值得借鉴.

以下为转载内容:

一、LiveJournal发展历程

Continue Reading ...

sql 调优整理[zz]

Filed under: 应用服务 — Jeffrey @ Saturday, May 10th, 2008 11:52 pm 821 views  

载自itpub xbxing
很好,很全面的一篇关于oracle sql调优的文章。文章非常长,大家可一有空就看一点。
1. 选用适合的ORACLE优化器
    ORACLE的优化器共有3种:
   a.  RULE (基于规则)   b. COST (基于成本)  c. CHOOSE (选择性)
    设置缺省的优化器,可以通过对init.ora文件中OPTIMIZER_MODE参数的各种声明,如RULE,COST,CHOOSE,ALL_ROWS,FIRST_ROWS . Continue Reading ...

在 Oracle 数据库 10g中轻松进行响应时间分析[zz]

Filed under: 应用服务 — Jeffrey @ 6:36 pm 893 views  

文章来自: http://www.oracle.com/technology/global/cn/pub/articles/schumacher_analysis.html
过去,在努力获得最佳数据库性能的过程中,Oracle Continue Reading ...

squid日志状态说明

Filed under: 应用服务 — Jeffrey @ Saturday, March 29th, 2008 10:49 pm 1,833 views  

access.log记录格式如下

remotehost rfc931 authuser [date] “method URL” status bytes [Result Codes]:[Hierarchy Codes]

如:

221.222.213.64 - - [15/Nov/2006:00:00:03 +0800] “GET http://bbs.ci123.com/sample.jpg HTTP/1.1″ 200 240673 TCP_MEM_HIT:NONE

可以通过脚本查看一些统计信息,如各种反应状态所占的比例,通常较好的情况下HIT所占的比例(应该就是所谓的命中率)可以在70%~80%

cat Continue Reading ...

mysql主从服务器的配置笔记

Filed under: 应用服务 — Jeffrey @ Wednesday, December 26th, 2007 5:48 pm 2,134 views  

mysql主从服务器的配置笔记

注: 从MySQL从服务器的版本不能小于主服务器的版本

一. MySQL主服务器配置
1.建立用户
grant replication slave on *.* to repluser1@192.168.8.126 identified by ‘111111′;
# grant replication slave on *.* to ‘用户名’@'主机’ identified by ‘密码’;
# 可在B Slave上做连接测试: mysql -h 192.168.8.126 -u test Continue Reading ...

Protected: 性能参数瓶径值收集整理

Filed under: 应用服务 — Jeffrey @ Wednesday, November 7th, 2007 3:06 pm 1,236 views  

This post is password protected. To view it please enter your password below:


Continue Reading ...

MySQL配置文件说明[zz]

Filed under: 应用服务 — Jeffrey @ Saturday, September 29th, 2007 4:03 pm 2,944 views  

作者:tyc00n
原文url: http://bbs.chinaunix.net/viewthread.php?tid=579846

MySQL配置文件
MySQL发布的最新产品实际上超出了Red Hat Enterprise Linux所携带的版本。但是,稳定性和开放源代码可是很重要的因素,因此在操作系统上使用较早MySQL版本是有道理的。
Continue Reading ...

Page 1 of 912345»...Last »

京ICP备06038449号