Category Archives: Ubuntu

Can’t find the ‘libpq-fe.h header ketika memasang gem pg (postgresql)

Sebenarnya ini sih iseng-iseng aja, lagi coba Rails (lagi) mau dipasang di Heroku. Berhubung Heroku ga support MySQL , maka dipasanglah PostgreSQL pada mesin ubuntu saya. Untuk pasang postgresql di ubuntu sih gampang, tinggal pake perintah sudo apt-get install postgresql tunggu aja nanti juga selesai sendiri.

selanjutnya adalah memasang gem untuk postresql, perintahnya juga tinggal pake gem install pg , nah disini ada masalah yang muncul, instalasinya gagal. Teranyata ada peringatan

Can't find the 'libpq-fe.h header
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.

untuk mengatasi masalah tersebut, kita harus memasang libpq-dev pada ubuntu kita. Jalankan dengan perintah sudo apt-get install libpq-dev, setelah itu ulangi lagi perintah gem install pg.

Semoga bermanfaat

NB : Ga pake arch, lagi pake ubuntu di vm (vagrant)

you don’t need HJSplit for Linux

Judulnya terlihat provokatif 🙂

 

Bagi yang sering mengunduh film atau file besar di Internet, biasanya para penggunggah akan memecah file-file tersebut menjadi beberapa file yang lebih kecil. Misalnya film A nanti akan dipecah menjadi A.avi.001 A.avi.002 dan seterusnya. Hal ini dilakukan agar proses download menjadi lebih ringan tentunya juga karena biasanya terdapat batasan max file yang di unggah.

Untuk menggabungkan file-file tersebut, yang sering dilakukan adalah menggunakan HJSplit. Software ini dapat ditemukan pada OS Windows dan Linux. Tetapi apabila Anda menggunakan OS Linux, sebenarnya ada cara yang lebih mudah untuk menggabungkan file-file tersebut hanya dengan 1 baris perintah pada console. Perintahnya seperti berikut :

cat split-files.rar.* > split-files.rar

Tinggal disesuaikan nama dile dan ekstensi file tersebut 🙂

Mudah bukan?

Install Hotot Twitter Client di Ubuntu 10.04/10.10

Baru-baru ini nemu aplikasi untuk twitter client yang menurut saya keren 😀 terimakasih kepada mas @iorme yang sudah mengenalkan Hotot.
Hmm.. dari namanya sudah lucu ya? hotot, kalo search di google, nanti ketemu gambar kelinci, mungkin hotot itu salah satu jenis kelinci kali ya? Jadi inget turpial, twitter client yang kalo di cari artinya itu salah satu jenis burung.
Continue reading

Install or Upgrade to Firefox 3.6.6 in Ubuntu Using PPA

Firefox 3.6.6
Firefox 3.6.6 is ready to download.

What’s New in Firefox 3.6.6
Firefox 3.6.6 modifies the crash protection feature to increase the amount of time that plugins are allowed to be non-responsive before being terminated.

Please see the complete list of changes in this version. You may also be interested in the Firefox 3.6.4 release notes for a list of changes in the previous version.

If you using Ubuntu you can Install or Update it via PPA.

  • Open Terminal(Applications – Accessories – Terminal) and copy-paste the following line into Terminal.
    sudo add-apt-repository ppa:ubuntu-mozilla-security/ppa
    
  • Done. Now update repositories and upgrade your native Firefox 3.6 to its latest version, Firefox 3.6.6.

    sudo apt-get update && sudo apt-get upgrade
  • Done

Source : http://www.techdrivein.com/2010/06/install-or-upgrade-to-firefox-366-in.html

Enable Fn Keys On Your Asus EeePC and Ubuntu 10.04 Lucid Lynx


It’s both nice and bad when I upgrade to a newer Ubuntu version. The good part is I have lots of posts material for the blog but the bad part is there’s always something on my main computer or netbook which doesn’t work out of the box and needs tweaking.

I really didn’t expect the Fn keys to work out of the box on my Asus EeePC 1005HA (so this method has only been tested for this Asus EeePC model, I don’t know if it works on others) and unfortunately I was right. However, the fix is very quick. Here’s what you have to do.
Continue reading