Archive for the ‘ubuntu’ Category

Dear Windows, It’s over

Friday, July 18th, 2008 |

Dear Windows:

I didn’t want to tell you this in person, because I thought it might be too complicated, and might take too long. After all, we’ve been together for a long time, almost five years and running now. I know, I know; I know you so well; your control panel, your installation procedures, even when you get mad and go all blue screen on me; what can I say, you kinda grew on me.

But to be honest, things have been going downhill for a long time now. What happened to that lean, fast OS that i first installed? You know, the one that ran Civ 4, Vice City, and even True Crimes without a problem? The one that burned DVD’s, CD’s, the one that shared music with my xbox without a problem? I don’t know; It seems like you’ve let go of yourself, to be honest. You take over 20 minutes to boot up, you run Civ4 slowly, heck, you even freeze up on me now when I try to watch video. What happened windows? Did you get so comfortable that you thought I’d just deal with it?

Well, I’ve been cheating. See, back in tenth grade, i messed around a bit with this chick, her name was Red Hat Linux. We met in school in my networking 5 class, and i got to know her pretty well. I was all up in her terminal, if you know what i mean :P. Well, I took her home, and we had a really rough one night stand. I decided she wasn’t for me, and i went back to you, because i knew what i was missing. Well, Red Hat has a south african cousin, and her name’s Ubuntu…she’s kinda hot, too. She’s got three cousins, Xubuntu, Edubuntu, and Kubuntu, too, and their all sexy.

Well, I guess this letter is to let you know that it’s over. I’m not going back, either. You can tempt me with your games, and all the software, but it’s alright. I can get to know ubuntu, I can learn to work her terminals. Her freeware. Her internet support. After all, what can I say…she’s sexy, fast, and free. Amd you’re expensive, bloated, and well, always sick with viruses. I’m done.

I know, i know. I freaked out and formatted you off my hard drive, and then I called you begging and pleading to take me back, and we briefly made up. But what was I thinking? I remembered all the bad times we had, and I called Ubuntu up and she understood me just fine. Before I knew it, we were hitting it off again. She installed really quickly, and didn’t even need any drivers or anything. Worked beautifully. And did I remind you she’s free?

So Windows Professional Service Pack 2, I’m leaving you for Ubuntu know. It’s over, we had a good run, but all expensive, virus laden, bloated software relationships must come to an end, right? I guess that’s just how it has to be.

Thanks for all the good times though! Nothing like a BSOD when i’m trying to watch a live debate on MSN or CNN, or crashing on me int he middle of civ4.

But i have to go now. It’s time to get down and dirty with ubuntu, and if I ever really miss you again, I’ll just drink it away with some WINE.

Sincerely,

Bruno

(more…)

Create ISO Images from CD/DVD and Folder Files

Sunday, May 25th, 2008 |

With Ubuntu, you can create ISO disk Images directly from CD/DVD and folder files. Then create MD5 Checksum files.
Assumed that the CD/DVD device is located at /dev/cdrom/

Turn a CD/DVD into an .iso
$ sudo umount /dev/cdrom
$ dd if=/dev/cdrom of=file.iso bs=1024

Turn a folder into an .iso
$ mkisofs -r -o file.iso /location_of_folder/

Generate an MD5 checksum file

$ md5sum file.iso > file.iso.md5

Check MD5 checksum of file
$ md5sum -c file.iso.md5

(more…)

Finally The Hardy Heron has arrived!

Wednesday, May 21st, 2008 |

Yay, its arrived..! Linux Ubuntu 8.04 (Hardy Heron) free CDs. Requested it from https://shipit.ubuntu.com/
Kinda late, because i already downloaded and installed it since the first time released. And like always, i have to go to the Post Office, and pay Rp.7000 for the tax.

The Package:

Ubuntu Package

-

And the package content:

Paket Ubuntu

-

There’s some difference from edubuntu cd. its called “Education Edition Add-on CD”. Ubuntu Education Edition is an additional selection of free and open source software for education to be used with Ubuntu. This CD is does not offer LTSP installation directly. To get the same out-of-the-box-set-up as before, start from the Ubuntu alternate install CD, and select “Install an LTSP server” from the Modes menu.

The Ubuntu Promise

  • Ubuntu will always be free of charge, including enterprise releases and security updates
  • Ubuntu comes with full commercial support from Canonical and hundreds of companies around the world
  • Ubuntu includes the very best translations and accessibility infrastructure that the free software community has to offer
  • Ubuntu CDs contain only free software applications; we encourage you to use free and open source software, improve it and pass it on

