This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
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