CentOSにGuest Additions を入れる2014年05月04日

Windows上のVirtualBoxにCentOSを入れようとしているのですが、
Guest Additions をCentOSにはいろいろしないと入らない。

参考URL)
http://www.if-not-true-then-false.com/2010/install-virtualbox-guest-additions-on-fedora-centos-red-hat-rhel/

1)rootで実施。
mkdir /media/VirtualBoxGuestAdditions
mount -r /dev/cdrom /media/VirtualBoxGuestAdditions

2)kernelをupdate
yum update kernel*
reboot

3)EPEL,gccを入れる
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
yum install gcc kernel-devel kernel-headers dkms make bzip2 perl

4)KERN_DIRをセット
KERN_DIR=/usr/src/kernels/`uname -r`
export KERN_DIR

5)いよいよguestAdditionを実施。
cd /media/VirtualBoxGuestAdditions
./VBoxLinuxAdditions.run

だけど、マウスカーソルの同期はできたけど、
ディスプレイは認識されない。解像度も大きくならなかった。

CentOS6.5 minimumにGUIインストール2014年05月05日

CentOSをminimumでインストール。
サイズも300Mくらいだし、インストールもすぐおわる。
起動も早い気がする。

その後、手動GUIインストールを実施。

yum grouplist でグループインストールの一覧を表示
yum groupinstall "X Window System"
yum groupinstall "General Purpose Desktop"
yum groupinstall "Desktop"

まとめて入れれる。
yum grouplist "X Window System" "General Purpose Desktop" "Desktop" "Japanese Support"

startxでエラー2014年05月05日

CentOS6.5を入れて、CUIからXwindowsを入れたものの、
再起動したらエラーになってしまった。
こちらを見て、
/etc/X11/xorg.conf
を修正。(Identifierを追加)
同時に、LenovoのTrackpointの設定も追加。

Section "ServerLayout"
Identifier "system-config-keyboard Configured"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

CentOS6.5をminimalインストールから、GUIでGuestAdditionsのインストールに成功2014年05月06日

14:35に開始
ぱぱぱっとVirtualBoxを選び、
・CPU4つ
・ネットワーク2をホストオンリーアダプター
・クリップボード共有
・CDにCENTOSのiso読み込み

205個のパッケージをインストール

14:42再起動

/etc/sysconfig/network-*/ifcf-eth[01]
で両方boot_onをyesにして、
network service restart

14:45
rootでGUI環境追加。
# yum -y groupinstall "X Window System" "Desktop" "General Purpose Desktop" "Japanese Support"
14:53終了

# useradd ユーザー名
# passwd ユーザー名

source /etc/sysconfig/i18n
startx

~/.bashrcに追記。

15:00
/etc/inittabを3から5に変更


ここを参考に、Guest Additionsをインストール
http://blog.livedoor.jp/yoka3/archives/4283395.html

「デバイス」>「Guest AdditionsのCDイメージを挿入」を選択
 # yum -y install gcc kernel-devel perl
 #yum -y install kernel-devel-2.6.32-431.el6.x86_64
kernelのバージョンをあわせるのがみそ?

 #export KERN_DIR=/usr/src/kernels/`uname -r`
 #cd /media/VBOXADDITIONS_4.3.8_92456
 # sh VBoxLinuxAdditions.run

15:10 rebootしたら、無事解像度がMAXになった!

googleサーチヒット件数2014.5.62014年05月06日

googleサーチヒット件数2014.5.6

centos: 7,590,000
redhat: 5,110,000
fedora:15,100,000
debian:15,900,000
ubuntu:54,600,000
puppy : 3,390,000

aws : 36,800,000
amazon web services:313,000,000
digital ocean :334,000,000

aolserver:302,000

tcl:22,900,000(違うものあり)
c programming:407,000,000
cobol : 2,740,000
java :201,000,000

postgresql: 5,900,000
mysql :54,900,000
oracle :62,400,000
mongodb : 3,440,000



play framework:123,000,000
django : 13,400,000
openacs : 584,000


business coaching:259,000,000
ドラゴンクエスト : 8,470,000
dragon quest : 32,000,000
final fantasy :330,000,000
pokemon : 73,300,000
messi : 50,100,000