Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90735831
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
Mon, Nov 4, 07:17
Size
588 B
Mime Type
text/x-shellscript
Expires
Wed, Nov 6, 07:17 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22119567
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