依赖RHEL的使用习惯,以为直接在/etc/my.cnf修改”dbdir=/var/lib/mysql”即可。事实证明,此经验是行不通的。在Ubuntu Server中,只要按此修改,再启动mysqld’’/etc/init.d/mysql start’’,执行结果一定是failed。

Ubuntu Server采取了Suse的杀手级应用AppArmor,对一些关键业务的读写权限有严格限制。需要改动这些业务,需要在AppArmor模块中加入Allow规则。

Read the rest of this entry

,

目的:将Guest OS的服务映射到公网IP,让Internet用户可以访问
环境:Debian 4.0 + Vmware Server 1.9
(以开启GuestOS-Win2003的RDP服务为例)

Read the rest of this entry

按照M(MySQL)-A(Apache)-P(PHP)的顺序,从源代码编译安装。在未安装PHP之前,Apache可以正常开启。安装完PHP,apache restart出现如下错误:

[root@myhost php]# /usr/local/httpd/bin/apachectl stop
Syntax error on line 262 of /usr/local/httpd/conf/httpd.conf:
Cannot load /usr/local/httpd/modules/libphp5.so into server: /usr/local/httpd/modules/libphp5.so: undefined symbol: sqlite3ExprDelete

Read the rest of this entry

, , ,

满心欣喜地装上OpenSuse 11,打开熟悉的FireFox,却发现了郁闷的问题:鼠标滚轮不起作用。

很容易断定问题一定出在鼠标设置上,在计算机-Yast2控制中心-硬件-鼠标型号中可以看到鼠标类型居然是undefined(未定义)。点击“更改”,面对一大堆型号犯晕了,这只是一个普通的USB鼠标,该选那个?

Read the rest of this entry