Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F79231258
install-tomcat.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Aug 25, 09:42
Size
588 B
Mime Type
text/x-shellscript
Expires
Tue, Aug 27, 09:42 (2 d)
Engine
blob
Format
Raw Data
Handle
20160030
Attached To
R2664 SHRINE MedCo Fork
install-tomcat.sh
View Options
#!/bin/bash
rm -rf work
mkdir -p work
cd
work
TOMCAT_VERSION
=
"7.0.59"
TOMCAT_DIR
=
"apache-tomcat-${TOMCAT_VERSION}"
TOMCAT_ZIP_FILE
=
"${TOMCAT_DIR}.zip"
TOMCAT_ZIP_URL
=
"https://archive.apache.org/dist/tomcat/tomcat-7/v${TOMCAT_VERSION}/bin/${TOMCAT_ZIP_FILE}"
echo
"[shrine/install-tomcat.sh] Downloading Tomcat 7."
wget --no-clobber --no-check-certificate
${
TOMCAT_ZIP_URL
}
echo
"[shine/install-tomcat.sh] Unzipping Tomcat to ${SHRINE_TOMCAT_HOME}"
rm -rf
${
SHRINE_TOMCAT_HOME
}
unzip -q
${
TOMCAT_ZIP_FILE
}
mkdir -p
${
SHRINE_HOME
}
mv
${
TOMCAT_DIR
}
${
SHRINE_TOMCAT_HOME
}
cd
..
Event Timeline
Log In to Comment