DNS Server dengan djbdns

DNS Server dengan djbdns
Kenapa dipilih djbdns? karena djbdns mudah :-) , keamanan baik, resource kecil, dan
stabil (reliability baik), dan saya “muak” dengan BIND hihihihi.. :-)
karena saya juga sudah jatuh cinta dari dulu sama semua program buatan DJB More…

By yonaldi on August 9, 2011 | DNS | A comment?

How To Install RED5 Server on Centos 5.4

In this how to i will describe how to install RED5 server on Centos 5.4.x This how to can be used to install RED5 server on Centos 4 and Fedora 8 – 11 as well. RED5 is open source flash server written in java supports streaming audio/video, recording client streams, shared objects, live stream publishing etc.
1) Download and Install Java More…

By yonaldi on July 31, 2011 | Knowledge | A comment?

Red5 RTMP Streaming Init Scripts

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/bin/sh
# Startup script for Red5 flash streaming server on RedHat/CentOS (cPanel)
# chkconfig: 2345 95 55
# description: Red5 Flash Streaming Server
# processname: red5

PROG=red5
RED5_HOME=/usr/local/red5
DAEMON=$RED5_HOME/$PROG.sh
PIDFILE=/var/run/$PROG.pid
 
# Source function library
. /etc/rc.d/init.d/functions
 
[ -r /etc/sysconfig/red5 ] && . /etc/sysconfig/red5
 
RETVAL=0
 
case "$1" in
start)
echo -n $"Starting $PROG: "
cd $RED5_HOME
$DAEMON >/dev/null 2>/dev/null &
RETVAL=$?
if [ $RETVAL -eq 0 ]; then
echo $! > $PIDFILE
touch /var/lock/subsys/$PROG
 
fi
[ $RETVAL -eq 0 ] && success $"$PROG startup" || failure $"$PROG startup"
echo
;;
stop)
echo -n $"Shutting down $PROG: "
killproc -p $PIDFILE
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$PROG
;;
restart)
$0 stop
$0 start
;;
status)
status $PROG -p $PIDFILE
RETVAL=$?
;;
*)
echo $"Usage: $0 {start|stop|restart|status}"
RETVAL=1
esac
 
exit $RETVAL
By yonaldi on | Init Scipts Centos | A comment?

Splunk init scripts

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/sh
#
# /etc/init.d/splunk
# init script for Splunk.
# generated by 'splunk enable boot-start'.
#
RETVAL=0
 
splunk_start() {
  echo Starting Splunk...
  "/opt/splunk/bin/splunk" start --no-prompt --answer-yes
  RETVAL=$?
}
splunk_stop() {
  echo Stopping Splunk...
  "/opt/splunk/bin/splunk" stop
  RETVAL=$?
}
splunk_restart() {
  echo Restarting Splunk...
  "/opt/splunk/bin/splunk" restart
  RETVAL=$?
}
splunk_status() {
  echo Splunk status:
  "/opt/splunk/bin/splunk" status
  RETVAL=$?
}
case "$1" in
  start)
    splunk_start
    ;;
  stop)
    splunk_stop
    ;;
  restart)
    splunk_restart
    ;;
  status)
    splunk_status
    ;;
  *)
    echo "Usage: $0 {start|stop|restart|status}"
    exit 1
    ;;
esac
exit $RETVAL
By yonaldi on June 11, 2011 | Init Scipts Centos | A comment?

Colorful prompt (PS1) di Centos dan Debian + Ubuntu

Terkadang sebagai administrator cukup membosankan juga di depan “Black Screen” berjam-jam terkadang lebih dari 12 jam sehari, nah supaya tidak bosan dan suntuk silahkan aja utak-atik prompt bash kita supaya yang hitam menjadi berwarna hahahaha…. yang mana sebelumnya dengan tampilan More…

By yonaldi on April 21, 2011 | Knowledge | A comment?

Cara Install TV tuner di Linux

Buat yang lagi belajar linux, saya ingin share penglaman Instal TV tuner di Linux. Khusunya, untuk TV tuner Prolink PixeView Play TV pro (tipe jadul ). Dari dulu sebenarnya saya sudah belajar linux, tapi tetap saja tidak bisa-bisa. Selalu kepentok bertemu dengan masalah yang bikin down belajar linuxnya. Seperti Setting 3d untuk VGA, Install TV tuner, dan yang terakhir Setting Compiz di ATI radeon (belum bisa ). Karena dulu belum ada koneksi ke internet secara langsung, saya sering mengalami kesulitan kalau ingin download / upgrade driver. Tetapi, Alhamdulillah, untuk setting 3d di linux dah beres (untuk driver Nvidia). Dan sekarang berhubung sudah ada koneksi internet sendiri, belajar linux nya jadi lebih semangat :) More…

By yonaldi on April 17, 2011 | Knowledge | A comment?

Login shell dengan ssh Fingerprint Key Authentication

Untuk membuat authorized_keys untuk masuk ke shell tanpa harus memasukkan password dan permintaan authentikasi  dan biasanya digunakan untuk aplikasi rsync atau yang memang untuk beberapa aplikasi yang membutuhkan auhorized key tanpa harus memasukkan password terlebih dahulu untuk melakukan service seperti rsyncMore…

By yonaldi on April 6, 2011 | Knowledge | A comment?

Convert Video Sekaligus dengan Bash Script – FFMPEG Command

Lagi males ngetik;

ini dia scriptsnya…sesuaikan saja dengan PATH di  server masing2,

 

#!/bin/bash
 
VIDEO=/source/media/
PINDAHKAN=/source/media/
 
for x in find $VIDEO -type f -name *.avi; do
file=$(echo $x | tr A-Z a-z | tr ' ' _)
 [ ! -f $file ] && mv "$x" $file
 
export PATH=$PATH:/usr/bin:/usr/local/bin
 
 ffmpeg -i $file -s pal -r pal -aspect 4:3 -ar 48000 -ac 2 $PINDAHKAN"${file%.*}.mpeg";
done

Salam Linuxerr… Merdekaaaa

By yonaldi on April 5, 2011 | Knowledge, Linux Shell Scripts | A comment?

Rsync Backup per menit, caranya???

Terkadang kita sangat direpotkan dengan rutinitas backup setiap saat, nah untuk mengakali hal ini daripada waktu kita dihabiskan dan membosankan mendingan servernya disuruh kerja sendiri, nahh sementara severnya bekerja kita bisa ngopi, main game, dll hehehe…

dibawah ini adalah bash script untuk melakukan backup per menit atau tergantung selera saja mau melakukan backup sekali berapa menit…. More…

How to set your date and time in Debian

It could happen to anyone to have problems with date and time. For example I had a problem a few day’s ago with an older server of mine which has problems with hardware time, it resets everytime I disconnect it from power. Its something to do with the motherboard I changed the battery but that didn’t solved the problem. That’s why sometimes I need to correct its date with the following method: More…

By yonaldi on April 3, 2011 | Knowledge | A comment?

DNS
Init Scipts Centos
Knowledge
Linux Shell Scripts
Old Archive