The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Tomcat configuration preeti chouhan UNIX for Dummies Questions & Answers 1 02-23-2008 03:09 AM
Apache Tomcat 6.0.14 (6.0.x branch) iBot Software Releases - RSS News 0 01-17-2008 05:10 PM
R-359: Tomcat Security Update iBot Security Advisories (RSS) 0 01-10-2008 10:20 AM
Setting up FTP access to my Tomcat Dir boarderstu UNIX for Dummies Questions & Answers 4 07-28-2007 05:43 AM
Reload Servlet in Tomcat hamboy UNIX for Dummies Questions & Answers 1 02-10-2006 07:51 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-03-2003
Registered User
 

Join Date: Jul 2002
Posts: 34
Run tomcat at startup

Is it possible to run tomcat automatically when Linux boots without having to log in?
__________________
[url=http://www.spetnik.com/images/storybanner.php][img]http://www.spetnik.com/images/storybanner.php?s=i[/img][/url]
Forum Sponsor
  #2  
Old 07-03-2003
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,493
Yes, of course.

There are startup scripts in your /etc/ directory, often found in /etc/rc.d ...... This is where you would add startup scripts. Most often in /etc/rc.d/rc.local
  #3  
Old 07-03-2003
Registered User
 

Join Date: Jul 2002
Posts: 34
so i should call the script from rc.local?
__________________
[url=http://www.spetnik.com/images/storybanner.php][img]http://www.spetnik.com/images/storybanner.php?s=i[/img][/url]
  #4  
Old 07-03-2003
Moderator
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,477
I suggest you read the documentation of your distro, because the way to do it is a bit different in different Linux distros.

Search for sections on RC scripts, runlevels, system startup or the like in the docs.
  #5  
Old 07-03-2003
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,493
Quote:
Originally posted by Spetnik
so i should call the script from rc.local?
That depends how your RC files are structured.

However, having an rc.local file that has the specific entries you created is a great idea and keeps the configuration 'clean' and easy to manage.

Your distribution may call an rc.local file now.

I suggest you explore these scripts and how they call each other, including the order, during system boot.

You can also post the content of the rc directory for further guidance and comments (the file names, not the content of the files). Neo
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:44 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0