(more…)

Subdomain wildcard pada Ubuntu dengan bind9 - Part II

Friday, May 16th, 2008 |

Menyambung artikel sebelumnya, kali ini kita akan membuat konfigurasi Virtual Host agar setiap request yang masuk langsung diarahkan ke domain utama.
Pertama, edit file konfigurasi default apache: /etc/apache2/sites-available/default
Ubah nilai NameVirtualHost dan VirtualHost menjadi *

$ sudo pico /etc/apache2/sites-available/default

sehingga menjadi:

NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost

DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory “/usr/lib/cgi-bin”>
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

ErrorLog /var/log/apache2/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/access.log combined
ServerSignature On

Alias /doc/ “/usr/share/doc/”
<Directory “/usr/share/doc/”>
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>

</VirtualHost>

Kemudian buat file konfigurasi Virtual Host baru untuk domain kita.

$ sudo pico /etc/apache2/sites-available/situskita.tld

Kita akan menambahkan ServerAlias yang akan mengarahkan semua request *.situskita.tld ke domain utama.Dan arahkan DocumentRoot ke lokasi kerja anda. (more…)

Subdomain wildcard pada Ubuntu dengan bind9

Thursday, May 15th, 2008 |

Ada kasus seperti ini, kita akan membuat sebuah website komunitas yang nanti nya para pengunjung bisa mendaftar sebagai anggota. Dan setiap anggota masing-masing akan mendapatkan alamat URL: http://namauser.situskita.com/
Kelihatannya tampak mudah bukan?
Tinggal membuatkan Virtual Host untuk masing-masing anggota, dan daftarkan subdomainnya.

Namun permasalahannya adalah, kita ingin subdomain tersebut hanya sebagai identitas, dan bukan berupa direktori khusus untuk masing-masing anggota terdaftar. Dan yang lebih penting lagi, setiap yang baru mendaftar akan langsung mendapatkan alamat subdomainnya secara otomatis, tanpa campur tangan kita. Bayangkan jika ada 100 pengunjung yang mendaftar, dan semua itu harus kita buat secara manual.  Akan sangat membuang waktu dan tenaga bukan?

Ini dibutuhkan jika kita ingin membuat situs komunitas, atau contohnya seperti situs jaringan pertemanan. Setiap anggota yang terdaftar akan mendapatkan alamat sendiri untuk menampilkan profil, blog, atau content lainnya.

Untuk mengatasi masalah itu kita akan menggunakan yang namanya “Subdomain Wildcard”. Dengan subdomain wildcard, kita hanya butuh 1 domain yang digunakan untuk memproses semua request subdomain. Artinya, semua yang xxx.domainutama.com, yyy.domainutama.com, zzz.domainutama.com akan diarahkan ke domainutama.com. Yang nantinya script PHP pada domainutama.com yang akan memprosesnya dan menampilkan halaman anggota tersebut.

Sebelumnya, kita akan membutuhkan DNS Server untuk membuat subdomain wildcard ini. Dengan membuat DNS Zone baru untuk domain yang akan digunakan.
Sebagai test untuk di mesin lokal, kita akan membuat domain bohongan yang hanya bisa jalan di jaringan lokal kita saja.
Domain yang digunakan: www.situskita.tld
IP Mesin kita: 192.168.1.2

Install paket bind9 untuk DNS Server nya (Jika belum ada)

$ sudo apt-get install bind9

setelah install, kita akan membuat DNS Zone baru. Jika anda sudah memiliki konfigurasi DNS sendiri, dan akan menggunakannya, silahkan lewati bagian ini. Lanjutkan ke tahap selanjutnya.

$ sudo pico /etc/bind/named.conf.local

Tambahkan baris berikut ini:

zone “situskita.tld” {
type master;
file “/etc/bind/db.situskita.tld”;
notify no;
};

Disini kita membuat zona baru untuk domain “situskita.tld”, dan konfigurasi nya terletak pada file “/etc/bind/db.situskita.tld”
Jika ingin menggunakan konfigurasi DNS zone yang sudah ada, anda hanya tinggal menambahkan baris berikut pada konfigurasi anda:

*       A       192.168.1.2

Kalau belum ada, maka kita akan membuatnya.

$sudo pico /etc/bind/db.situskita.tld

(more…)

About Me

Here I'll share my knowledge, discovery and experience related to my hobby and work. Most articles on this site are related to daily life, hobbies, programming, and linux. More

Want to subscribe?

 Subscribe in a reader
Find entries :