dedecms通过.htaccess防止被挂马
.htaccess文件里面写入 <IfModule mod_rewrite.c> RewriteEngine on RewriteRule (plus|member|special|include|data|a|images|t...
.htaccess文件里面写入 <IfModule mod_rewrite.c> RewriteEngine on RewriteRule (plus|member|special|include|data|a|images|t...
UPDATE wp_posts SET post_content = REPLACE(post_content, ‘http://old.com’,’http://new.com’)
/usr/local/bin/php -q /home/user/domains/domain.com/public_html/script.php
<IfModule mod_rewrite.c> RewriteEngine on RewriteRule (plus|member|special|include|data|a|images|templets|uploads|...
cat /proc/interrupts 查看IRQ
cd /etc/init.d mv named named.backup wget http://www.directadmin.com/named chmod 755 named /sbin/chkconfig named reset 最...
echo 0 >/proc/sys/net/ipv4/icmp_echo_ignore_all
首先停止mysql 执行service mysqld stop 进入mysql安全模式 mysqld_safe –skip-grant-tables & use mysql ...
yum install pcre-devel wget http://pecl.php.net/get/APC-3.1.9.tgz tar zxvf APC-3.1.9.tgz cd APC-3.1.9/ /usr/bin/phpize ....
wget http://bart.eaccelerator.net/source/0.9.6.1/eaccelerator-0.9.6.1.tar.bz2 tar xvfj eaccelerator-0.9.6.1.tar.bz2 cd e...