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

Publié le: 05 juillet 2020
sur la chaîne: 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.


Sur cette page du site, vous pouvez voir la vidéo en ligne how to add command in linux boot startup || setup linux boot startup || linux boot startup script || durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur OPENGYANHOUSE 05 juillet 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,177 fois et il a aimé 22 téléspectateurs. Bon visionnage!