读书人

CentOS上安装LAMP

发布时间: 2012-12-25 16:18:29 作者: rapoo

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)

读书人网 >操作系统

热点推荐