• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

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

 
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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)?

 
Saloon Keeper
Posts: 28075
198
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
crispy bacon. crispy tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic