Sunday, July 24, 2011

Ubuntu Server 11.04 Installation (x86-32bit)

Ubuntu Server 11.04 Installation (x86-32bit)
I use three step below.
   1) Download install image
   2) Install in the HDD using VMware.
   3) Initial setup
   1) Download install image
      Ubuntu.com download site
      http://www.ubuntu.com/download/server/download
      ubuntu-11.04-server-i386.iso

   2) Install in the HDD using VMware.
      (Just proceed with default installation.)
      -----------------------------------------
      Mount install image of the ubuntu in you VMware Vartual Machine
      
      Install Ubuntu Server
      Select a language
          Language: English
      Select your location
          Country, territory or area: other
          Continent or region: Asia
          Country, territory or area: Japan
      Configure locales
          Country to base default locale settings on: United States - en_US.UTF-8
      Configure the keyboard
          Detect keyboard layout?: No
          Country of origin for the keyboard: Japan
          Keyboard layout: Japan
      Configure the network
          Hostname: ubuntuserver
      Configure the clock
          Time zoneAsia/Tokyo => Yes
      Partition disks
          Partitioning method : Guided - use entire disk
          Select disk to partition: SCSI3 (0,0,0) (sda) - 8.6 GB VMware Virtual disk
          Write the change to disks?: Yes
      Set up users and passwords
          Full name for the new user: Ubuntu, Server
          Username for your account: <username>
          Choose a password for the new user: ********
          Encrypt your home directory?: No
      Configure the package manager
          HTTP proxy information (blank for none): Blank
      Configuring tasksel
          How do you want to manage upgrades on this system?: No automatic updates
      Software selection
          Choose software to install: Deselect for standalone installaion.
      Configuring grub-pc
          Install the GRUB boot loader to the master boot record?: Yes
      Finish the installation
          Continue => Reboot
      -----------------------------------------

   3) Initial setup
      Change editor#ivim#j
      $ sudo update-alternatives --config editor
      number: 3 (vim.basic)

      Or you can install separate vim editor
      $ sudo apt-get install vim

      Also I like to use zsh so also install zsh.
      $ sudo apt-get install zsh
      Change your default shell
      $ chsh
      Password:********
      Changing the login shell for anverma
      Enter the new value, or press ENTER for the default
              Login Shell [/bin/bash]:/bin/zsh

      Network configuration#iDHCP to Static#j
      $ sudo vi /etc/network/interfaces
      auto eth0
      iface eth0 inet static   ## change from dhcp to static
      address 192.168.xxx.yyy
      netmask 255.255.255.0
      gateway 192.168.xxx.1

      DNS configuration
      $ sudo vi /etc/resolv.conf
      nameserver 192.168.xxx.1

      Reboot network.
      $ sudo /etc/init.d/networking restart
      $ ifconfig

      System update
      $ sudo apt-get update
      $ sudo apt-get upgrade
      $ sudo apt-get dist-upgrade [optional]

No comments:

Post a Comment