java install

 

 rpm -Uvh http://mirrors.sohu.com/fedora-epel/6/i386/epel-release-6-7.noarch.rpm
1. 升级yum.conf
# mv /etc/yum.conf /otherpath/back
2. 下载配置文件
# wget http://www.fedorafaq.org/samples/yum.conf
3.升级yum
#rpm -Uvh http://www.fedorafaq.org/yum
http://cactiusers.org(cacti下载)
http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u3-download-1501626.html(JDK下载)
 ./permission_make -f ./ -v n -d http://www.stblive.com -s 6,7

JAVA_OPTS=' -Xms64m -Xmx128m'
JAVA_HOME=/usr/local/jdk1.7.0_03
CATALINA_HOME=/usr/local/tomcat/apache-tomcat-6.0.29
export JAVA_HOME CATALINA_HOME
exec $CATALINA_HOME/bin/catalina.sh $*

http://blog.chinaunix.net/uid/24499216.html

你可能感兴趣的:(FF)