Deep Freeze for Ubuntu,copy this script and save with deepfreeze.sh



#!/bin/bash

# Dippris - Deepfreeze ala GNU/Linux

# Jangan lupa diback up, kalau salah ndak tangung jawab

# Copyleft 2007 by A. Hardiena

# Patched and modified for Ubuntu System by yellowhat89@gmail.com



Xdialog --title "Deepfreeze khas GNU/Linux" \

--menubox " Selamat datang di Dippris." 17 65 3 \


"Install" "Install Dippris" \

"Hapus" "Hapus/Remove Dippris" \

"Batal" "Batal/Abort Instalasi" 2>/tmp/checklist.tmp.$$



choice='cat /tmp/checklist.tmp.$$'

rm -f /tmp/checklist.tmp.$$



case $choice in

"Install")




ask='mktemp -q /tmp/menu.XXXXXX'

header="Deepfreeze ala Linux"

size="9 60"

content="Home folder yang mau di-protect?."

Xdialog --title "$header" --inputbox "$content" $size 2> $ask

if [ ! $?= 0 ]; then

exit 0

fi




directori='cat $ask'

check='cat /etc/rc.local | grep '# Deepfreeze System''

temporary="# Deepfreeze System"

if [ "$check" == "$temporary" ]; then

sed -i "/# Deepfreeze/d" /etc/rc.local

rm /home/$directori.tar.gz

fi

# Processing Deepfreeze and put to /etc/rc.local

cd /home/


rm $directori.tar.gz

tar -cf $directori.tar $directori

gzip --best $directori.tar

sed 's/exit 0//g' /etc/rc.local > /tmp/rc.local.tmp

mv /tmp/rc.local.tmp /etc/rc.local

chmod 755 /etc/rc.local

cat << EOF >> /etc/rc.local

# Deepfreeze System


cd /home/ # Deepfreeze do not manual editing this line

rm -Rf /home/$directori # Deepfreeze do not manual editing this line

tar -xvvzf /home/$directori.tar.gz -C /home/ # Deepfreeze do not manual editing this line

# Deepfreeze has ended here

exit 0



EOF

# Check if autorecovery has errorr

if [ $? = 0 ]; then


content="Deepfreeze home $directori success."

else

content="Deepfreeze home $directori failed."

fi



Xdialog --title "Header" --msgbox "$content" $size

;;

"Hapus")

ask='mktemp -q /tmp/menu.XXXXXX'


header="Deepfreeze ala Linux"

size="9 60"

content="Home folder you want to un-deepfreeze."

Xdialog --title "$header" --inputbox "$content" $size 2> $ask



if [ ! $? = 0 ]; then

exit 0

fi



directori='cat $ask'


sed -i "/# Deepfreeze/d" /etc/rc.local

rm /home/$directori.tar.gz

;;

esac







using terminal,

sudo chmod 775 deepfreeze.sh
./deepfreeze.sh

Read more...

Sukses juga akhirnya aku menginstall Ubuntu 8.10 di Acer 4736z,permasalahan timbul ketika aku mencoba untuk mengkonekkan laptop ini dengan jaringan LAN,tidak ada aktifitas apa-apa,led indikator di colokkan LAN juga tidak mau nyala.

Bingung memikirkan solusinya,akhirnya aku googling,akhirnya ketemu juga http://ubuntuforums.org/showthread.php?t=1197614

Masalahnya ternyata atheros lan card belum disupport oleh ubuntu 8.10.

Berikut tahap tahap penginstallan driver Lan di acer 4736z

* unduh driver atheros di http://partner.atheros.com/Drivers.aspx.
* kopikan file tersebut ke Home folder.
* buat folder dihome folder untuk tempat pengekstrakan file driver.
* buka terminal ketik cd ar81 enter
* cd src enter
* make enter
* sudo make install enter
* sudo insmod atl1e.ko enter

Kemudian reboot...




Read more...

Kaget,tiba-tiba komputerku user accountnya blank,...browsing sana-sini,akhirnya ketemu jawabnya...
Klik Start,ketik di Run

regsvr32 jscript.dll
regsvr32 vbscript.dll
regsvr32 /i mshtml.dll (Untuk Internet Explorer 6)

Read more...

Untuk menginstall flash-player di firefox,
langkah-langkahnya sebagai berikut:
* Download filenya di http://get.adobe.com/flashplayer/
* Pilih versi .tar.gz for linux simpan di directory home
* Extract directory tersebut
* Perhatikan file hasil extract,biasanya ada dua file,flashplayer-installer dan libflashplayer.so
* Lakukan instalasi di terminal dengan perintah:
./ flashplayer-installer
* Instalasi selesai,jalankan firefox.
Read more...


Untuk rekan-rekan yang masih menggunakan Ubuntu 7.04 Feisty Fawn,ternyata alamat reponya sudah tidak ada di http://archive.ubuntu.com dan server lokal cuma ada di repo.ugm.ac.id.Jangan berkecil hati,pindahkan alamat reponya di http://old-releases.ubuntu.com

Lebih lengkapnya edit di /etc/apt/sources.list

deb http://old-releases.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse
Read more...