CentosWorkstation: Difference between revisions

From MDWiki
Jump to navigationJump to search
Line 1: Line 1:
= How to make a Centos Workstation (VM/Real Machine) =
= How to make a Centos Workstation (VM/Real Machine) =


'''Warning''' Do not install the Xen virtualisation package (Xen, VMWare) within the virtual Centos as it crashes when the Xen service starts!
'''Warning''' Do not install the Xen virtualisation package within the virtual Centos as it will crash during boot when running inside the VirtualBox VM!




Line 65: Line 65:
** Reboot
** Reboot


== System configuration ==


 
*  
* Centos 5.3 installation
**


== Software ==
== Software ==


* pymol (Dirty hack). yum install pymol. As the one from sorbonne repository gives the python shared object in 32-bit, we need to rebuild it. This involves running, inside the pymol source, python setup.py build. Then, copying the libpymol.so built to /usr/lib/python2.4/site-packages/pymol/_cmd.so.
* pymol (Dirty hack). yum install pymol. As the one from sorbonne repository gives the python shared object in 32-bit, we need to rebuild it. This involves running, inside the pymol source, python setup.py build. Then, copying the libpymol.so built to /usr/lib/python2.4/site-packages/pymol/_cmd.so.

Revision as of 00:02, 23 April 2009

How to make a Centos Workstation (VM/Real Machine)

Warning Do not install the Xen virtualisation package within the virtual Centos as it will crash during boot when running inside the VirtualBox VM!


Building the VM (Virtual Machine)

  • Inside VirtualBox server, add users to vboxgroup (/etc/group), run VirtualBox, register product, create new virtual machine
    • Centos 5.3 Workstation
    • Linux, Red Hat 64-bit
    • 1.5GB RAM
    • Boot hard disk (Primary master)
      • Create new hard disk
        • Dynamically expanding storage
        • Location: /data/virtualbox/Centos.vdi
        • Size: 40.0 GB
  • Further settings

Installing Centos

  • Start VM
  • Press Enter at Centos installation screen
  • Skip media check
  • Ignore colour mode message
  • Centos Installation screen (GUI)
    • Language: English
    • US English
    • Click OK to erase all data on device hda
      • Hard disk
    • Create custom layout
    • hda 40955MB VBOX HARDDISK
    • Partitioning
      • /boot, ext3, 100MB, Fixed size, Force to be a primary partition
      • /, ext3, 18000MB, Fixed size, Force to be a primary partition
      • /usr, ext3, 18000MB, Fixed size, Force to be a primary partition
      • swap, 2048MB, Fixed size
      • /data, ext3, Fill to maximum allowable size
    • The Grub boot loader will be installed on /dev/hda
      • Default: CentOS /dev/hda3 (/)
    • Network
      • Active on boot, eth0, DHCP, Auto
    • Hostname:
      • Automatically via DHCP
    • Time
      • Australia/Brisbane time
      • System clock uses UTC
    • Root password
      • <standard workstation root password>
    • Installation
      • Desktop - Gnome/Desktop - KDE
      • Centos Extra
        • eth0/DHCP/IPv4 (for downloading packages)
      • Customize later
    • Begin!
    • Wait ~20 minutes
    • Reboot (unmounting ISO)
  • Post Installation Configuration
    • Firewall: Disabled
    • SELinux: Disabled
    • NTP: Enabled, 130.102.2.15, 130.102.128.43, Synchronise system clock, Local time source
    • Create User: Use Network Login: LDAP for both User Information & Authentication:
      • LDAP Search Base DN: dc=md,dc=smms,dc=uq,dc=edu,dc=au
      • LDAP Server: ldap://lychee.md.smms.uq.edu.au/
    • Sound should be OK
    • Reboot

System configuration

Software

  • pymol (Dirty hack). yum install pymol. As the one from sorbonne repository gives the python shared object in 32-bit, we need to rebuild it. This involves running, inside the pymol source, python setup.py build. Then, copying the libpymol.so built to /usr/lib/python2.4/site-packages/pymol/_cmd.so.