1 Star 0 Fork 0

Evan/ymate-runtime-env

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
init.sh 1.16 KB
一键复制 编辑 原始数据 按行查看 历史
有理想的鱼 提交于 2018-11-27 15:47 . Update tomcat to v7.0.92
#/bin/sh
cd `dirname $0`
CURRENT_DIR=`pwd`
echo "Unpacking JDK..."
cat jdk.*|tar -zx
tar zxf jdk-8u151-linux-x64.tar.gz
echo "Unpacking Maven..."
tar zxf apache-maven-3.1.1-bin.tar.gz
echo "Unpacking Tomcat..."
tar zxf apache-tomcat-7.0.92.tar.gz
echo "Unpacking MySQL..."
cat mysql.*|tar -zx
tar xf MySQL-5.6.27-1.linux_glibc2.5.x86_64.rpm-bundle.tar
ln -s -b apache-tomcat-7.0.92 apache-tomcat-7.x
echo "-----------------------------------------------------"
echo "Please add the following in the ~/.bash_profile file:"
echo "-----------------------------------------------------"
echo "JAVA_HOME=$CURRENT_DIR/jdk1.8.0_151"
echo "MAVEN_HOME=$CURRENT_DIR/apache-maven-3.1.1"
echo "CATALINA_HOME=$CURRENT_DIR/apache-tomcat-7.x"
echo ""
echo "PATH=\$PATH:\$HOME/.local/bin:\$HOME/bin:\$JAVA_HOME/bin:\$MAVEN_HOME/bin"
echo ""
echo "export CLASSPATH=.:\$JAVA_HOME/lib/dt.jar:\$JAVA_HOME/lib/tools.jar"
echo "export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8"
echo "export MAVEN_OPTS=-Dfile.encoding=UTF-8"
echo ""
echo "export JAVA_HOME"
echo "export MAVEN_HOME"
echo "export CATALINA_HOME"
echo ""
echo "export PATH"
echo "-----------------------------------------------------"
echo "OK"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Shell
1
https://gitee.com/creno/ymate-runtime-env.git
[email protected]:creno/ymate-runtime-env.git
creno
ymate-runtime-env
ymate-runtime-env
master

搜索帮助