Articles Comments

{ Berbagi, Menulis, Dan Mengajar } Ilmu… » Linux » Cara Enable Start Up di Linux Centos

Cara Enable Start Up di Linux Centos

Ikuti Langkah2x sbb :

1. Buatlah Script berisi program di folder

  /root/scripts/ –> Contoh File routing.sh

2. ‘Copy Paste’kan Link  Program  routing.sh  script di baris paling bawah rc.local.

3. Lalu Buat Chmod 755

4. Ketik Perintah  ke Consol –> systemctl enable rc-local

5. Reboot OS.

—————————–

joe /root/scripts/routing.sh

chmod +x /root/scripts/routing.sh

joe /etc/rc.d/rc.local

–> Paste link Script di baris paling bawah, /root/scripts/routing.sh

chmod u+x /etc/rc.d/rc.local

reboot

Filed under: Linux

Leave a Reply

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>