• 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
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Tomcat setup on Linux

 
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
These are basic questions, but i am not used to working in a linux environment, so if someone could help me out, i would greatly appreciate it! I have worked with Tomcat on my Windows 2000 computer, but I am not sure how things carryover to Linux.
1- what user should I use to install java and tomcat on a linux server? Should it be the root?
2- when i set the JAVA_HOME environment variables, do i put it in the .profile for the user that installed java and tomcat so that it is always available? Or is there some sort of way to create a global environment variable that is in effect all the time regardless of who logs into the unix server?
3- How do you get Tomcat to startup if the server restarts? Like in windows you install it as a service, is there something similar in Linux?
4- Along with question 3, if you start Tomcat and then logout of the linux box, is it still running or do you need to run it as a background process?
Thanks for the help. I know they are probably easy questions, i'm just trying to make sure that I understand things so i can make sure the web application i am working on works!
Brian
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic