Meaningless Drivel is fun!*
The moose likes Tomcat and the fly likes virtual dedicated server Linux - How can install each (Tomcat, JDK) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "virtual dedicated server Linux - How can install each (Tomcat, JDK)" Watch "virtual dedicated server Linux - How can install each (Tomcat, JDK)" New topic
Author

virtual dedicated server Linux - How can install each (Tomcat, JDK)

Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
virtual dedicated server Linux - How can install each (Tomcat, JDK)

I plan buy a virtual dedicated server Linux, I want to install Tomcat, well for web Apps but, for running a java server chat app, what have to install: JDK for Server(Linux server)?

How can install each (Tomcat, JDK)?

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16101
    
  21

A lot of that depends on the distro you're using and whether you're installing these resources as OS packages or manually. Unlike most system components, I prefer manual installation of Tomcat.

The Red Hat rpm installs the JDK under /usr/java/xxxxx, where "xxxx" is a name that indicates the JDK version, so all your different JDK's and JRE's can live in the same place. I normally unzip Tomcat into the /usr/local directory, although strictly speaking, this isn't ideal behavior anymore. I also create a tomcat user and group ID so that Tomcat doesn't have to run as root.


Customer surveys are for companies who didn't pay proper attention to begin with.
Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
True/False

May compile java apps like chat or bit torrent on virtual dedicated server Linux?

After use JRE to run them, if prefer for ever to be running?
 
GeeCON Prague 2014
 
subject: virtual dedicated server Linux - How can install each (Tomcat, JDK)