Autorun in Linux

To set a script to start at boot in CentOS, add it into /etc/rc3.d/S99local.

For example:

/root/./start.sh

This script will be executed *after* all the other init scripts.

Was this answer helpful?

 Print this Article

Also Read

Web server

In this guide we will create our own web server on Centos 6.  We will use Apache...

nginx

How to install nginx on Centos Add nginx repo first. To add it, create the file...

Adding a new disk drive to Centos 6

Installing a new HDD The disk drives in Centos is named hd* or sd*. In system with only one...

Changing ssh port

How to change ssh port. Open the file /etc/ssh/sshd_config with your favourite text...

OpenVPN 2.3.6 on Centos 6

Install Epel repository rpm -Uvh...