0

I am running a java application with mysql as back-end and i am using fedora operating system, now is there any way to run that application alone when that system boots up and also i want to disable all other unwanted services which is not required for the application to run. How do i achieve this ? Any tips and help would be useful

peedee
  • 101
  • 1
  • 2

4 Answers4

2

In SysV-like distributions (like fedora), services are started at boot and stopped at shutdown by the init.d system.

1

Fedora FAQ: How do I run something when the computer starts?

tolitius
  • 119
  • 3
1

To set mysql service start with the system boot process, execute chkconfig mysqld on as root. You can refer the document below for more assistance:

http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:Ch34:_Basic_MySQL_Configuration#Starting_MySQL

To start the application on system startup, you can configure the script file as mentioned in the link below:

http://www.cyberciti.biz/tips/linux-how-to-run-a-command-when-boots-up.html

To find the running services and to manage them on start up, you can refer the link below:

http://www.fedorafaq.org/basics/#services

James Jithin
  • 111
  • 3
1

To integrate Java apps into Linux's init.d system you may find http://wrapper.tanukisoftware.com/doc/english/product-overview.html useful.

Paul Cager
  • 111
  • 2