how to add command in linux boot startup || setup linux boot startup || linux boot startup script ||

Pubblicato il: 05 luglio 2020
sul canale di: OPENGYANHOUSE
2,177
22

#StartupCommand #bootstartup #linuxbootstartup #opengyanhouse


This video is useful to add commands or script in linux boot startup. so whenever linux server got rebooted these commands will executed and start the demon/process/scripts.


Below steps need to follow, If you want to add any command in startup :
1) Edit the rc.local file and add your command/scripts at the end of file :

#vi /etc/rc.local
In this video I have added below command to start httpd process
#systemctl start httpd

save this file.


2) Change permission of /etc/rc.d/rc.local file using below command
#chmod +x /etc/rc.d/rc.local


3) reboot the server to verify, whether command/scripts is working fine or not in startup.


In questa pagina del sito puoi guardare il video online how to add command in linux boot startup || setup linux boot startup || linux boot startup script || della durata di ore minuti seconda in buona qualità , che l'utente ha caricato OPENGYANHOUSE 05 luglio 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,177 volte e gli è piaciuto 22 spettatori. Buona visione!