prebuilt ppm packages for win32 activeperl
[
2008/12/14 08:20 | by askwan ]
2008/12/14 08:20 | by askwan ]
This area contains prebuilt ppm packages for Win32 for ActivePerl builds
for 10xx
http://cpan.uwinnipeg.ca/PPMPackages/
http://www.bribes.org/perl/ppm
http://trouchelle.com/ppm10/
http://cpan.uwinnipeg.ca/PPMPackages/10xx/
for 8xx
http://theoryx5.uwinnipeg.ca/ppms/
http://www.bribes.org/perl/ppm
http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58
http://theoryx5.uwinnipeg.ca/ppms/
http://trouchelle.com/ppm/
http://ppm.tcool.org/archives/
for 6xx
http://theoryx5.uwinnipeg.ca/ppmpackages/
http://www.bribes.org/perl/ppm
http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer
eg::
Packages in this directory may be installed by giving the following command at a DOS prompt:
C:\>ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/[package].ppd
for 10xx
http://cpan.uwinnipeg.ca/PPMPackages/
http://www.bribes.org/perl/ppm
http://trouchelle.com/ppm10/
http://cpan.uwinnipeg.ca/PPMPackages/10xx/
for 8xx
http://theoryx5.uwinnipeg.ca/ppms/
http://www.bribes.org/perl/ppm
http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58
http://theoryx5.uwinnipeg.ca/ppms/
http://trouchelle.com/ppm/
http://ppm.tcool.org/archives/
for 6xx
http://theoryx5.uwinnipeg.ca/ppmpackages/
http://www.bribes.org/perl/ppm
http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer
eg::
Packages in this directory may be installed by giving the following command at a DOS prompt:
C:\>ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/[package].ppd
mysql的ibdata1
[
2008/11/23 08:57 | by askwan ]
2008/11/23 08:57 | by askwan ]
myisam和innodb类型,用这两种存储引擎的都有不少,这次我将公司一库所有表由innodb转为myisam,很顺利,有个问题就生存了,库的体积增大了几乎一倍,原来主要是ibdata1超大,每天几十几百M的增加,现在转为myisam了,数据又重新存储了,备份和维护都挺麻烦,既然已经转为myisam了,这个文件ibdata1 和日志文件ib_logfile0 ib_logfile1都是检查文件一致性的,关闭库,删之,重启库,库体积减少一倍多,搞掂。
总结:
删除ibdata文件大致有两种方法
1.将表类型转为myisam后(其实数据已经转为文件方式存储了,数据不会丢失,不过有时候需要重新建立索引。)
删除ibdata1 ,ib_logfile0, ib_logfile1,重新启动,重建这三个文件,默认新建一个10M和2个5M大小文件,这比直接动辄10G的ibdata文件可让人轻松多了。
2.将数据库用mysqldump导出后,重新部署mysql或者删除数据库,停止库,删除三个大文件,重新启动库,在导入,耗费时间比较长。
这两种方法都需要停止数据库,大库可能需要较长时间,操作都需慎重。
总结:
删除ibdata文件大致有两种方法
1.将表类型转为myisam后(其实数据已经转为文件方式存储了,数据不会丢失,不过有时候需要重新建立索引。)
删除ibdata1 ,ib_logfile0, ib_logfile1,重新启动,重建这三个文件,默认新建一个10M和2个5M大小文件,这比直接动辄10G的ibdata文件可让人轻松多了。
2.将数据库用mysqldump导出后,重新部署mysql或者删除数据库,停止库,删除三个大文件,重新启动库,在导入,耗费时间比较长。
这两种方法都需要停止数据库,大库可能需要较长时间,操作都需慎重。
php扩展模块tidy安装
[
2008/11/20 14:09 | by askwan ]
2008/11/20 14:09 | by askwan ]
tidy是一个非常好用的html代码分析和纠错的工具,
这里有相关介绍:http://pecl.php.net/package/tidy
首先安装tidy库支持
可以用svn checkout 最新源代码
或者直接到这里:http://pecl.php.net/package/tidy下载已经打包好的源码包
这里有相关介绍:http://pecl.php.net/package/tidy
首先安装tidy库支持
可以用svn checkout 最新源代码
Quotation
#cvs -d:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy login
#cvs -z3 -d:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy co tidy
#cvs -z3 -d:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy co tidy
或者直接到这里:http://pecl.php.net/package/tidy下载已经打包好的源码包
php扩展模块ffmpeg-php安装
[
2008/11/20 12:46 | by askwan ]
2008/11/20 12:46 | by askwan ]
我的php安装位置/usr/local/webserver/php/,路径可根据各自需要做些修改
checkout ffmpeg源码
ffmpeg:
安装ffmpeg库支持
checkout ffmpeg源码
ffmpeg:
Quotation
#svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
安装ffmpeg库支持
Quotation
#cd ffmpeg
#./configure --enable-shared
#make clean
#make
#make install
#./configure --enable-shared
#make clean
#make
#make install





