首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

CentOS上安装LAMP

2012-12-25 
CentOS下安装LAMP1、安装gcc1.1、卸载jdk1.4[root@localhost panin]# yum -y remove java-1.4.2-gcj-compat-

CentOS下安装LAMP

1、安装gcc

1.1、卸载jdk1.4

[root@localhost panin]# yum -y remove java-1.4.2-gcj-compat-1.4.2.0-40jpp.115

?

1.2、安装gcc?

[root@localhost panin]# yum -y install gcc

?

安装完毕后检查gcc版本:

?

[root@localhost panin]# gcc -v使用内建 specs。目标:i386-redhat-linux配置为:../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux线程模型:posixgcc 版本 4.1.2 20080704 (Red Hat 4.1.2-48)

热点排行