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.
The moose likes Tomcat and the fly likes Tomcat setup on Linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat setup on Linux" Watch "Tomcat setup on Linux" New topic
Author

Tomcat setup on Linux

Brian Nice
Ranch Hand

Joined: Nov 02, 2000
Posts: 195
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat setup on Linux
 
Similar Threads
Internet requests to Tomcat
How to install tomcat5 in Ubuntu 11.04 when it is not in the apt-cache?
Install Tomcat without root?
Installation Guide (Tomcat on Linux)
Sun - What's the best thing for Java/Java Industry for them to do?