Browsing all articles in Ubuntu

Pas booting muncul error cannot mount /dev on /root/dev bla bla, kemudian masuk console BusyBox

Googling dan nemu solusi di ubuntuforum (lupa link-nya), mari kita coba

booting pake livecd (untungnya punya livecd)
buka terminal ketikan

$ sudo e2fsck -p -y -f /dev/sda2

sda2 diganti dengan dengan partisi hardisk anda

restart kompi dan alhamdulillah bisa booting lagi.

Ternyata masih ada masalah lagi, lihat network icon, lho kok network function disabled.

masuk terminal

~$ sudo lshw -C network  
  *-network DISABLED      
       description: Ethernet interface
       product: Atheros AR8132 / L1c Gigabit Ethernet Adapter
       vendor: Atheros Communications
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: eth0
       version: c0
       serial: 00:26:2d:70:ad:8f
       capacity: 100MB/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=atl1c driverversion=1.0.0.1-NAPI firmware=N/A latency=0 link=yes multicast=yes port=twisted pair
       resources: irq:16 memory:f0500000-f053ffff ioport:2000(size=128)
  *-network DISABLED
       description: Wireless interface
       product: AR928X Wireless Network Adapter (PCI-Express)
       vendor: Atheros Communications Inc.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlan0
       version: 01
       serial: 00:26:5c:ab:52:c9
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=ath9k latency=0 multicast=yes wireless=IEEE 802.11bgn
       resources: irq:17 memory:f0600000-f060ffff
  *-network DISABLED
       description: Ethernet interface
       physical id: 4
       logical name: vboxnet0
       serial: 0a:00:27:00:00:00
       capabilities: ethernet physical
       configuration: broadcast=yes multicast=yes

lha kok disabled semua? *pusingtujuhkeliling*

Keluarin jurus andalan *Googling*, mecoba solusi berikut

~$ sudo pico /var/lib/NetworkManager/NetworkManager.state

ternyata nilai untuk NetworkingEnabled=false, ganti nilainya jadi true, simpan kemudian jalankan network manager

~$ sudo service network-manager restart

tada… berhasil berhasil berhasil, ah lega bisa connect inet lagi :)

=-=-=-=-=
Powered by Blogilo

I have problem when installing mongo extension for php in ubuntu 10.04, when i run this command

$ sudo pecl install mongo

it’s returning a result like this

 
 
Fatal error: Call to undefined method PEAR::raiseErro() in /usr/share/php/PEAR/REST.php on line 165

after googling i found this solution and it’s work for me

mkdir -p /tmp/pear/cache

Problem:

Thu Mar 31 07:55:27 Error: couldn’t connect to server 127.0.0.1 (anon):1154
exception: connect failed

Solution:

$ sudo rm -rf /var/lib/mongodb/mongod.lock #depend on mongodb config
$ sudo mongod -repair
$ sudo service mongodb start

And the problem is solved

$ mongo
MongoDB shell version: 1.6.5
connecting to: test
>

=-=-=-=-=
Powered by Blogilo

Tambahkan ppa firefox stable

$ sudo add-apt-repository ppa:mozillateam/firefox-stable
$ sudo apt-get update
$ sudo apt-get upgrade

=-=-=-=-=
Powered by Blogilo

MongoDB merupakan salah satu dari beberapa noSQL database. Menurut situs nosql-databases.org definisi nosql adalah sebagai berikut.

NoSQL DEFINITION: Next Generation Databases mostly addressing some of the points: being non-relational, distributed, open-source and horizontal scalable. The original intention has been modern web-scale databases. The movement began early 2009 and is growing rapidly. Often more characteristics apply as: schema-free, easy replication support, simple API, eventually consistent / BASE (not ACID), and more. So the misleading term "nosql" (the community now translates it mostly with "not only sql") should be seen as an alias to something like the definition above.

Terus terang saya sendiri masih bingung tentang noSQL database ini, karena saya juga baru ngerti kalo ada yang namanya noSQL. Setelah googling kesana kemari, akhirnya ada sedikit pencerahan walaupun tetep masih bingung :D . Untuk mengobati rasa penasaran akhirnya saya coba menginstall salah satu noSQL database yaitu MongoDB pada laptop saya yang berOS Ubuntu. Cara Menginstallnya adalah sebagai berikut. Read more »