Archive for July, 2008

Pesan hari ini (Messages of the day)

ah… akhirnya saya bisa menelurkan kata-kata lagi

Jika kamu bergerak, bersiaplah untuk menghadapai masalah

Jika kamu hidup, bersiaplah untuk menghadapi kematian

Jika kamu takut akan keduanya maka jangan pernah berfikir untuk hidup dan bergerak

Jember, Juli 24th 2008

kalo in imengutip dari orang laen

Dalam hidup, seseorang hanya butuh satu hal….. orang yang mencintai

Jika kamu tidak bisa memberikanya, berikanlah dia harapan

Jika kamu tidak bisa memberikanya juga, berikanlah dia sesuatu untuk dikerjakan

Diambil dari filem Flight the Phoenix (2004)

Dummy Script to backup your server

This is smply script to backup your server and reposrted via email, but i think my script is very simply. please correct me

#!/bin/sh
####################################
#
# Script to creating Backup File
# save fo /usr/sbin/backup.sh
# inspired from ubuntu-serverguide
# thanks to Ubuntu Documentation Team!
# please send me e-mail if you want to recode again!
# thank's before
# Mahyuddin Susanto aka udienz email = udienz@gmail.com
#
####################################

# What a backup?
#DIRECTORY="/var/www /var/spool/mail /etc /boot"
DIRECTORY="/var/www /etc /boot"
EMAIL=udienz@gmail.com
CCEMAIL=udienz@ubuntu.com
# Where to backup to.
TARGET="/tmp/backup"
if test -d $TARGET;
	then EXISTS="yes"
else
	mkdir -p $TARGET
fi

# Create archive filename.
DAY=$(date +%F)
HOST=$(hostname -i)
ARCHIVE="$HOST-$DAY.tgz"

# Print start status message.
echo "Backing up $DIRECTORY to $TARGET/$ARCHIVE"
date
echo

# Backup the files using tar.
tar czf $TARGET/$ARCHIVE $DIRECTORY
md5sum $TARGET/$ARCHIVE >> $TARGET/md5sum.$ARCHIVE.txt
# i dont'know how wo make file contain dirrefent both directory
# diff -rNu /where/come/ /want/toa/ > different$DAY.diff
# dpatch patch-template -p "different$DAY" "different directory" < different$DAY.diff > different$DAY.patch
#maybe, i think using method patching package into good, maybe :D 

# Print end status message.
echo
echo "Backup finished"
date

# Long listing of files in $dest to check file sizes.
# ls -lh $TARGET

# Crontab, backingup every sunday
# 0 0 0 * * bash /usr/local/bin/backup.sh

TMPFILE=`mktemp`
exec > "$TMPFILE"
echo "From: \"Backup report $HOST\" "root@$HOST""
echo "To: $EMAIL"
echo "Cc: $CCEMAIL"
echo "Subject: Information about backingup $HOST"
echo ""
echo "Hello mr/mrs $EMAIL and $CCEMAIL!"
echo ""
echo "If you get this email it mean that back-up proses at $HOST,"
echo "is succes, more information about back-up is:"
echo ""
echo "Directory to backup is = $DIRECTORY"
echo "and saved to $TARGET/$ARCHIVE"
echo "finished at `date`"
echo "have MD5SUM `md5sum $TARGET/$ARCHIVE | cut -f1 -d ' '`"
echo ""
echo "`ls -lh $TARGET/`"
echo ""
echo "Best Regard"
echo "............"
exec
/usr/sbin/sendmail -t -i < $TMPFILE
rm -f $TMPFILE
#ls -lh $TARGET/

# END Of Script

Ubuntu Classroom #1 at Engineering Faculty

Saturday 19th, 7pm at Engineering Faculty Jember universty we made basic training about ubuntu. we made class in the night because many student have another class in the morning. in this clas we have 2 mentors, me and Ashadebi (from Debian Indonesia).

We studied dual boot installation and make connection to repositories server. This class sponsored by Jerux (Jember Linux) and Engineering faculty. many students at engineering faculty have gigantic spirit to sudiying linux speciallu Ubuntu and Debian :D .

Next meeting in engineering faculty at 27th July 2008 at 7pm and will dicussing about installation and basic terminal

DSC00060

hey look’s at the picture! he is ashadebi

DSC00054

we have 15 participant at here.

DSC00051

Belajar pemaketan

Setelah bertapa dan meluangkan waktu akhirnya berhasil juga saya memaketkan kembali paket-paket ubuntu ke Blankon linux. kali ini saya memaketkan paket Apache2 dan Php5. Alhamdulillah berhasil! kompilasi berjalan cukup lamaaaa terutama pada kompilasi php karena harus mengkompile entah berapa modul banyaknya.

saya menggunakan pbuilder untuk membangun paket impor dari ubuntu ini, silakan lihat hasilnya:

Screenshot-Index of -temp - Mozilla Firefox 3 Beta 5-1

Saya hanya mengganti lsb_base sehingga server signaturenya menjadi BlankOn, lumayan mudah kok. kalo pengen belajar pemaketan silakan belajar di:

http://wiki.ubuntu-id.org/DokumentasiKomunitas/PackagingGuide

https://wiki.ubuntu.com/PackagingGuide

http://dev.blankonlinux.or.id/wiki/Pemaket/Kelas/Kelas080608

Ubuntu Still Nomero Uno at Indonesia (and East Java!)

Click this link, you can see that Ubuntu still number one at Indonesian Linux User. I’m so Glad (again)! why? my region (east java) become 1st positoin who most access about ubuntu.

Rangking of Ubuntu at indonesia

thanks to Ubuntu-id for spreading the open source movement in Indonesia.