Setup software RAID10 on CentOS 6.5

Pre :   /boot      500 MB     (twice the minimum) swap     2048 MB    (twice the RAM size) /   approx. 35 GB     (the rest of the available space) Instalasi : Cara 1 : download link : download   Cara 2 with LVM : lihat di : https://www.youtube.com/watch?v=G3R9hs0Heeg

Membuat script running background per detik

buat script nya nano /home/kill.sh #!/bin/bash for i in `ps -ef |grep danielha|awk ‘{print $2}’`;do kill -9 $i;done bikin script per detik nya : nano perdetik.sh #!/bin/bash while true do /home/kill.sh sleep 1 done Running background : /bin/sh perdetik.sh > /dev/null 2>&1 & kemudian taro di rc.local supaya kalo di reboot aktif lagi script nya … Read more

Cron per detik

misal kita uat scrip bash nya di /home nano kill.sh #!/bin/bash for i in `ps -ef |grep danielha|awk ‘{print $2}’`;do kill -9 $i;done kemudian setting dic rontab per detik * * * * * sleep 1; /bin/sh /home/kill.sh >/dev/null 2>&1 (per detik) * * * * * sleep 10; /bin/sh /home/kill.sh >/dev/null 2>&1 (per 10 … Read more