Name: rpm-tomcat8
Owner: Boundless
Description: An RPM spec file to install Tomcat 8.0.
Forked from: nstires-boundless/rpm-tomcat8
Created: 2016-07-26 02:50:38.0
Updated: 2018-05-10 12:46:47.0
Pushed: 2017-12-29 16:54:06.0
Size: 179
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
An RPM spec file to install Tomcat 8.0.
To Build:
sudo yum -y install rpmdevtools
rpmdev-setuptree
wget http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.33/bin/apache-tomcat-8.0.33.tar.gz -O ~/rpmbuild/SOURCES/apache-tomcat-8.0.33.tar.gz
./prepare.bash apache-tomcat-8.0.33.tar.gz
rpmbuild -bb ~/rpmbuild/SPECS/tomcat8.spec
To clean the RPM build dir
rpmdev-wipetree && rm -rf rpmbuild
All in one line to rebuild & install the package:
sudo rpm -e tomcat8 && rpmdev-wipetree && rm -rf rpmbuild && rpmdev-setuptree && ./prepare.bash apache-tomcat-8.0.33.tar.gz && rpmbuild -bb rpmbuild/SPECS/tomcat8.spec && sudo yum install -y rpmbuild/RPMS/noarch/tomcat8-8.0.33-1.noarch.rpm