Monthly Archives: March 2007

Extract and decompile .chm file to view as html file under Linux

zz:http://www.cyberciti.biz/tips/decompile-chm-file-to-view-as-html.html From the man page: arCHMage is an extensible reader and decompiler for files in the CHM format. This is the format used by Microsoft HTML Help, and is also known as Compiled HTML. arCHMage is based on python-chm binding … Continue reading

Posted in Linux | Leave a comment

mysql max key length bigger 1000bytes

Creating tables… using MySQL 5 UTF-8 table defs…Query “CREATE TABLE `categorylinks` ( cl_from int(8) unsigned NOT NULL default ’0′, cl_to varchar(255) binary NOT NULL default ”, cl_sortkey varchar(86) binary NOT NULL default ”, cl_timestamp timestamp NOT NULL, UNIQUE KEY cl_from … Continue reading

Posted in Mysql | Leave a comment

wordpress and mysql conflicting character encoding

How to fix mysql conficting character set problem? After I have upgrade some websites successful ,and help some friends. Let me write some ideas on this question. Let’s assume you are useing linux os. Let’s follow these steps. 1,use php … Continue reading

Posted in PHP | Leave a comment

install wordpress correctly

I setup mysql with gb2312 default character support,and use utf-8 for page setting.i find i can’t save post correctly,part of post will lost after save. I dump mysql table,and replace the table with utf8 support. and modify wp-db.php. $this->dbh = … Continue reading

Posted in PHP | Leave a comment

wordpress 2.1 500 internal server error

When I install wordpress 2.1 ,I found some errors in the httpd server log.  [Mon Mar 26 06:49:30 2007] [error] [client 60.191.232.80] FastCGI: comm with server “/usr/local/apache2/cgi-bin/php” aborted: idle timeout (10 sec) [Mon Mar 26 06:49:30 2007] [error] [client 60.191.232.80] … Continue reading

Posted in PHP | Leave a comment

Fedora Core upgrade with yum

http://www.brandonhutchinson.com/Upgrading_Red_Hat_Linux_with_yum.html Upgrading Red Hat Linux/Fedora Core with yum It is possible to upgrade your Red Hat Linux/Fedora Core system using yum instead of the CD/DVD-based install or upgrade option. Only experienced Red Hat/Fedora Core users should attempt this, as the yum … Continue reading

Posted in Linux | Leave a comment

ultra monkey load balance and high available network service

English | Japanese Top | About | Mirrors | History | Contacts | Ultra Monkey 3 | Ultra Monkey 2.0.1 (Old) News Archive | Papers | Ultra Monkey L7 [offsite] About Ultra Monkey Overview Cluster Network Services Ultra Monkey is a project to create load balanced and highly available network … Continue reading

Posted in Network | 1 Comment

apache rotatelogs

apache Every day ,it will create a new log file CustomLog “|/usr/local/httpd/bin/rotatelogs /var/logs/access.log%Y%m%d 86400 480″ common edit crontab,try to purge one weeks ago log. find /var/log -type f ! -mtime -7 -name “access.log*” -exec rm -rf

Posted in Linux | Leave a comment

apache2 mod_bw

zz from: http://final.52mdj.com/archives/67.html mod_limitipconn 和mod_bw这2个模块 至于怎么装什么的搜索一下就可以 编译mod_bw 之后出现如下错误 httpd: Syntax error on line 203 of /usr/local/apache22/conf/httpd.conf: Cannot load /usr/local/apache22/modules/mod_bw.so into server: /usr/local/apache22/modules/mod_bw.so: undefined symbol: apr_atomic_add 不要慌 修改一下mod_bw.c 就可以 #ifdef APR_MAJOR_VERSION   //添加这行 #if (APR_MAJOR_VERSION < 1)     #define apr_atomic_inc32 apr_atomic_inc     … Continue reading

Posted in Linux | Leave a comment

limitipconn2

http://dominia.org/djao/limitipconn2.html   tar.gz package Redhat 9 binary rpm Fedora Core 3 binary rpm source rpm README file Precompiled win32 DLL (contributed by Apachez) old versions Installation The instructions below are written for Apache 2.0.39 since that’s what I had when … Continue reading

Posted in Linux | Leave a comment