CentOS wget安装PYCURL ERROR 6 - "Couldn't安装东西报错解决

Publish: March 15, 2014 Category: 文档 No Comments

yum install wget报错:Loaded plugins: fastestmirror Could not retrieve mirrorlist http://mirrorlist.ce...

隐藏统计代码图标的二种方法

Publish: March 5, 2014 Category: 文档 No Comments

隐藏图标方法一: 为SCRIPT加上type="hidden"属性,即可隐藏统计代码里的图标。如下:《script language=“javascript” type=“text/javascri...

linux下用dnspod实现动态域名解析(可用于Tomato等路由器)

Publish: February 24, 2014 Category: 文档 No Comments

需要php环境。保存为dns.php文件。如Tomato路由器已经挂载php环境,执行:/opt/bin/php /opt/dns.php 或将以上命令放在脚本设置---当WAN联机里。

TYPECHO 伪静态规则 Rewrite

Publish: February 24, 2014 Category: 文档 No Comments

一、Apache RewriteEngine On # 下面是在根目录,文件夹要修改路径,如 /typecho/,同时 RewriteRule 也要跟着变 RewriteBase / Rew...

在Tomato DualWAN 路由器上搭建web服务器环境 lighttpd + php + mysql

Publish: February 16, 2014 Category: 文档 No Comments

好不容易把平台给搭建好了,当然要和大家分享搭建过程了 基于 Tomato DualWAN 1.28.0538固件 有问题可以直接在我搭建好的博客上留言~建立过程如下: 1、挂载opt分区(tmp/m...

nginx禁止访问某个指定的文件和文件夹

Publish: January 16, 2014 Category: 文档 No Comments

nginx禁止访问所有.开头的隐藏文件设置:location ~* /\.* { deny all; }nginx禁止访问目录,例如:禁止访问path目录location ^~ /path { ...

使用bat批处理命令行更改写入编辑host文件

Publish: January 8, 2014 Category: 文档 No Comments

// 寻找含有原纪录的行删除,并保存bak备份。 findstr /v "www.test.com" "C:\Windows\System32\Drivers\etc\hosts">>C:\W...