Skip to content

Instantly share code, notes, and snippets.

@rtitle
Created February 27, 2015 20:14
Show Gist options
  • Save rtitle/282dd241c3abbb5205f6 to your computer and use it in GitHub Desktop.
Save rtitle/282dd241c3abbb5205f6 to your computer and use it in GitHub Desktop.
Skytap Tomcat upgrade
Integration
___________
On each host:
cd /usr/local/lib
wget http://artifactory.devaws.dataxu.net/artifactory/dataxu-binaries/apache-tomcat-8.0.18.tar.gz
tar -xzf apache-tomcat-8.0.18.tar.gz
chmod a+x apache-tomcat-8.0.18/bin/*.sh
rm -f apache-tomcat-8.0.18.tar.gz
cd ../bin
rm -f tomcat && ln -s ../lib/apache-tomcat-8.0.18 tomcat && ln -s ../lib/apache-tomcat-6.0.36 tomcat6
Staging
_______
On router, updater, retargeting-updater, emissary:
cd /opt
wget http://artifactory.devaws.dataxu.net/artifactory/dataxu-binaries/apache-tomcat-8.0.18.tar.gz
tar -xzf apache-tomcat-8.0.18.tar.gz
chmod a+x apache-tomcat-8.0.18/bin/*.sh
rm -f apache-tomcat-8.0.18.tar.gz
rm -f tomcat && ln -s apache-tomcat-8.0.18 tomcat
@vstefanyuk
Copy link

I found that on some integration env there is no MapR host at all, maybe it is present in my case because env is created early and MapR need is outdated.

@vstefanyuk
Copy link

Seems wget is not installed by default on staging. If so, you need to execute:

yum install wget

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment