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

Publicado em: 05 Julho 2020
no canal de: 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.


Nesta página do site você pode assistir ao vídeo on-line how to add command in linux boot startup || setup linux boot startup || linux boot startup script || duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário OPENGYANHOUSE 05 Julho 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 2,177 vezes e gostou 22 espectadores. Boa visualização!