Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat setup on Linux

Brian Nice
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
  • 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!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic