在Fedora上搭建LAMP系统(二):安装XAMPP
在虚拟机上安装好Fedora后,就进入搭建LAMP系统(IBM developerWorks 中国 网站上有关于LAMP的介绍)的核心阶段:安装XAMPP。从apache friends上下载适用于Linux系统的XAMPP的发行版 ,安装过程在网站上有详细介绍 ,很明了,但在安装的过程中还是出现了意外:当使用 /opt/lampp/lampp start 运行XAMPP时,出现如下提示:
现在,就可以通过http://localhost 来访问XAMPP的起始页面了,LAMP系统也就搭建成功了
cat: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory/bin/sh: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directoryStarting XAMPP for Linux .../bin/bash: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory/bin/bash: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory/bin/bash: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory/bin/bash: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory/bin/bash: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directoryXAMPP for Linux started.
在Firefox中访问http://localhost 的时候也无法看到XAMPP的开始页面,千辛万苦在网上找到遇到同样错误并解决了的方法 :
vi 编辑器有其特殊的使用方法,这里有比较详尽的介绍,就不再赘述。 事实证明,前面的办法还真行,但具体是什么原因就不清楚了。vi /opt/lampp/lampp
找到:export LD_ASSUME_KERNEL=2.2.5
改为:export LD_ASSUME_KERNEL=2.8.0
现在,就可以通过http://localhost 来访问XAMPP的起始页面了,LAMP系统也就搭建成功了
相关文章
0 TrackBacks
下面是引用了这篇文章的所有链接: 在Fedora上搭建LAMP系统(二):安装XAMPP.
这篇文章的TrackBack 地址是: http://www.zhouhongquan.com/mt/mt-tb.cgi/158




发表评论