Sunday, February 21, 2010

Install CentOS on Virtualbox


Install Virtualbox guest additions
log in as root and type in terminal

CODE: SELECT ALL EXPAND VIEW
yum install gcc -y


CODE: SELECT ALL EXPAND VIEW
yum install kernel sources -y

CODE: SELECT ALL EXPAND VIEW
yum install kernel-devel -y


restart the system

now go to the VBox Addition directory in your /media directory and type:

CODE: SELECT ALL EXPAND VIEW
sh VBoxLinuxAdditions.run


restart the system again

Edit xorg.conf

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
EndSection

No comments:

Post a Comment