Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • 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)?

 
Tim Holloway
Saloon Keeper
Pie
Posts: 18094
48
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • 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
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic