<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>系统运维 &#187; JDK</title>
	<atom:link href="http://www.osyunwei.com/archives/tag/jdk/feed" rel="self" type="application/rss+xml" />
	<link>https://www.osyunwei.com</link>
	<description>国产化OS/AnolisOS/openEuler/RHEL/CentOS/Rocky Linux/Debian/Ubuntu Linux FreeBSD 服务器教程 &#124; Windows Server 2003/2008/2012/2016/2019/2022/2025服务器教程</description>
	<lastBuildDate>Wed, 01 Apr 2026 08:27:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CentOS 安装配置JDK与Tomcat支持jsp文件解析</title>
		<link>https://www.osyunwei.com/archives/5377.html</link>
		<comments>https://www.osyunwei.com/archives/5377.html#comments</comments>
		<pubDate>Tue, 09 Oct 2012 07:46:21 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Tomcat]]></category>
		<category><![CDATA[JDK]]></category>
		<category><![CDATA[jsp]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=5377</guid>
		<description><![CDATA[操作系统：CentOS 实现目的：安装配置tomcat服务器，支持.jsp文件解析  一、下载软件 1、下载JDK（要安装使用tomcat必须先安装JKD环境） http://download.oracle.com/otn-pub/java/jdk/6u35-b10/jdk-6u35-linux-i586-rpm.bin #32位 http://download.oracle.com/otn-pub/java/jdk/6u35-b10/jdk-6u35-linux-x64-rpm.bin #64位 注意：需要注册登录之后才能下载 2、下载tomcat http://mirror.bjtu.edu.cn/apache/tomcat/tomcat-6/v6.0.35/bin/apache-tomcat-6.0.35.tar.gz 把以上两个软件包上传到服务器/usr/local/src目录下 二、安装JDK 1、卸载服务器自带的jdk软件包 java -version #查看服务器是否安装过jdk rpm -qa &#124;grep gcj #查看服务器安装的jdk软件包信息,如下图所示 yum -y remove java-1.4.2-gcj-compat-1.4.2.0-40jpp.115 #卸载软件包 2、安装jdk cd /usr/local/src #进入软件包存放目录 chmod 755 jdk-6u35-linux-i586-rpm.bin #添加执行权限 ./jdk-6u35-linux-i586-rpm.bin #安装，安装过程中需要要输入Yes，最后按回车键，直到安装完成 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容版权所有,转载请注明出处及原文链接 cd /usr/java/jdk1.6.0_35 #jdk安装目录，如下图所示 3、添加jdk到系统环境变量 cp /etc/profile /etc/profile.bak #备份 vi /etc/profile #编辑,在最后添加下面的内容！ JAVA_HOME=/usr/java/jdk1.6.0_35 PATH=$PATH:$JAVA_HOME/bin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin CLASSPATH=.:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar export [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/5377.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/5377.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
