Monday, November 24, 2008

Installation 2/6 - Ubuntu installation

Ubuntu Installation
Let's install Ubuntu server edition as OS. Please make new Linux virtual machine using VMware workstation. After making it, you can install the Ubuntu server edtion just by starting the virtual machine.


Change to root account

Basically, Ubuntu doesn't allow to create root account. In stead of that, you can change to root accout after you logged in. In this document, we will install all software using root account since Oracle 10g Express would work properly only if it was installed using root account. Just type the below command.

sudo su -

It will ask your log-in password. After input correct password, the system account will be changed to root account. The meaning of sudo is that running the command as if the current user is root.


Package Update
Very first installation of Ubuntu server just set up the only required packages, which requires addtional installation of other packages required for specific work. You can install this packages through internet. Basically, Ubuntu server has basic information of the possible packages and you can update the information through internet. Rather than downloading seperate files, installing through package information is much more convenient and best way of finding correct version. To update the package information just input the below command.

apt-get update

If you don't change to the root account, the above command will show error related with the priviledge.


Vim Installation
The default vim editor in Ubuntu is not advanced version but basic. Therefore, you need to install the advanced version first. Once you update the package information, just input the below command.

apt-get install vim vim-essenctial vim-common


build-essential and libaio-dev package installation
To install the debian type installer file, you need to install the glib and libaio packages. Each package can be installed with the below commands.

apt-get install build-essential
apt-get install libaio-dev

If you finish the above steps, you can install Oracle 10g Express of which installation step is described in the next section.

No comments: