登录whm,左边cpanel,Branding
右边对里面的theme x3进行“Live Editor”
root -> Edit this style
Basic Branding Editor -> Edit logos
(more…)
登录whm,左边cpanel,Branding
右边对里面的theme x3进行“Live Editor”
root -> Edit this style
Basic Branding Editor -> Edit logos
(more…)
fast-cgi会比suphp消耗多些内存,如果内存不多,不建议使用。如果cpu不够强,经常高负,但内存又充足的话,可以选用fast-cgi。
fast-cgi省cpu耗内存难监控。
suphp省内存耗cpu易监控。
1.php要使用fast-cgi,首先在EasyApache编译的时候,要选上cgi-fcgi模块。如果之前没有编译可以重新EasyApache编译。
2.WHM >> Service Configuration >> Configure PHP and SuExec
PHP 5 Handler 选择 fcgi
“Save New Configuration”
(more…)
关闭 SpamAssassin
这个程序对于阻挡spam并不是太过重要,建议用csf监测效果更明显,可这样子关闭:
到 WHM > Server Configuration > Tweak Settings > Disable Spamd(即Enable BoxTrapper spam trap设为off,Enable SpamAssassin spam filter设为off)
及:
到 WHM > Service Manager > Disable Spamd(把spamd的Enabled Monitor的勾都去掉)
(more…)
安装
CentOS:执行yum -y install nano
Debian:执行apt-get install -y nano
新建/打开文件
nano 路径+文件名 如果改文件存在,上面的命令将打开这个文件;如果文件不存在则将会创建一个新文件并打开。
Note:在Windows系统中,一个文件应当有后缀名,比如.txt,以供系统进行类型判断,不过Linux并不根据 后缀名来判断类型。当然,写上后缀名也无妨,比如example也可以用example.txt。 (more…)
Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!