应用配置操作手册.doc
文本预览下载声明
redhat linux5 安装配置 JDK1.6+Tomcat6+Apache2.2.x+jk_mod1.2
此处以Redhat EL5,内核为Linux 2.6.18-8.el5 为例,其中Redhat/Fedora系列基本一致,其他Linux或者版本均可以参考。
STEP 1
软件下载:
1. jdk1.6.x HYPERLINK /javase/downloads/index.jsp /javase/downloads/index.jsp
2. tomcat6.x HYPERLINK /download-60.cgi /download-60.cgi
注意 :这个要求CORE版本
3. apache2.x HYPERLINK /download.cgi /download.cgi
jk_mod1.2.x HYPERLINK /download-connectors.cgi /download-connectors.cgi
假如以上文件都已经成功下载,并放到了/home/work/software/下,假设你是work用户。
SETP 2
JDK安装:
1.1安装向导
Installation of the 32-bit JDK on RPM-based Linux Platforms
This procedure installs the Java Development Kit (JDK) for 32-bit RPM-based Linux platforms, such as Red Hat and SuSE, using an RPM binary file (.rpm) in the system location. You must be root to perform this installation.
These instructions use the following file:
jdk-7uversion-linux-i586.rpm
1. Download the file. Before the file can be downloaded, you must accept the license agreement.
2. Become root by running su and entering the super-user password.
3. Uninstall any earlier installations of the JDK packages.
# rpm -e package_name
4. Install the package.
# rpm -ivh jdk-7uversion-linux-i586.rpm
To upgrade a package:
# rpm -Uvh jdk-7uversion-linux-i586.rpm
5. Delete the .rpm file if you want to save disk space.
6. Exit the root shell. No need to reboot.
--------------------------------------------------------------------------------
[root@localhost ~]# cd /usr/java/
[root@localhost java]# ls
default sun-javadb-client-10.6.2-1.1.i386.rpm
jdk1.6.0_35 sun-javadb-common-10.6.2-1.1.i386.rpm
jdk-6u35-linux-i586.rpm sun-javadb-core-10.6.2-1.1.i386.rpm
jdk-6u35-linux-i586-rpm.bin sun-javadb-demo-10.6.2-1.1.i386.rpm
jdk-7u7-linux-i586.rpm sun-javadb-docs-10.6.2-1.1.i386.rpm
jre-7u7-linux-i586.rpm sun-javadb-javadoc-10.6.2-1.1.i386.rpm
latest
[root@localhost java]# ll
总计
lrwxrwxrwx 1 root root 16 09-04 23:46 default - /usr/java/late
显示全部