记录ubuntu中文无法访问

今天大约13:50分左右开始ubutnu中文出现无法访问的情况,原因不明。

大约两小时后15:40分左右恢复了,可正常访问。

16:09分,我回复了一个帖子之后习惯性的点击最新帖子,出现404错误。

返回forum.ubuntu.org.cn 出现nginx的欢迎页 Welcome to nginx!

Screenshot at 2011-07-11 .png

目前尚未恢复,将继续关注

16:50分恢复

Read More

<转> 今天被人鄙视了,奇耻大辱.....

一个客户,我借用他的笔记本上网找些资料

拿过来鼠标就往左上角杵,杵了三次没反应.....侧目,客户正用一种异样的眼神看着我,红脸......

找到一篇文章,鼠标左键选中,打开gmail,中键粘贴,没反应......

再次左键选中!打开gmail,中键粘贴,依旧没反应......侧目,客户手捂脸......

我这才反应过来客户笔记本是windows 7

客户站起道:”刘先生,您要弄什么,我帮您吧。“......

Read More

这两天很不好

说的是博客啦,昨天下午突然发现一个博友的博客打不开了,连接被重置,是被墙了?用ssh试下,打开了,真是被墙了?本来想写个留言告诉他被墙了的,但是还是很怀疑就没写。又打开自己的博客,连接被重置……

难道我的了被墙了?应该不是吧,应该是网络的问题。把猫重启了下,好了,都能打开了……

今天又把以前的新氧ubuntu9.04给装 了上,问题真多啊,不过最大的问题是,打不开我的博客……当然还有别的网站也打不开,还是格了吧。刚刚又试了下移动硬盘里的9.10 ,neteorkmanagre 总是不能连接到adsl。不管他了

昨天夜里(应该是前天夜里吧)做了一个梦,很好,记录在了别的地方

Read More

黑苹果果然不好装

从昨天下午到现在,一直都在安装黑苹果,结果还是没弄好。。。

昨天下载的是东皇10.6.5 v3.2的,下载来,又用工具写到硬盘里,用Boot Link启动安装,安装的还是很顺利的,就是驱动很多都没有,郁闷。显卡不完美,声卡和网卡直接没有。

之后下载了一个显卡驱动装上了,启动还是有点闪屏,晃眼,重启加-x32参数启动总算显卡是好了。网卡却一直不行,装上驱动后在系统设置 网络那里一启用en0连接就死机。。

今天又下载了一个国外的版本,更不行了,启动时直接重启,加-v参数也没用,只好又下载了东皇的2.2版本。这次看起来不错,安装时发现了有声卡的驱动,显卡那个也差不多,结果装完后启动也是直接重启。试了两个破解内核了…… 明天再安装试试,用原版内核。。

Read More

Solve debt

As consumer debt has skyrocketed to over $3 Trillion, many believe the only way out from under the mountain of bills is to declare bankruptcy. But is it right for you? Many myths persist to misinform the public.
“Probably the worst myth about bankruptcy is that you need to be flat broke before you should file,” says Sacramento bankruptcy attorney Gerald B. Glazer. “It is not good to wait until creditors are knocking on your door,” according to Glazer. Planning can prepare you for a bankruptcy that causes the least amount of financial disruption.

Read More

Ubuntu11.04下安装lnmp0.7一键安装包502错误

因今天我也遇到了,就搜索了下,现转载过来。

内核: Linux ubuntu 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux
系统版本: Ubuntu 11.04   32位

打开http://127.0.0.1 ; 显示成功,但打开 http://127.0.0.1/p.php 出现502错误

/root/lnmp restart 
错误信息:
root@ubuntu:~/lnmp0.7-full/php-5.2.17# /root/lnmp restart
Manager for LNMP V0.7  ,  Written by Licess 
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux 
This script is a tool to Manage status of lnmp 
For more information please visit http://www.lnmp.org [local]1[/local]

