Archive for October, 2008

Intrepid Ibex

Intrepid Ibex is out !!!

Getting a new (well not new, actually) laptop, Dell Latitude D630, and after finished downloading the new Ubuntu Intrepid Ibex, I decided to give the new Ubuntu a try.Here’s a quick review :

  • Installation

Installation is fine, as with the last Hardy, it’s also an easy install. Aside from partitioning and time zone, you can probably accept all the default setup. It took me about 30 minutes to install the whole system. Booting is fast, I think it’s slightly faster than my current Hardy (well, probably because my Hardy is already bloated with additional services :D )

  • Devices

D630 uses a restricted (proprietary) driver for wireless card, i.e. Broadcomm Wireless. Once you activate the driver and restart the system, it works like charm (probably won’t need restart, but I don’t want to get into a hassle trying to configure it. besides, restarting take less than a minute :p). Display gets 1200×800 out of the box, and is fine. Bluetooth and sound works. One thing that bug me is the that the touchpad response is very slow, probably need some tweaking for that later. Other than that, everything works perfectly !!

  • Printing

Continuing hardy tradition, printing is extremely easy to setup. Once I enable printer “Show printers shared by other systems” in System -> Administration -> Printing -> Server -> Settings, then I click new, it detects both Xerox Document Center 236 and HP Color Laserjet 3800 available in my office network. I already setup the Xerox using Generic PCL 6/PCL 6XL Foomatic driver, and it prints fine.

  • To Do List

Last thing I need to configure is vmware. Back in hardy, it required some patches, which will probably the same case with this one. Also will need to check whether presentations work ok to projector.

All in all, this release is satisfying. Back when Hardy is initially released, I need to tweak some stuffs to get sound working in my Compaq V3000 series.

Let’s get Intrepid :D

Small Network Backup dengan DeltaCopy dan rsync

Saya punya satu klien dengan jaringan kecil (10 client Windows) dan satu buah Ubuntu server sebagai router + DNS + DHCP + file server. Salah satu requirement yang diminta adalah network backup, dan network backup itu harus bisa diverifikasi oleh client yang bersangkutan (dengan kata lain, dia bisa liat langsung hasil backup-nya).

Untuk network backup, sebenarnya ada beberapa kandidat, antara lain Bacula dan Amanda (secara keduanya gratis). tapi constraint yang saya temukan (dan saya belum temukan solusinya) adalah, karena bacula dan amanda menggunakan protokol samba untuk windows backup, fitur incremental backup jadinya tidak bisa dicapai (entah saya yang tidak bisa configure juga barangkali). Sesudah browsing sana sini, akhirnya ketemu solusinya, gabungan antara DeltaCopy di client dan rsync di server.

Langsung saja ke konfigurasi-nya ya:

Konfigurasi di server

  • Install rsync dan xinetd di server (rsync secara default sudah ada di ubuntu server, tapi just in case, tetap saya tambahkan di sini )

$sudo apt-get install xinetd rsync

  • Buat file /etc/xinetd.d/rsync dengan isi kurang lebih seperti ini :

service rsync
{
disable        = no
socket_type    = stream
wait        = no
user        = root
server        = /usr/bin/rsync
server_args    = --daemon
log_on_failure    += USERID
}

  • Buat file /etc/rsyncd.conf dengan isi kurang lebih seperti ini :

log file=/var/log/rsyncd
pid file=/var/run/rsyncd.pid
[data]
comment = public archive
path = /data
use chroot = yes
lock file = /var/lock/rsyncd
read only = no
list = yes
uid = [user yang punya akses write ke path]
gid = [group membership dari user]
auth users =  [user yang akan diberikan akses]
secrets file = /etc/rsyncd.secrets
timeout = 600

dalam konfigurasi di atas, backup dari klien akan disimpan di folder /data, dan akan ditulis dengan user support

  • Buat file /etc/rscyn.secrets untuk menyimpan autentikasi username dan password dari rsync. Isi file itu dalam format [username]:[password], misalnya
  • username:password

  • Edit file /etc/default/rsync supaya berjalan dengan xinetd, pastikan berisi :
  • RSYNC_ENABLE=inetd

  • Restart xinetd server
  • /etc/init.d/xinetd restart
    Konfigurasi di Client

    • Download Deltacopy dari website DeltaCopy
    • Ekstrak file dan jalankan setup
    • Sesudah instalasi selesai, jalankan DeltaCopy Client
    • Buat satu profile, dan edit parameter-nya (server, path, folder yang ingin dibackup, schedule jika diperlukan, dsb). Hal yang menarik dari DeltaCopy adalah kemampuan untuk scheduling, serta incremental backup. Jangan lupa tambahkan username dan password yang didefinisikan di server pada DeltaCopy Client

    Untuk mapping hasil backup client dari Ubuntu ke Windows, saya pasang samba server di Ubuntu.

    Secara keseluruhan, konfigurasi-nya sangat mudah. Selamat mencoba :)