ubuntu 11.04 11.10 软碟通(UltraISO)制作LiveUSB 方法

很多人用UltraISO 制作ubuntu 11.04和11.10的liveusb都不能正常的引导,是因为从11.04开始ubutnu光盘用的syslinux升级了

解决的方法是 

解决办法很简单,修改syslinux/syslinux.cfg文件:
将default vesamenu.c32这句话注释掉即可,即:
将
default vesamenu.c32
更改为
# default vesamenu.c32

方法来自网络,只为了能有更多的人搜索到

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

应该更新下了,ubuntu 11.04 都发布了

又是好几天没写日志了,呵呵。

ubuntu 11.04 代号 Natty Narwhal  意为敏捷的独角鲸。默认采用unity 作为桌面(显卡驱动装好并支持3D的话),已于昨日,也就是4月28日正式发布。当然由于时差关系,昨天的19点左右中国用户才能下载。

Read More

对ubuntu11.04 采用unity的一点看法

背景,ubuntu宣布11.04版本将不采用gnome3,而采用之前为上网本开发的unity桌面。gnome 3已于4月6日正式发布。

很多习惯了gnome 的桌面,因而对ubuntu11.04 的unity界面颇有微词,说什么unity 必然会失败之类的。对此我不想说什么,当然11.04也是可以用传统的gnome界面的。好了,下面是今天在ubuntu 深度PK版的一点讨论,有我的一点观点。(我是支持unity的)

Read More