Archive for November, 2007

November 25, 2007 0

是定系 ?

By admin in By-Talk

是定系 ?

November 23, 2007 0

代码 ‘_’

By admin in By-Talk

代码 ‘_’
如果组合的时候用 会不会更好!

November 22, 2007 0

数据库的索引

By admin in By-Talk

记录一下,
老大说
数据库的压力 ,同样的一套程序在不同的压力下索引的建立是很讲究的.具体是怎么样的!有待研究!

November 12, 2007 0

[libphp5.la] Error 1 PHP5 奇怪的错误

By admin in By-Talk

下午重新编译PHP5的时候使用的是原来的源码包,编译的过程 MAKE的时候出错
/usr/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
解决办法
重新下一个包
重新编译
崩溃+BT

November 6, 2007 0

Apple_PK_PC

By admin in By-Talk

Apple_PK_PC
如图

November 2, 2007 0

Apache configure: error: Cannot use an external APR with the bundled APR-utilq 错误

By admin in Technic

configure: error: Cannot use an external APR with the bundled APR-utilq错误解决
今天重新编译机器的时候遇到这种问题。网上翻了一下!解决方法如下
安装APR
进到apache的文件目录找一下!按照下面的过程编译
cd srclib/apr
./configure –prefix=/usr/local/apr
make
make install
安装APR-util
cd srclib/apr-util
./configure –prefix=/usr/local/apr-util –with-apr=/usr/local/apr
make
make install
完成上面两次编译后
重新编译APACHE的时候加上
–with-apr=/usr/local/apr
–with-apr-util=/usr/local/apr-util/bin
问题解决!呵呵!

November 1, 2007 0

Shell 脚本获取本地服务器IP

By admin in Technic

declare -a ALL_IP;
ALL_IP=(`ifconfig -a | grep -E -o ‘inet (addr:)?[0-9]{1,3}(\.[0-9]{1,3}){3}’ | grep -E -o ‘[0-9\.]+’ |grep -E -o ‘[0-9\.]+’`);
for i in ${ALL_IP[@]}; do
if [[ ${i} =~ ^127 ]]; then
continue;
elif [[ ${i} =~ ^192 ]]; then
[...]