Usage: /root/lnmp {start|stop|reload|restart|kill|status}

Stoping LNMP...
Nginx program is stop
PHP-FPM program is not runing!
Shutting down MySQL
. * 
MySQL program is stop
Starting LNMP...
Nginx start successfully!
/root/lnmp: 行 46: /usr/local/php/sbin/php-fpm: 没有那个文件或目录
PHP-FPM start successfully!
Starting MySQL
. * 
MySQL start successfully!

解决办法:

(打开 /root/lnmp0.7-full/ubuntu.sh找到 echo "========================= php + php extensions install ==================="按里面的代码执行的。从 tar zxvf php-5.2.17.tar.gz 开始执行的,下面有具体的)

apt-get install libjpeg62 libjpeg62-dev libjpeg-dev
ln -s /usr/lib/i386-linux-gnu/libpng* /usr/lib/
ln -s /usr/lib/i386-linux-gnu/libjpeg* /usr/lib/

cd /root/lnmp0.7-full/ 或者 cd cd /root/lnmp0.7/
tar zxvf php-5.2.17.tar.gz
gzip -cd php-5.2.17-fpm-0.5.14.diff.gz | patch -d php-5.2.17 -p1
cd php-5.2.17/
./buildconf –force
./configure –prefix=/usr/local/php –with-config-file-path=/usr/local/php/etc –with-mysql=/usr/local/mysql –with-mysqli=/usr/local/mysql/bin/mysql_config –with-iconv-dir –with-freetype-dir –with-jpeg-dir –with-png-dir –with-zlib –with-libxml-dir=/usr –enable-xml –enable-discard-path –enable-magic-quotes –enable-safe-mode –enable-bcmath –enable-shmop –enable-sysvsem –enable-inline-optimization –with-curl –with-curlwrappers –enable-mbregex –enable-fastcgi –enable-fpm –enable-force-cgi-redirect –enable-mbstring –with-mcrypt –enable-ftp –with-gd –enable-gd-native-ttf –with-openssl –with-mhash –enable-pcntl –enable-sockets –with-xmlrpc –enable-zip –enable-soap –without-pear –with-gettext –with-mime-magic
make ZEND_EXTRA_LIBS='-liconv'
make install

这个问题我在vpse论坛上问过了,上面有关于我如何解决的:

http://bbs.vpser.net/thread-3055-1-1.html

http://www.love4026.org/313153/ubuntu11-04%E4%B8%8B%E5%AE%89%E8%A3%85lnmp0-7%E4%B8%80%E9%94%AE%E5%AE%89%E8%A3%85%E5%8C%85502%E9%94%99%E8%AF%AF/

不过我在编译的时候出现了错误configure: error: can only configure for one host and one target at a time,原来是因为wp的原因而使./configure 这段代码出现的错误,所以到了上面的vpser论坛上找到了无错的代码

./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-iconv-dir --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --enable-discard-path --enable-magic-quotes --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-mcrypt --enable-ftp --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap --without-pear --with-gettext --with-mime-magic
Read More

为什么typecho就没有一个好一点的编辑器呢?

typecho还是非常好用的,不过默认没有编辑器,这一点很不好。我只能去下载网友改的编辑器插件,可是功能都太不好了啊。。。 我也不要求太多的功能啊,文字加粗什么的,对齐什么的都应该是编辑器要有的吧,我要的就是 引用 插入视频(flash)和插入摘要就可以了,可是没有一个符合我要求的啊。。。。。。

Read More

拿福能千人挑战 有奖活动

昨天在闲逛时发现了这个拿福能千人挑战,一开始真的不知道干什么的,就点进去了解了下。

是的没错!在蛰伏了一段时间后,拿福能早已蓄势待发,即日起,“千人挑战”线上活动正式开始!我们的目标是召集更多的博主成功注册并加入拿福能,将人民币50,000元平分给活动开始后前1000名加入的每一位博主(每人50元)!

Read More