Ada yang bisa jawab?

This item was filled under [ Cinta, MySelf ]

Screenshot

Pertanyaan dari salah satu kuis di pesbuk, nah ada yang bisa jawab?

Tagged with: [ , ]

BlankOn 5 (Nanggar) dirilis

This item was filled under [ BlankOn, Linux ]

Alhamdulillah akhirnya…

Silakan baca Press rilisnya, untuk bahasa ingris disini
dan kalau mau download di sini
Dan jangan lupa lihat cacatan rilisnya

Tagged with: [ , ]

Repository Debian lama

This item was filled under [ Debian, Linux ]

Kadang menjadi masalah bila adik-adik SMK kejuruan TIK pabila ingin mencari server repository Debian lama, kenapa? ya karena di ftp.debian.org sudah tidak ada lagi. arsip lama ini hanya ada di archive.debian.org. nah tapi kabar gembiranya sekarang ada di Indonesia. alamatnya.

Repository ini sudah lengkap semua arsitektur, rilis maupun kode sumber. Silakan di sedot…

Tagged with: [ , , , , , ]

Dual rsync

This item was filled under [ Komputer ]

Jadi digunakan ketika satu host mati maka rsync diarahkan ke server lain.

#!/bin/bash
SATU=mirror.unej.ac.id
DUA=kambing.ui.ac.id
/usr/bin/rsync -avhHP --times --delete --delete-after --delete $SATU::fedora/  /ftp/pub/Linux/fedora/
if [ "$?" -eq 0 ]
then
 echo "Server $SATU Hidup"
else
 echo "Server $SATU Mati, lanjut ke server $DUA"
/usr/bin/rsync -avhHP --times --delete --delete-after --delete $SATU::fedora/  /ftp/pub/Linux/fedora/
        if [ "$?" -eq 0 ]
        then
         echo "Server $SATU Hidup"
        else
         echo "maaf anda belum beruntung"
        fi
fi
Tagged with: [ , ]

Rilis DVD Repository OpenSUSE 11.1

This item was filled under [ Tak Berkategori ]

Ini murni bikinan saya :D , untuk press release silakan lihat di sini.

untuk membuat dvd ini dibutuhkan paket antara lain:

  • mkisofs
  • rsync
  • createrepo
  • md5sum
  • dirsplit

Okeh, saya jujur ini dibuat oleh script dan ini script nya, hehehehe:

#!/bin/bash
VERSI=11.1
BASE=/srv/mirror/pabrik/opensuse
MENTAH=$BASE/mentah
DAFTAR=$BASE/list
mirror=/ftp/opensuse/distribution
REPOSS=$mirror/$VERSI/repo/oss/suse/
REPONOSS=$mirror/$VERSI/repo/non-oss/suse/
REPOPM=/ftp/opensuse-packman/suse/$VERSI/
NAME=openSUSE-$VERSI-contrib-
exclude="--exclude setup/ --exclude repodata/ --exclude media.1/"
rsync_opts="-avh --delete --delete-after --delete-excluded"
LOGDIR=$BASE/log
LOGFILE=$LOGDIR/opensuse-dvd.log

cd $BASE

if [ ! -d "$MENTAH/distribution/" ]; then
	mkdir -p $MENTAH/distribution/
fi

rsync $rsync_opts $exclude $REPOSS $MENTAH/distribution/oss/ > $LOGFILE 2>&1
rsync $rsync_opts $exclude $REPONOSS $MENTAH/distribution/non-oss/ >> $LOGFILE 2>&1
rsync $rsync_opts $exclude --exclude src --exclude src/ $REPOPM $MENTAH/packman/ >> $LOGFILE 2>&1

rm -rf $DAFTAR/*
echo "dirsplit -L $MENTAH/ -p $DAFTAR/$NAME"

dirsplit -L $MENTAH/ -p $DAFTAR/$NAME >> $LOGFILE 2>&1

for x in `ls -l $DAFTAR/ | awk {'print $8'}`; do
	cd $DAFTAR/$x
	echo "======================"
	echo "Repository $x"
	echo "======================"
	createrepo -v -o $DAFTAR/$x/distribution/ $DAFTAR/$x/distribution/ >> $LOGFILE 2>&1
	createrepo -v -o $DAFTAR/$x/packman/ $DAFTAR/$x/packman/ >> $LOGFILE 2>&1
	cp $BASE/README.txt .
	echo "======================"
	echo "Building ISO image $x"
	echo "======================"
	mkisofs -f -J -V "$x" -D -r --joliet-long -o $BASE/iso-dvd/$x.iso $DAFTAR/$x/ >> $LOGFILE 2>&1
	echo "======================"
	echo "Building Jigdo image $x"
	echo "======================"
	jigdo-file make-template --force --image=$BASE/iso-dvd/$x.iso --jigdo=$BASE/iso-dvd/$x.jigdo --template=$BASE/iso-dvd/$x.template --label openSUSE=$MENTAH --uri openSUSE=http://mirror.unej.ac.id/~udienz/project/opensuse/repo/ $MENTAH// #>> $LOGFILE 2>&1
	find . -type f > $BASE/iso-dvd/$x.list
	md5sum $BASE/iso-dvd/$x.iso > $BASE/iso-dvd/$x.md5
	echo "======================"
	echo "Done building iso/jigdo $x"
	echo "======================"
done

savelog $LOGFILE >/dev/null

ada pertanyaan?

Tagged with: [ , , ]