MySQL生产中Tips
1、my.cnf的检查工具 mytop mysqlreport 2、允许mysql query caches 3、Optimize tables 的效果比服务器调整更好一点,如果不能确定优化对象,启动slow query log 4、my.cnf参数调优 key_buffer = 20%-50% Physical Ram du -sh */*.MYI...
View ArticleApache之suExec
Apache的suExec可以通过切换用户来提高一些应用的安全系数 今天配置的时候出现下列错误 “Internal Server Error” 检查日志 (13)Permission denied: exec of ‘/usr/sbin/suexec’ failed [Mon Mar 02 13:35:55 2009] [error] [client myip] Premature end of...
View ArticleApache modules for un-kind users
Modules for block some un-kind users. to some extents, it can do some help with DDoS Modules Name: mod_memcache_block FEATURES: Distributed White and Black listing of IPs, ranges, and CIDR blocks...
View ArticleWeb Cookies
The programmers met a problem when use Typo3, the clients can’t login with IE but can login with Firefox/Opera. After the investigation , we find the problem is the cookies. Typo3 can set the domain...
View ArticleUse Google Js API or YUI if u can
at the title, benefits in short 1. the Google use CDN, so the clients can browser faster than your own server. 2. use it can save ur bandwidth and network usage 3. Increases Number Of Parallel...
View ArticleHome permission
when we open user_dir in apache, we should change the /home as 711 i changed it to 711 no,but still have some problems the developer use Ruby , it shows the following in apache error log. Permission...
View ArticleInstall Php5.2 with Yum
Install Php5.2.x with yum. 1. Enable development repositories on CentOS, but only for i386 http://wiki.centos.org/HowTos/PHP_5.1_To_5.2 2. Only for Test Enviorment, not recommend for Prod. $rpm –import...
View Articlethe optimization of ecshop
One game with optimization of ecshop. We use eaccelerator as op for php code. also tested APC and Xcache. seems EA is better on ecshop. it finally turn out the speed is slow down by the session on DB...
View Articlehow to get latest php mysql
There are many ways, you can compile by yourself, but not good in production env. Here is option from iuscommunity.org We are committed to providing up-to-date and regularly maintained RPM packages for...
View ArticleLast LAMP update in CentOS 5/6
PowerStack is a repository that allows you to run the latest LAMP versions in your Enterprise Linux. Currently both CentOS and RHEL are supported (i686 and x86_64). rpm -Uvh...
View Article
More Pages to Explore .....