Posted by bianbian on 2007-12-30 01:16
本文Tags: 生日
www.nju.org.cn
机器5年前的了,只有512M内存,跑了mail服务器,apache+php,resin两个,mysql两个,还有若干虚拟主机,似乎还有ftp
偶只能彻底无语,硬盘最后光荣挂了
昨天开始装系统,编内核,做了尽可能的优化
去掉apache,改成nginx
极度没有人品的php从php4.3到php5.2只有4.4.4能编译成factcgi,亏我当年喜欢用你,再一次无语
resin,mysql留一对(谁知道怎么比较方便地从mysql3导出数据到mysql5?)
除了java的动态内容丢给resin反向代理,其他都nginx来负责输出
最最最无语的是给我的数据盘是IDE的,文件系统是NTFS的,文件属性,软链接文件都gone了,恢复
出来的resin、mysql等等拷过去都不能直接用,还得查版本找下载重编译,,,,无语
为了NTFS再编译内核,挂了半天,usb还是1.0的,于是只好
挂到另一台usb2.0的机器上,sftp过去,还好有lftp,不然死掉的心都有
这时候就知道USB是多慢了,怎么不拿SCSI盘拿去给数据恢复的放数据,再一次无语
mail已经有80G数据了,估计还得倒一天
在暗无天日,机器轰鸣,缺氧辐射的电信机房待一天
你就会有想死的感觉
感谢nginx,ssh,lftp,fuze,ntfs-3g
没有你们就没有冲过重重难关的胜利,也坚定了我要做个GPLer的决心
最后感慨一句,好久没有这么无语了
晚饭请一伙人吃了哈根达斯的冰激凌蛋糕,总算有点生日的样子。5555,俺的血汗钱
标签:
生日遵守创作共用协议,转载请链接形式注明来自
http://bianbian.org 做人要厚道
相关日志
Posted in Technology | 2 Comments »
Posted by bianbian on 2007-12-29 04:07
本文Tags: bug, fastcgi, php, slackware
On Slackware 12.0, compile php to fastcgi alwayes failed, only get CGI:
./configure --enable-fastcgi --enable-force-cgi-redirect
./php --version
PHP x.x.x (cgi)
....
so use spawn-fcgi (lighttpd) always get exit.
OH MY GOD…. I tried from php 4.3.0 - php 5.2.0, only php 4.4.4 can get fastcgi:
./php --version
PHP 4.4.4 (cgi-fcgi) (built: Dec 29 2007 03:55:36)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
why??????????????????????
标签:
bug,
fastcgi,
php,
slackware遵守创作共用协议,转载请链接形式注明来自
http://bianbian.org 做人要厚道
相关日志
Posted in Technology, php | No Comments »
Posted by bianbian on 2007-12-28 07:00
本文Tags: slackware, 内核, 编译
make menuconfig 遇到错误:
In file included from scripts/lxdialog/checklist.c:24:
scripts/lxdialog/dialog.h:32:20: curses.h: No such file or directory
In file included from scripts/lxdialog/checklist.c:24:
scripts/lxdialog/dialog.h:130: error: syntax error before “use_colors”
scripts/lxdialog/dialog.h:130: warning: type defaults to `int’ in declaration of `use_colors’
scripts/lxdialog/dialog.h:130: warning: data definition has no type or storage class
scripts/lxdialog/dialog.h:131: error: syntax error before “use_shadow”
scripts/lxdialog/dialog.h:131: warning: type defaults to `int’ in declaration of `use_shadow’
scripts/lxdialog/dialog.h:131: warning: data definition has no type or storage class
scripts/lxdialog/dialog.h:133: error: syntax error before “attributes”
scripts/lxdialog/dialog.h:133: warning: type defaults to `int’ in declaration of `attributes’
scripts/lxdialog/dialog.h:133: warning: data definition has no type or storage class
scripts/lxdialog/dialog.h:146: error: syntax error before ‘*’ token
scripts/lxdialog/dialog.h:146: warning: function declaration isn’t a prototype
scripts/lxdialog/dialog.h:149: error: syntax error before ‘*’ token
scripts/lxdialog/dialog.h:149: warning: function declaration isn’t a prototype
scripts/lxdialog/dialog.h:150: error: syntax error before ‘*’ token
scripts/lxdialog/dialog.h:150: warning: function declaration isn’t a prototype
scripts/lxdialog/dialog.h:151: error: syntax error before ‘*’ token
scripts/lxdialog/dialog.h:152: warning: function declaration isn’t a prototype
scripts/lxdialog/dialog.h:153: error: syntax error before ‘*’ token
scripts/lxdialog/dialog.h:153: warning: function declaration isn’t a prototype
scripts/lxdialog/checklist.c:32: error: syntax error before ‘*’ token
scripts/lxdialog/checklist.c:34: warning: function declaration isn’t a prototype
scripts/lxdialog/checklist.c: In function `print_item’:
scripts/lxdialog/checklist.c:38: warning: implicit declaration of function `wattrset’
scripts/lxdialog/checklist.c:38: error: `win’ undeclared (first use in this function)
scripts/lxdialog/checklist.c:38: error: (Each undeclared identifier is reported only once
scripts/lxdialog/checklist.c:38: error: for each function it appears in.)
scripts/lxdialog/checklist.c:39: warning: implicit declaration of function `wmove’
scripts/lxdialog/checklist.c:39: error: `choice’ undeclared (first use in this function)
scripts/lxdialog/checklist.c:41: warning: implicit declaration of function `waddch’
……
解决:
安装的时候少了一个包, 找到光盘里的 /slackware/l/ncruses-5.6-i486-2.tgz
# installpkg ncruses-5.6-i486-2.tgz
即可
标签:
slackware,
内核,
编译遵守创作共用协议,转载请链接形式注明来自
http://bianbian.org 做人要厚道
相关日志
Posted in Linux, Technology | No Comments »
Posted by bianbian on 2007-12-12 07:41
本文Tags: 腐败
未出帐单查询
交易日期 记账日期 交易摘要 交易地点 卡号末四位 人民币金额
(略去网络帐单)
2007-11-17 2007-11-18 横店集团东阳横店仓储购 CN 7866 ¥58.00
2007-11-23 2007-11-24 宜家 CN 7866 ¥96.20
2007-11-24 2007-11-25 南京必胜客金山店 CN 7866 ¥75.00
2007-11-28 2007-11-29 南京必胜客乐富来店 CN 7866 ¥121.55
2007-11-29 2007-11-30 南京渔人庄活鱼锅贴 CN 7998 ¥12.00
2007-11-29 2007-11-30 南京必胜客乐富来店 CN 7866 ¥100.00
2007-11-29 2007-11-30 苏果超市 CN 7998 ¥22.00
2007-12-01 2007-12-02 苏果超市 CN 7998 ¥9.60
2007-12-02 2007-12-03 南京必胜客金山店 CN 7998 ¥100.00
2007-12-04 2007-12-05 南京必胜客金山店 CN 7998 ¥25.00
2007-12-05 2007-12-06 苏果超市 CN 7998 ¥14.10
2007-12-06 2007-12-07 南京必胜客金山店 CN 7998 ¥40.00
2007-12-07 2007-12-08 南京大洋百货中山南路1 CN 7998 ¥32.00
2007-12-07 2007-12-08 南京大洋百货中山南路1 CN 7998 ¥82.00
2007-12-07 2007-12-08 南京必胜客大洋店 CN 7866 ¥242.40
2007-12-08 2007-12-09 苏果超市 CN 7998 ¥17.60
2007-12-09 2007-12-10 南京必胜客乐富来店 CN 7866 ¥150.00
2007-12-10 2007-12-11 南京食为先美食 CN 7866 ¥103.00
标签:
腐败遵守创作共用协议,转载请链接形式注明来自
http://bianbian.org 做人要厚道
相关日志
Posted in Uncategorized | 3 Comments »