Pivotal/tcserver
From r00tedvw.com wiki
(Difference between revisions)
Line 18: | Line 18: | ||
Install tcserver, ant, and java | Install tcserver, ant, and java | ||
<nowiki>~$ sudo yum install pivotal-tc-server-standard ant java-1.8.0-openjdk</nowiki> | <nowiki>~$ sudo yum install pivotal-tc-server-standard ant java-1.8.0-openjdk</nowiki> | ||
+ | ==Setting the environment variables== | ||
+ | |||
+ | <nowiki>~$ echo -e export JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk""\n"export ANT_HOME="/usr/share/ant""\n"export PATH=$PATH:$JAVA_HOME/bin >> ~/.bash_profile</nowiki> |
Revision as of 11:15, 13 August 2018
tcserver
Contents |
Overview
https://content.pivotal.io/blog/part-one-comparing-apache-tomcat-and-pivotal-tc-server
Pivotal tc server builds on top of Apache Tomcat and adds a few key features:
- Enterprise support (with purchased license)
- Multi-instance support with shared binaries - individual runtime instances allows a separation between the binaries and the applications/configuration, allowing one set of binaries to power multiple instances.
- Variable substitution within server.xml - allows for consistent configuration and port management
Note: Pivotal tcserver 3.x is available through the pivotal repo, however to get the latest version, 4.x, you need to download and install the RPM from pivnet manually.
https://tcserver.docs.pivotal.io/4x/docs-tcserver/topics/whats-new-4.0.0.html#rpm-packaging
Installing tcserver 3.x - Linux
In this example we will be installing tcserver 3.x on a CentOS 7 vm using the pivotal repo.
Adding the Pivotal Repo and installing the package
Accept the EULA
~$ wget -q -O - http://packages.pivotal.io | sudo sh
Verify you see the new package
~$ sudo yum search pivotal-tc-server-standard
Install tcserver, ant, and java
~$ sudo yum install pivotal-tc-server-standard ant java-1.8.0-openjdk
Setting the environment variables
~$ echo -e export JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk""\n"export ANT_HOME="/usr/share/ant""\n"export PATH=$PATH:$JAVA_HOME/bin >> ~/.bash_profile