Commit 2d643ec6 authored by root's avatar root

jdk install

parent 1ce5a8f7
echo "************************jdk..************************"
cd /usr/
mkdir gisdeploy
cd gisdeploy
mv ../jdk-8u321-linux-x64.tar ./
mkdir /usr/gisdeploy
mv ./jdk-8u321-linux-x64.tar.gz /usr/gisdeploy/
cd /usr/gisdeploy
echo "************************解压缩JDK8u201....************************"
tar zxvf jdk-8u321-linux-x64.tar.gz
echo "***********************配置环境....************************"
echo 'export JAVA_HOME=/usr/gisdeploy/jdk-8u321'>> /etc/profile
echo 'export JAVA_HOME=/usr/gisdeploy/jdk1.8.0_321'>> /etc/profile
echo 'export PATH=$PATH:$JAVA_HOME/bin'>> /etc/profile
#!/bin/bash
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment