Home » 2010 » February

Monthly Archives: February 2010

Install OpenOffice 3.2.0 di Ubuntu 9.04 Jaunty

Firstly, go to the OpenOffice website: http://download.openoffice.org/ and download the Linux .deb file.
1 – Once you have done that, extract the .deb file,
Then you’ll see a file called OOO320_m12_native_packed-1_en-US.9483
2 – You can remove the existing version of OpenOffice if you wish with this command:
sudo apt-get remove openoffice*.*
3 – Copy and paste OOO320_m12_native_packed-1_en-US.9483 onto the desktop then open Terminal and paste this command:
sudo dpkg -i ~/Desktop/OOO320_m12_native_packed-1_en-US.9483/DEBS/*.deb
4 – Then paste this command:
sudo dpkg -i ~/Desktop/OOO320_m12_native_packed-1_en-US.9483/DEBS/desktop-integration/openoffice.org3.2-debian-menus_3.2-9472_all.deb
Once you’ve done that you’ll find OpenOffice 3.2 in Office.

Why Move to MySQL from Microsoft SQL Server?

(source : http://dev.mysql.com/tech-resources/articles/move_from_microsoft_SQL_Server.html)

Before we get started, let me say that I always liked being a SQL Server DBA. My database experience started with DB2, then Teradata, followed by Oracle, and then SQL Server (and then a little bit of Sybase after that, followed by MySQL). Coming from the other databases, I found SQL Server the easiest and quickest to learn at the time, but of course, a lot of that had to do with the fact that Microsoft was really the only database vendor around then (I started with version 4.2 of SQL Server) that shipped any decent GUI management tools with their server. Take the tools away, and you basically had Sybase on Windows with the ISQL command line tool, which was not pretty by any means.

I started managing a lot more database servers with SQL Server 6.0, 6.5, and then SQL Server 2000. I was doing a lot of Oracle at the time too, but still felt that SQL Server had an edge on Oracle in terms of ease-of use. Oracle’s done a lot to improve their tools and overall manageability over time and today they are way ahead of where they were in the version 8/9i days with their 10/11g tools, but Microsoft has kept moving forward too. SQL Server 2005 came along with a little more help in the area of management, but it wasn’t as much as in prior versions. The same can be said (in my opinion) of SQL Server 2008 in terms of additional management help. But don’t misunderstand me, in my DBA days, SQL Server was still the easiest to use over all its competitors and I never thought I’d find another database server that could equal it in terms of having the total package of ease-of-use, reliability, and good performance.

But then I found MySQL.

Of course, you can say I’m biased because I oversee product management for MySQL inside of Sun, so guilty as charged there. But I do think MySQL has SQL Server beat in many respects, even when it comes to running on the Windows platform. Moreover, a lot of other folks seem to agree. When it comes to migrating away from another database to MySQL – or using another database for new applications – the #1 database platform is Microsoft, three years running according to our year-end surveys.

Installing and Running Aptana on Ubuntu 8.10 (Ubuntu Intrepid)

Since Linux distributions started shipping with Firefox 3 Aptana has become harder and harder to get running error free. After getting a nice fresh Ubuntu 8.10 install running my first task was to get Aptana running so that in a pinch I could belt out some code and get myself paid.

There are only a couple of steps required to get Aptana running on Ubuntu 8.10. Install Java and install Firefox 2. Don’t panic I have never had trouble doing this despite the warning bells you are probably hearing. Firefox 2 and 3 can happily be installed on the same machine without argument.

Step 1: Install Java on Ubuntu

Simple, hardly requires a step.

  1. Go to Applications -> Add/Remove
  2. Change the Show drop down to read “All Available Applications”
  3. Search for Java
  4. Tick and Install Sun Java 6 Runtime – feel free to use one of the others, your choice but I can’t vouch for them working – Aptana says they prefer Sun and that is good enough for me.

Step 2: Install Firefox 2 on Ubuntu 8.10

The theory here is simple. Change your package sources to Ubuntu 7.10 (Gusty Gibbon) ones, which make Firefox 2 available, install Firefox 2, and then revert your package sources.

Back up our existing source list to make it easy to revert later.

sudo mv /etc/apt/sources.list /etc/apt/sources.list.original

Create a new package source list

gksudo gedit /etc/apt/sources.list

Paste the following list of package sources into this new file and save and close it.

deb http://archive.canonical.com/ubuntu hardy partner
deb http://br.archive.ubuntu.com/ubuntu/ hardy main universe restricted multiverse
deb http://security.ubuntu.com/ubuntu/ hardy-security universe main multiverse restricted
deb http://br.archive.ubuntu.com/ubuntu/ hardy-updates universe main multiverse restricted
deb http://packages.medibuntu.org/ hardy free non-free

Update using the new (well technically old) package source and install Firefox Two.

sudo apt-get update
sudo apt-get install firefox-2

Step 3: Cleaning up the mess and getting the system back to usable

Copy back our original package source list

sudo mv /etc/apt/sources.list.original /etc/apt/sources.list

Update your package sources for next time.

sudo apt-get update

Step 4: Downloading and Running Aptana on Ubuntu 8.10

  1. Download Aptana from http://aptana.com/studio/download
  2. Create a script to launch it with the correct settings
    1. Create a new text file called startAptana in your home directory
    2. Add the following
    3. #!/bin/bash
      export MOZILLA_FIVE_HOME=/usr/lib/firefox
    4. Make the file executable by running
    5. sudo chmod a+x startAptana
    6. from the Terminal

All things being equal you should now be able to ./startAptana and away you go.


If you get Java errors and can not find JRE messages change



/usr/local/aptana/AptanaStudio -vm /usr/lib/jvm/java-6-sun-

(or whatever the path to your Java runtime is) in your startAptana file

Convert mkv to avi di Ubuntu 9.04

Pada posting sebelumnya gue mencoba convert file video rmvb menjadi file avi. Tools yang digunakan adalah mencoder. Nah, sekarang saya ingin mengubah koleksi file video matroska mkv saya menjadi file avi juga. Setelah buka-buka google dapat command yang hampir mirip karena sama-sama menggunakan mencoder.

(source : http://tuxarena.blogspot.com/2009/07/tip-of-day-convert-mkv-to-avi-using.html)

$mencoder my_video.mkv -ffourcc xvid -ovc lavc -lavcopts vcodec=xvid:vhq:vbitrate=1800 -oac mp3lame -lameopts vbr=5 -o output_video.avi

Uups..ternyata command ini tidak berjalan di komputer saya karena di komputer tidak terinstall codec xvid. Usut punya usut, ternyata gue bisa mencoba code mpeg4. Akhirnya pilihan codec diganti mpeg4 dan command menjadi seperti berikut :

$mencoder my_video.mkv -ffourcc xvid -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=1800 -oac mp3lame -lameopts vbr=5 -o output_video.avi

Ternyata bisa jalan.

Sekarang tinggal tunggu hasilnya deh…

Convert rmvb to avi di Ubuntu 9.04

Gue ada koleksi file video Ipin Upin buat anak gue. Koleksi itu berupa file rmvb yang biasa dibuka pake Real Player. Gue mau ubah dari rmvb menjadi avi. Gue mau tes di TV gue. Kebetulan ada colokan USB dan seinget gue bisa membuka file divx.

Cari-cari info untuk convert rmvb to avi di ubuntu. Ketemu link ini (http://www.kartook.com/2009/06/convert-rmvb-to-avi-ubuntu-9-04/)

Tinggal install mencoder dan beberapa library.

$sudo apt-get install mplayer mencoder librte1 librte-dev

Trus perintah convert seperti berikut :

$mencoder -oac mp3lame -lameopts cbr=128 -ovc xvid -xvidencopts bitrate=1200 video_input.rmvb -o video_output.avi

Barusan coba 1 file, ternyata lumayan ok.

Google + Social Network = Google Buzz

Google sepertinya tidak mau ketinggalan dalam hal teknologi maupun tren. Tren perkembangan social network seperti facebook, twitter, maupun myspace rupanya juga menular ke pikiran para petinggi Google. Google mencoba masuk ke ranah social network dengan Google Buzz-nya. Google sangat mengandalkan aplikasi-aplikasi yang telah dikembangkannya sebagai daya pikat social network-nya seperti terintegrasi Gmail, Google Gocs, dll.

Silakan akses ke http://www.google.com/buzz untuk mencoba Google Buzz.

Bagi yang sudah punya akun Gmail, bisa langsung dicoba.

Google Buzz

Go beyond status messages

Share updates, photos, videos, and more.
Start conversations about the things you find interesting.

Download Tutorial Matlab berbahasa Indonesia

Anda yang sedang belajar Matlab atau sedang ada tugas kuliah yang dikerjakan dengan matlab ? Jangan bingung atau khawatir, silakan download tutorial Matlab berbahasa Indonesia berikut

Ikuti link berikut untuk mendownload.

Gratis…tis..tis… Silakan disebarkan ke teman-teman.