时隔2年,我又回来了~
Mantis安装--尝试篇
上一篇 /
下一篇 2011-09-13 08:55:02
/ 个人分类:Mantis
http://www.chinaunix.net/jh/4/215402.html
在研究了如何安装Mantis之后,发现网上很多的都是基于LAMP的,什么是LAMP?
LAMP=Linux+Apache+Mysql+PHP
以上配置除了PHP服务必须之外,都可以被替换。
首先,我选择了Ubuntu版本的
Linux操作系统,所以下面的一切软件都是基于Linux的。
Mysql要选择源码,虽然我不知道这个源码到底是什么意思,但是
其他版本的确实是装不了。
Apache安装的教程
http://www.5dlinux.com/article/9/2009/linux_29218.html
经过安装了Apache之后,我也晓得,Linux下安装文件的步骤:
1.要解压,对个各种不同文件的解压命令也各不同。
Linux下各种文件的解压方式:http://www.pcdog.com/edu/linux/2007/01/y179283.html
2.编译
make
3.编译执行
make install
Mysql安装的教程
http://www.linuxidc.com/Linux/2008-01/10508.htm
安装MySQL的时,configure时,出现问题:
configure: error: No curses/termcap library found
解决方案如下:
./configure --with-named-curses-libs=/usr/lib/libncursesw.so.5
make install时,发生错误
../depcomp: line 512: exec: g++: not found
make[2]: *** [my_new.o] 错误 127
make[2]: Leaving directory `/usr/local/setup/mysql-5.0.51b/mysys'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/usr/local/setup/mysql-5.0.51b'
make: *** [all] 错误 2
[root@gameserver mysql-5.0.51b]# yum install -y gcc-c++
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* updates: ftp.daum.net
==================================
解决办法:
yum install -y gcc-c++
这样是能安装C++的编译器,但是问题是Ubuntu10.10或者11版本下面没有yum的包
导致了apt-get install yum 不能定位该yum包。
其实使用apt-get命令完全可以按照yum包,但是问题是不能上网。
所以只能很悲催地换另一个版本的操作系统CentOS,正在下载中......
收藏
举报
TAG: