linux+jdk+tomcat+mysql免安装绿色版整合
linux tomcat jdk mysql 免安装 绿色版整合
2011-05-27 10:13
jdk 下载解压:
1.到doc.guandang.net下载JDK 6 的linux版本jdk-6u22-linux-i586(自解压文件)
2.执行: ./jdk-6u14-linux-i586.bin 进行解压,解压后的文件目录名(示例)jdk1.6.0_22
tomcat下载解压
1.到doc.guandang.net下载tomcat的linux版本6.0.20,文件名(示例):apache-tomcat-6.0.20.tar.gz
2.到下载的文件所在的目录下,执行:tar -zxvf apache-tomcat-6.0.29.tar.gz,解压后的文件目录名为apache-tomcat-6.0.29
3.将解压好的文件夹拷贝到/usr/share/目录下,示例:mv apache-tomcat-6.0.29 /usr/share
4: 将jdk移动至/usr/share 或者tomcat目录下在此移动到tomcat目录下,为了下次不需要在作更改
mv jdk1.6.0_22 /usr/share/apache-tomcat-6.0.29
5:更改tomcat/bin目录下的startup.sh和shutdown.sh文件 加入红色的2句话,jdk的路径根据你实际的jdk路径来配置
vim startup.sh
#!/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# doc.guandang.net
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# -----------------------------------------------------------------------------
# Start Script for the CATALINA Server
#
# $Id: startup.sh 562770 2007-08-04 22:13:58Z markt $
# -----------------------------------------------------------------------------
export JAVA_HOME=/usr/share/apache-tomcat-6.0.29/jdk1.6.0_22
export JRE_HOME=/usr/share/apache-tomcat-6.0.29/jdk1.6.0_22/jre
# Better OS/400 detection: see Bugzilla 31132
os400=false
darwin=false
case "`uname`" in
CYGWIN*) cygwin=true;;
OS400*) os400=true;;
Darwin*) darwin=true;;
esac
# resolve links - $0 may be a softlink
PRG="$0"
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`/"$link"
fi
done
21,1 顶端
6:.进入/usr/share/apache-tomcat-6.0.29/bin目录,执行:./startup.sh 看启动是否正常 ,正常启动出现如下信息
Using CATALINA_BASE: /usr/share/apache-tomcat-6.0.29
Using CATALINA_HOME: /usr/share/apache-tomcat-6.0.29
Using CATALINA_TMPDIR: /usr/share/apache-tomcat-6.0.29/temp
Using JRE_HOME:
tomcat+jdk+mysql免安装的整合形式tomcat+jdk+mysql...db 文件夹里放的是免安装版的 MySQL,jdk 是安 装... jdk + Myeclipse + 绿色... 2页 1下载券...
超级无敌 web 服器 linux+apache+tomcat+mysql+jsp+php 整合安装 自己的安装过程,以前发表在新浪博客,现在换地盘了转过来... 自我感觉写得还是不错滴.. 在...
Windows2003下Apache+Tomcat+MySQL+jsp+php服务器...linux和windows下整合思想是相同的,利用apache来解析*...这样jdk安装成功啦!可以进行下一步. 二.apache安装...
WIN2000+PHP+MYSQL+TOMCAT+JSP完全整合安装手册_IT/计算机_专业资料。WIN2000+PHP+MYSQL+TOMCAT+JSP完全整合安装手册WIN2000+PHP+MYSQL+TOMCAT+JSP 完全整合安装...
安装Jdk+tomcat+apache+PHP+mysql(linux)_IT/计算机_专业资料。Linux 安装jdk...# chmod 777 /usr/local/apache2/* 整合 apache 与 tomcat 让 apache 做为...
搜你所想,读你所爱 拒绝盗版,营造绿色文库 如要... RHEL5下,Apache+tomcat+mysql+php整合RHEL5下,...【安装 JDK】 登录 SSH 到:/usr/local/src 目录...
Windows下Apache+Tomcat+MySQL+jsp+php的服务器...linux 和 windows 下整合思想是相同的,利用 apache ...gxgx,jdk 安装成功啦!可以进行下一步. 二.apache ...
linux(RHEL5)下整合Tomcat+Apache+MySQL搭建同时...安装在/usr/local 目录里面 #mv jdk1.6.XX/ /... 笑话大全爆笑版 幽默笑话大全 全球冷笑话精选...
Linux下Apache-Tomcat整合安装 Apache2.0性能优化 apache2.2+mysql5.0+php5....发行版 网络管理 系统管理 linux新手入门 编辑工具 Linux编程 Java J2EE 高级...
先说免安装,免安装的就是不用安装就能直接使用的软件, 绿色版简单的说就是能完全卸载的。 绿色软件的定义和分类 安装完操作系统后,我们一般需要安装一些常用的...
热门文档