This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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: 16019
    
  20

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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: virtual dedicated server Linux - How can install each (Tomcat, JDK)