Commit 2785dd68 authored by 徐鸿's avatar 徐鸿

modify

parent 797ff26e
echo "************************jdk..************************"
echo "************************jdk************************"
mkdir /usr/gisdeploy
mv ./jdk-8u321-linux-x64.tar.gz /usr/gisdeploy/
cd /usr/gisdeploy
echo "************************解压缩JDK8u201....************************"
echo "************************unzip jdk************************"
tar zxvf jdk-8u321-linux-x64.tar.gz
echo "***********************配置环境....************************"
echo "***********************env************************"
echo 'export JAVA_HOME=/usr/gisdeploy/jdk1.8.0_321'>> /etc/profile
echo 'export PATH=$PATH:$JAVA_HOME/bin'>> /etc/profile
#!/bin/bash
source /etc/profile
......@@ -7,7 +7,6 @@ echo "pgsql tar sucess"
#is postgres exist
id $postgres >& /dev/null
echo "postgres exist"
if [ $? == 0 ]
then
echo "create postgres"
......
......@@ -5,7 +5,7 @@ mv ./geoserver.war /usr/gisdeploy/
cd /usr/gisdeploy
echo "************************解压缩tomcat....************************"
echo "************************unzip tomcat....************************"
tar zxvf apache-tomcat-9.0.60.tar.gz
......
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