Arsip Tag: Ubuntu

How to Install Ubuntu without partitioning

If you tried Ubuntu, usually we need to prepare a special partition. Making a partition means to allocate some disk space for Linux and spend plenty of time to change the partition. There’s an easier way to use Ubuntu. You can do the installation system directly through Windows. Version of Ubuntu can like this is “Wubi“.

Wubi allows for installing Ubuntu as a dual boot by installing a file in Windows, and then modify the Windows boot loader to add an entry for Ubuntu.
What’s interesting with this technique is the risk to the contents of the hard disk does not exist. Because you can easily remove Ubuntu from dual boot in accordance with your wishes if you no longer use Ubuntu. To try Wubi application, follow the following steps:

  • Log in Windows as a Administrator
  • Insert the Ubuntu Desktop CD
  • When autorun, select the option “Install inside Windows”
  • Make sure the installation location, the following username and password, then click “install”
  • Wait until the process is complete. This process can last for 15 to 30 minutes
  • After the installation process, Windows automatically remove the Ubuntu CD, and you will be prompted to restart again
  • When finished restart, boot up time option, if you want to go into Windows or Ubuntu. You can choose to use Ubuntu Linux-based operating system

How to install Linux Ubuntu (2)

After the disk partitioning process is complete and then clicks Close. For direct installation, you can click the install icon on the desktop and wait for the loading process. Then we will determine the language we use. Then click forward. Here we will show where we are, because by showing where we are, the system Ubuntu will do the time format GMT. Then we determine the type of keyboard that will be used. This view is intended to fill in our identity. Keep in mind when filling out your username, the letter used must be all lowercase and no spaces, the same thing when we fill our computer names. Then click forward.
There are two options erase the disk and manually edit. What is meant by erase the disk is to delete all the contents of the hard disk is quite dangerous, but what if you have data already stored on disk? To protect the data, select manually edit partition. Then click forward. Then we were asked to determine the mount point of the two partitions we have made earlier, make like the picture above. Then click forward. This is a global configuration which we have made to install, click install (if we’ve established with the configuration). In this process of being copied ubuntu system into your computer. The time needed to finish loading depends on the performance of computer you have, as a comparison when I use a Pentium 4 with 512 MB of memory takes about 15 minutes.

How to install Linux Ubuntu (1)

For the record disk used is 10GB (not the partition) 256MB memory, Intel P4 2.4GHz processor and the installation using VMware Workstation.
Before you install Ubuntu, the BIOS must set the Boot Device Priority first, installing Ubuntu in Boot Device Priority should be directed to the CDROM. To enter the BIOS of each motherboard has their own standards. But most stayed pressing delete or F2 key. When first booting press F2 or Del to enter BIOS, you need to press quickly, otherwise the computer will go into the OS on your hard drive. Then save the configuration and then reboot again.

Start installing Select Start or Install, we can run through the Ubuntu Live-CD. In the Live CD we can try Ubuntu without having the ability to install to hard disk, at this moment you can write documents, the internet, like you’ve installed the hard drive. And keep in mind that this is only read only which means that all documents that are stored in the / home is temporary and will disappear if the reboot. We assume you have a new 10 GB hard drive in the partition and not be in install Ubuntu.

The next step we need to partition the hard disk first, click System> Administration> Gnome. Because we will create a new partition then right click on the black area and then click create, then wait if it is right click on the black area again. And do not forget we have to determine how large a partition that is used. Here I have a 10 GB hard drive with the partition that is 2 to 8.7 GB ext3 and the rest for swap. Click Add when you have to configure it. After you click add it will appear in blue on the black area, if there is space remaining then right click again, select new. Then click add, (requires a minimum linux swap and root partition) after that if we want to do the disk partition that has been done earlier then click Apply, and then wait loading process. Continued…..

It’s Stupid, But It Works

I didn’t give up actually but I want to make everyone happy :D

I need to install a Music Player Daemon (MPD) for office server in order to play music while phone operator is transfering a phone call. It’s an Ubuntu server and I spent almost a week to get the MPD works but no result. This errors keep showing.

Nov 25 16:03 : Error opening alsa device “default”: No such file or directory
Nov 25 16:03 : problems opening audio device while playing “Maroon 5 – She Will Be Loved.mp3”

I tried to play music using mplayer and it worked, so there should be no problem with any kind related with sound card driver.

I got pressure to get it worked soon and mplayer can not work on background (anyone?). So, instead of wasting my time and make everyone happy, I did this things.

  1. Login to windows server (remotely)
  2. Login to music server from windows server
  3. Play music continuously using mplayer
  4. Logout from Windows server while keeping my login to music server
  5. Done

Now the music is still playing, I have a lot of time to fix the MPD and everyone is happy.


Can’t Connet To MySQL Server

I just finished to install an Ubuntu Server for office work. It will act as intranet web server and information system database. I used Apache (of course plus PHP) for web server and MySQL as database server.

Installation run well and I could browse MySQL database from phpMyAdmin. I added user who can connect remotely (anyhost) but I didn’t test it. The next day he complained me because he can not connect to MySQL due to an error (Error code: 2003).

If you can not connet to MySQL server as non root users either locally or remotely, it can be solved by editing MySQL configuration file (my.cnf) and comment out the following command:


bind-address =

* comment out means that you need to add # before commands.

Restart MySQL server to make it work.

That’s all.