一只猥琐的胖猫

2011-12-27 Ray Diary

FREE photo hosting by http://www.meituge.com | Free Image Hosting

阅读全文>>

评论(0) 浏览(1906)

N900刷机后安装软件顺序

2011-12-27 Ray Nokia N900

N900刷机后装软件貌似有先后顺序,如果先安装advanced-power后电池图标会消失,必须按顺序来才可以。

<backup>
 libqtm-systeminfo
 libqtm-contacts
 openssh-server
 libqtm-sensors
 mscim
 angrybirds
 libqtm-bearer
 frontview900
 wifi-switcher
 libqtm-versit
 evince
 foreca-weather-applet
 rdesktop
 feedservice-plugin-ap
 dorian
 libqtm-location
 dtg
 openssh-client
 rootsh
 mp-fremantle-generic-pr
 libqtm-messaging
 mstardict
 simple-brightness-...

阅读全文>>

评论(0) 浏览(3783)

DISCUZ7.2和ss7.5聚合设置提示论坛路径错误

2011-12-27 Ray Vhost

discuz7.2版本与ss后台整合的时候,总是提示论坛路径设置错误,打开SS的后台admin_bbs.php文件,看了之后发现,原来ss是通过读取你设置的URL加一个默认文件的内容,通过远程下载方式,如果下载到的内容的长度大于100,则认为正确,小于则认为错误,解决办法很简单,打开ss的admin_bbs.php文件,将以下代码:
$_SC['bbsurl'] = trim($_POST['bbsurl']);

$txt = sreadfile($_SC['bbsurl'].'/viewthread.php', 'r', 1);
if(strlen($txt) < 100) {
   showmessage('bbs_url_error', CPURL.'?action=bbs&error=bbsurl');
}
替换为:
$_SC['bbsurl'] = trim($_POST['bbsurl']);
//e...

阅读全文>>

评论(1) 浏览(3116)

小猫咪

2011-12-25 Ray Diary

FREE photo hosting by http://www.meituge.com | Free Image Hosting

阅读全文>>

评论(0) 浏览(1331)

wget进行递归下载整站至本地

2011-12-19 Ray Tips

这个命令可以以递归的方式下载整站,并可以将下载的页面中的链接转换为本地链接。

wget加上参数之后,即可成为相当强大的下载工具。

wget -r -p -np -k http://xxx.com/abc/

-r,  --recursive(递归)          specify recursive download.(指定递归下载)
-k,  --convert-links(转换链接)      make links in downloaded HTML point to local files.(将下载的HTML页面中的链接转换为相对链接即本地链接)
-p,  --page-requisites(页面必需元素)    get all images, etc. needed to display HTML page.(下载所有的图片等页面显示所需的内容)
-np, --no-parent(不追溯至父...

阅读全文>>

评论(0) 浏览(1606)

这个机柜怎么样,全部由chromebook组成

2011-12-17 Ray

FREE photo hosting by www.meituge.com|Free Image Hosting FREE photo hosting by www.meituge.com|Free Image Hosting FREE photo hosting by www.meituge.com|Free Image Hosting FREE photo hosting by www.meituge.com|Free Image Hosting

阅读全文>>

评论(0) 浏览(1798)

nginx:[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)

2011-12-11 Ray Vhost

 在本地电脑上测试一个php整站程序,配置了vhost中conf文件后重启nginx报错:

root@ubuntu:/home/meituge # /etc/init.d/nginx.sh
Starting php_fpm  done
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:88 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:88 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:88 failed (98: Address...

阅读全文>>

评论(0) 浏览(8392)

Powered by emlog 京ICP备05005575号