Skip to content

Commit

Permalink
Update install-script
Browse files Browse the repository at this point in the history
  • Loading branch information
balajikadambi authored Jun 5, 2020
1 parent 0d57019 commit cff6992
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions artifacts/auto-scale/vsi-vpc/scripts/install-script
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,19 @@ apt-get --assume-yes update
apt-get --assume-yes install default-jdk
apt-get --assume-yes install maven
wget https://github.com/IBM/cloud-enterprise-examples/raw/master/artifacts/auto-scale/vsi-vpc/autoscale-webapp.war
wget https://raw.githubusercontent.com/IBM/cloud-enterprise-examples/master/artifacts/auto-scale/vsi-vpc/server.xml
wget https://raw.githubusercontent.com/IBM/cloud-enterprise-examples/master/artifacts/auto-scale/vsi-vpc/scripts/pom.xml
mvn install
cp /root/.m2/repository/com/ibm/websphere/appserver/runtime/wlp-webProfile8/20.0.0.4/wlp-webProfile8-20.0.0.4.zip /root/wlp.zip
apt-get --assume-yes install unzip
unzip wlp.zip
cd wlp/bin
./server start
./server stop
cp /root/autoscale-webapp.war /root/wlp/usr/servers/defaultServer/dropins
cp /root/server.xml /root/wlp/usr/servers/defaultServer
./server start

# wget $LICENSE_JAR_URL -O /tmp/license.jar \
# && java -jar /tmp/license.jar -acceptLicense /opt/ibm \
# && rm /tmp/license.jar;

0 comments on commit cff6992

Please sign in to comment.