Startup Programs
Hi, I am new to Linux and I'm using a Linux/Suse OS. I have just installed MYSQL, Java JDK 1.5, and Tomcat 5, in order to run a Help Desk Program. Everything is working good but I need to set all of the programs to load on boot in this sequence. MySQL, Java, then Tomcat 5 Then the Help desk. How do I lookup the boot processes and setup this boot sequence?
Thank you in advance! |
Quote:
Java is not an application program and it doesn't need to be "started". Tomcat is a service AFAIK, same as MySQL. Just enable the service to run at boot. Help Desk sounds like an application -- put a reference to it in /etc/rc.local. If any of this sounds mysterious and incomprehensible, maybe a bit of Web browsing on the topic of server management is in order. |
lookup init.d files
all you have to do is to lookup into the start/stop scripts of all the applications i.e. MySQL, Tomcat, which in my case(i use CentOS 5.3) are present in /etc/init.d, lets say you want to set boot priority for MySQL, then you have to edit the file
Code:
# vi /etc/init.d/mysqld Now The first few lines of mysqld will be like Code:
#!/bin/bash Code:
# chkconfig: 345 64 36 Code:
# chkconfig: 345 65 35 Code:
# chkconfig --add mysqld |
If your helpdesk app is a GUI app. Then you'll need to start it from the session manager of your desktop. This is different from every desktop. U'll need to tell us what ur running.
|
All times are GMT -5. The time now is 09:01 AM. |