怎么我把无觅插件删除以后,怎么在feed输出中还显示呢? 原来是有缓存的结果啊,那么feed的缓存保存在哪里呢? Read the rest of this entry
Archive for the ‘Linux’ Category
[Linux] 几个关于邮件的术语
MUA 邮件用户代理(Mail User Agent) 将用户的邮件发送至MTA或者通过POP3、IMAP协议将邮件从MTA取到本机。常见的MUA有Foxmail,Outlook Express等邮件客户端程序。 SMTP(Simple Mail Transfer Protocol)即简单邮件传输协议。顾名思义他就是用来传递 Read the rest of this entry
[AMP] wordpress 从apache到nginx
nginx里的重定向 location / { if (-f $request_filename/index.html){ rewrite (.*) $1/index.html break; } if (-f $request_filename/index.php){ rewrite (.*) $1/index.php; } if (!-f $request_filename){ … Read the rest of this entry
[AMP] wordpress中让主题支持菜单导航
1,主题所使用的文件夹在wp-content/themes/所对应的主题文件夹 主题里边有—–functions.php(主题所用的函数主要在这个里边),在本文件中添加如下代码: register_nav_menus(array(‘header-menu’ => __( ‘导航自定义菜 Read the rest of this entry
[Linux] vi中如何替换某字符成“回车”?
在 vi 中: :s/,/^M/g (you need to type CTRL-V <CR> to get a ^M here) Read the rest of this entry
[Linux] 重拾linux
因为在我的移动硬盘里有个linux的分区,需要整理里面的文件。这不就要用到linux了吗? 但是新电脑里没有linux,就用到了我万能的U盘了。grub真好,让我能用u盘启动好多东西。 下个什么版本的linux呢?好多linux版本的名字都给忘 Read the rest of this entry
[Linux] backupwordpress 中文问题
最近用nginx新建了个站,在用到backupwordpress插件时,发现备份文件不能下载。 自己登上服务器一看,备份文件已经生成,就是不能下载。和以前不同的是,blog的name是汉字。我想就是他引起的。我也不想查找是nginx的问题还是这 Read the rest of this entry
[Linux] 编译安装nginx
首先还是先下载最新的安装包,接着是解压文件。 然后开始linux安装软件的三部曲:configure&&make&& make install。 1:configure的一些参数 /configure –prefix=/usr \ –sbin-path=/usr/sbin/nginx \ –conf-path=/etc/nginx/ngi… Read the rest of this entry
[AMP] php-header
今天在apache的错误日志中发现如下一行: [Fri Apr 15 02:09:40 2011] [error] [client 119.177.37.124] PHP Warning: Header may not contain more than a single header, new line detected. in /www/blog/wp-content/plugins/ba… Read the rest of this entry
[Linux] mutt 无法发信
在新服务器上用mutt测试的发信,却提示错误: shell>mutt -s “sdsfsa” sunliguo2006@qq.com </dev/null Error sending message, child exited 65 (Data format error.). Could not send the message. sendmaild的错误日志: … Read the rest of this entry