301 rewrite
check http://www.idealwebtools.com/blog/top/
detail definition of top command
bough hosting from hostgator.
cpu load is little bit high
zend_extension=/usr/local/Zend/lib/Optimizer-3.2.2/php-4.4.x/ZendOptimizer.so
301 永久定向
I am only talking about apache .htaccess rewrite.
http://www.imxl.net/copysave/51.html
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.unsns.com/bbs/$1 [R=301,L]
this will enable every directory to redirect to the other domain, unless within the directory which has .htaccess file in it. In this case, you have to change the content of .htaccess as well, or just remove it.
the other two 301 redirect, see below:
Redirect permanent / http://directory.chinaeguide.com/ (redirect whole directory to http://directory.chinaeguide.com/)
redirect permanent /old.html http://directory.chinaeguide.com/new-url/ (redirect page old.html to http://directory.chinaeguide.com/new-url/ )
mysql command on restore and backup
mysqldump –opt -uusername -ppassword -h yourMySQLHostname dbname > filename.sql
mysql -uusername -ppassword -h yourMySQLHostname dbname < filename.sql
Max_used_connections 当前值, MySQL起动以来最大的连接数
mysql commands:
show processlist;
show status;
status;
还有 MySQL中我认为比重要的一些Status变量 http://www.anysql.net/mysql/important_status_variables.html