�C���X�g�[�������@VMware�� |
Windows OS��ɁA�����ł���VMware Player���C���X�g�[�����A���̏��CentOS 5.x�������̍\�z�����ł��B
�@2009.3.1���݂�VMware Player�ŐV�o�[�W�����́A2.5.1�ł��B���AVMware Tools���Y�t����Ȃ��Ȃ��Ă��܂����̂ŁA��O�̃o�[�W�����n��ł���A2.0.5���C���X�g�[�����܂��B
2009.11.23���݁AVMware Player 3.0���ŐV�o�[�W�����ł��B�ȉ��̋@�\���t������A�����Ɛ��Ȃ��Ȃ�܂����B���ꂩ��VMware player���g���Ȃ�A3.0�n�𐄏����܂��B
- VMware Tools���l�b�g���[�N�C���X�g�[���i�_�E�����[�h���j
- �[������OS���C���X�g�[������@�\
- �n�[�h�f�B�X�N�̗e�ʑ���
- CPU����4�܂őΉ�
VMware Player�́A���炩���ߗp�ӂ��ꂽ���z�}�V���������s����@�\�݂̂Ȃ̂ŁA�[������OS���C���X�g�[������ɂ͂�����Ƃ�����ԂƊO���c�[�����K�v�ɂȂ�܂��B�����ŁA�����Ō��J����Ă���CentOS 5.2�̉��z�}�V�����̃t�@�C������肵�āA������x�[�X�Ɋ�������Ă������Ƃɂ��܂��B
�@CentOS 5.2�̃C���X�g�[�����f�B�A����C���X�g�[��������@������܂����A�����ł�CentOS 5.2��VMware�p�C���[�W�t�@�C�����Ō��J���Ă���SymbioSoft�Ђ̃T�C�g�i�ȉ�URL�j����Œ���̃C���X�g�[���ς݃C���[�W�t�@�C���iCentOS5MinimalVirtualAppliance-1.3.7z�j���g�p���܂��B
��LURL����A"Virtual Appliances"�̃����N��H��A"CentOS 5.2 Minimal Virtual Appliance 1.3"�̃����N��H��܂��B�����āA�ȉ��̃t�@�C�����_�E�����[�h���܂��B
�_�E�����[�h��A��L�t�@�C����7zip�c�[���i���{��ŃC���X�g�[���u�����j���g���ēW�J����ƁA�ȉ��t�@�C������������܂��B
CentOSMinimalVirtualAppliance-1.3.vmx CentOSMinimalVirtualAppliance-1.3.vmdk CentOSMinimalVirtualAppliance-1.3-f001.vmdk : CentOSMinimalVirtualAppliance-1.3-f006.vmdk
vmdk�t�@�C���i�e�L�X�g�j������ƁA�f�B�X�N�ݒ肪������܂��B���̏ꍇ�́A2GB�̃f�B�X�N��5�{�if001�`f005)�ɂȂ��Ă��܂��B
# Extent description RW 4193792 FLAT "CentOSMinimalVirtualAppliance-1.3-f001.vmdk" 0 RW 4193792 FLAT "CentOSMinimalVirtualAppliance-1.3-f002.vmdk" 0 RW 4193792 FLAT "CentOSMinimalVirtualAppliance-1.3-f003.vmdk" 0 RW 4193792 FLAT "CentOSMinimalVirtualAppliance-1.3-f004.vmdk" 0 RW 4193792 FLAT "CentOSMinimalVirtualAppliance-1.3-f005.vmdk" 0 RW 2560 FLAT "CentOSMinimalVirtualAppliance-1.3-f006.vmdk" 0
RW�̎��̐��l�́A512�o�C�g�P�ʂł��B
# The Disk Data Base #DDB ddb.encoding = "windows-1252" ddb.toolsVersion = "7240" ddb.adapterType = "lsilogic" ddb.geometry.sectors = "63" ddb.geometry.heads = "255" ddb.geometry.cylinders = "1305" ddb.virtualHWVersion = "4"
SCSI�f�B�X�N�Ƃ��ĔF�����ASCSI�h���C�o��LSI Logic�����ł��B
�W�J�������ɂ���ȉ��̃t�@�C�����_�u���N���b�N����ƁAVMware player���N�����܂��B�Ȍ�A���̃t�@�C���̃V���[�g�J�b�g���f�X�N�g�b�v��X�^�[�g���j���[���ɍ쐬����ƕ֗��ł��傤�B
VMware Player���N�����ALinux�������オ��ƁA�R���\�[�����O�C���҂��ƂȂ�܂��B�R���\�[���ɂ́A���̉��z�}�V����IP�A�h���X�Aroot�̃p�X���[�h���\������Ă��܂��B�܂���root�ŁA�\�����ꂽ�p�X���[�h��p���ă��O�C�����܂��B
���̏�ԂŁA�t�@�C���̃p�[�e�B�V�����\���͈ȉ��̂Ƃ���ł��B
Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup00-LogVol00 9014656 1040104 7509248 13% / /dev/sda1 101086 11705 84162 13% /boot tmpfs 257764 0 257764 0% /dev/shm
�J�[�l���́A2.6.18-53.1.4.el5vm �Ƃ���VMware�p�o�[�W�����ƂȂ��Ă��܂��B�N���b�N�e�B�b�N��100Hz�ƂȂ��Ă���AVMware�p�ɍœK������Ă��܂��B��������512MB���蓖�Ă��Ă���ACPU��1�ƂȂ��Ă��܂��B
VMware���N������ݒ�t�@�C��CentOSMinimalVirtualAppliance-1.3.vmx�̋L�q���J�X�^�}�C�Y���܂��BVMware���N������}�V���ɂ���Ēl�����܂��B
memsize = "1024" �@VMware���g�p���郁�����iMB) numvcpus = "2" �@ VMware���g�p����CPU�� mainMem.useNamedFile = "FALSE" �@VMware�Ǝ��̉��z�������t�@�C���i*.vmem�j���g��Ȃ�
VMware Player (Workstation)�ł́ACPU���͂P��2���̂ǂ��炩�����I���ł��܂���B
�f�t�H���g�ł́A�p��z��L�[�{�[�h�̐ݒ�ɂȂ��Ă���̂ŁAJIS�z��L�[�{�[�h���g�p���Ă���ƋL���̈ʒu������ĂƂ܂ǂ��܂��B�����ŁAJIS�z��L�[�{�[�h���g�p���Ă���ꍇ�A�ݒ��ύX���܂��B
/etc/sysconfig/keyboard �t�@�C�����C�����܂��B
KEYBOARDTYPE="pc" KEYTABLE="jp106" �� �f�t�H���g��"us"��"jp106"�ɕύX����
/etc/yum.repo.d/�f�B���N�g���ɁA�f�t�H���g�ł�CentOS-Base.repo�ACentOS-Media.repo�AVMware.repo��3�̃t�@�C��������܂��BCentOS�W�͂��ꂩ���ʂ̃p�b�P�[�W���_�E�����[�h���邱�ƂɂȂ�܂��BCentOS-Base.repo�̒��̃T�[�o�[���Ŋ��̉����̂悢�ꏊ�ɕύX���Ă����܂��B
�f�t�H���g�ł�mirrorlist���玩����������̂ł����A�x���T�[�o�[�ɂ����邱�Ƃ������Ă����G���[�ƂȂ�܂��B���{��������riken��ݒ肷��L�q���悭�������܂����A�g�p���Ă���v���o�C�_�[�ɂ���ĈقȂ�̂ŁAtracert�R�}���h�iWindows�j�ȂǂŒ��ׂ�Ƃ悢�ł��傤�B
[base] name=CentOS-$releasever - Base baseurl=http://ftp.riken.jp/Linux/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=http://ftp.riken.jp/Linux/centos/RPM-GPG-KEY-CentOS-5
[base]�ȊO���A���l��mirrorlist����Ŋ��̃T�[�o�[�ɕύX���Ă����Ƃ悢�ł��傤�B
�f�t�H���g�ŃC���X�g�[������Ă���J�[�l���́Akernel-vm-2.6.18-53.1.4.el5�ł��B����AVMware�̃��|�W�g���ɂ͐V�����J�[�l�������݂��Ă��܂��B
2009/3/7���݁A�ȉ����ŐV�J�[�l���p�b�P�[�W�ł��B
kernel-2.6.18-92.1.22.el5.centos.plus.VMware.i686.rpm kernel-devel-2.6.18-92.1.22.el5.centos.plus.VMware.i686.rpm kernel-headers-2.6.18-92.1.22.el5.centos.plus.VMware.i686.rpm
���̂���kernel-headers�����͂Ȃ����f�t�H���g�ŃC���X�g�[���ς݂Ȃ̂ŁAkernel��kernel-devel���C���X�g�[�����邱�Ƃɂ��܂��B
# yum install --disablerepo=* --enablerepo=vmware kernel :�i�����j ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: kernel i686 2.6.18-92.1.22.el5.centos.plus.VMware vmware 16 M :�i�����j # yum install kernel-devel :
�ċN�����āA�J�[�l���̃o�[�W�������m�F���܂��B
# uname -r 2.6.18-92-1.22.el5.centos.plus.VMware #
Minimal Virtual Appliance�͍ŏ����̃p�b�P�[�W�����C���X�g�[������Ă��܂���B�����ŁA�lj��p�b�P�[�W���C���X�g�[�����܂��B�����ł́AGNOME Desktop���N�����ꎮ�c�[���ނ���������܂��̓C���X�g�[�����܂��B���S�p�b�P�[�W�ɂȂ�̂ŁAyum��groupinstall�R�}���h�ŃC���X�g�[�����܂��B
# yum groupinstall "System Tools" :�i�����j Transaction Summary ============================================================================= Install 80 Package(s) Update 1 Package(s) Remove 0 Package(s) Total download size: 43 M Is this ok [y/N]:y :�i�����j # yum groupinstall "Development Tools" :�i�����j Transaction Summary ============================================================================= Install 81 Package(s) Update 11 Package(s) Remove 0 Package(s) Total download size: 70 M Is this ok [y/N]:y :�i�����j # yum groupinstall "X Window System" :�i�����j Transaction Summary ============================================================================= Install 140 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 72 M Is this ok [y/N]: y :�i�����j #
GNOME Desktop Environment������ۂ�CentOS�̖�肪���邽�߁A��ɉ��������s���܂��B
# rpm -Uvh --nodeps http://ftp.riken.jp/Linux/centos/5/os/i386/CentOS/nautilus-sendto-0.7-5.fc6.i386.rpm : # yum groupinstall "GNOME Desktop Environment" :�i�����j Transaction Summary ============================================================================= Install 114 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 152 M Is this ok [y/N]:y :�i�����j #
�����ōċN�����܂��B���ɋN������ƁA���O�C���O��"Setup Agent"��CUI��ʂɌ���܂��B�F�ؕ��@�A�T�[�r�X�A�l�b�g���[�N�Ȃǂ̊e��ݒ肪�ł��܂��B���炭�����Ă����ƁA���O�C����ʂ�����܂��B
���z�}�V����̃z�X�gOS��VMware Tools���C���X�g�[�����邱�Ƃɂ��A�z�X�gOS�ƃQ�X�gOS��̃}�E�X�|�C���^�̃X���[�Y�Ȉړ��⎞���̓����A�t�@�C�����L�A�`�摬�x����Ȃǂ̋@�\������܂��B
VMware 2.0.5�̏ꍇ�AVMware���C���X�g�[�������f�B���N�g�����ɁALinux�p��VMwareTools�����߂�ISO�C���[�W�t�@�C��������܂��B
�ȉ��́AWindows Vista (64bit)���D:�h���C�u��VMware Player���C���X�g�[�������ꍇ�̗�ł��B
D:\Program Files (x86)\VMware\VMware Player\linux.iso
������ACD�h���C�u�Ƃ��ăz�X�gOS��Linux�Ƀ}�E���g���ăC���X�g�[�����܂��B
VMware���N������ݒ�t�@�C��CentOSMinimalVirtualAppliance-1.3.vmx�̋L�q���J�X�^�}�C�Y���܂��B
ide1:0.fileName = "D:\Program Files (x86)\VMware\VMware Player\linux.iso"
�f�t�H���g�ŁAIDE�o�X1�ɁACD-ROM�C���[�W��ڑ�����ݒ肪vmx�t�@�C���ɂ������̂ŁA
ide1:0.fileName = "cdrom.iso" : ide1:0.present = "FALSE" ide1:0.deviceType = "cdrom-image" ide1:0.autodetect = "FALSE" ide1:0.startConnected = "FALSE"
CD-ROM�C���[�W�t�@�C�������w�肷��ide1:0.fileName�̐ݒ�ƁAIDE1:0��L���ɂ���ݒ���ȉ��̋L�q�ɏC�����܂��B
ide1:0.fileName = "D:\Program Files (x86)\VMware\VMware Player\linux.iso" ide1:0.present = "TRUE"
VMware���N�����AVMware���̂̃E�B���h�E�^�C�g����ɂ���f�o�C�X�̃��X�g��CD-ROM�iIDE 1:0�j���N���b�N���I����Ԃɂ��܂��B
Linux�Ƀ��O�C�����A
[root@localhost ~]# mount /dev/cdrom /mnt/cdrom mount: block device /dev/cdrom is write-protected, mounting read-only [root@localhost ~]# df :�i�����j /dev/hdc 104672 104672 0 100% /mnt/cdrom [root@localhost ~]# ls /mnt/cdrom VMwareTools-6.0.4-93057.i386.rpm VMwareTools-6.0.4-93057.tar.gz crpm -ivh /mnt/cdrom/VMwareTools-6.0.4-93057.i386.rpm Preparing... ########################################### [100%] 1:VMwareTools ########################################### [100%] [root@localhost ~]#
�ċN�����܂��B�i�O�̂��߁j
�C���X�g�[����ŏ���1����s���܂��B�������AVMware Tools�́A�J�[�l���Ɉˑ�����̂ŁA�J�[�l�����X�V�����ꍇ�A�ēx���s���܂��B
# vmware-config-tools.pl Stopping VMware Tools services in the virtual machine: Guest operating system daemon: [ OK ] Trying to find a suitable vmmemctl module for your running kernel. None of the pre-built vmmemctl modules for VMware Tools is suitable for your running kernel. Do you want this program to try to build the vmmemctl module for your system (you need to have a C compiler installed on your system)? [yes] Using compiler "/usr/bin/gcc". Use Environment variable CC to override. What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.6.18-92.1.22.el5.centos.plus.VMware/build/include] :�i�����j None of the pre-built vmhgfs modules for VMware Tools is suitable for your running kernel. Do you want this program to try to build the vmhgfs module for your system (you need to have a C compiler installed on your system)? [yes] :�i�����j None of the pre-built vmxnet modules for VMware Tools is suitable for your running kernel. Do you want this program to try to build the vmxnet module for your system (you need to have a C compiler installed on your system)? [yes] :�i�����j None of the pre-built vmblock modules for VMware Tools is suitable for your running kernel. Do you want this program to try to build the vmblock module for your system (you need to have a C compiler installed on your system)? [yes] :�i�����j [EXPERIMENTAL] The Virtual Machine Communication Interface (VMCI) service provides a new communication capability with the Host, primarily for development at the momemnt. Would you like to enable this feature? [no] Detected X.org version 7.1. Please choose one of the following display size that X will start with (1 - 15): [1] "640x480" [2] "800x600" [3] "1024x768" [4] "1152x864" [5] "1280x800" [6] "1152x900" [7] "1280x1024" [8] "1376x1032" [9]< "1400x900" [10] "1400x1050" [11] "1440x900" [12] "1680x1050" [13] "1600x1200" [14] "1920x1200" [15] "2364x1773" Please enter a number between 1 and 15: [9] 3 :�i�����j The configuration of VMware Tools 6.0.4 build-93057 for Linux for this running kernel completed successfully. :�i�����j #
�ċN�����܂��B
vmhgfs�́A���Ȃǂɂ���Ďg���Ȃ����Ƃ�����܂��B
���[�U�Ǘ��́A�uCentOS 5�C���X�g�[�������v�y�[�W�����[�U�[�A�J�E���g�ݒ����Q��
���O�C����Astartx�R�}���h��GNOME�f�X�N�g�b�v���N�����܂��B�f�t�H���g�ł͉p��Ȃ̂ŁA���{��ŋN�����邽�߂̒lj��p�b�P�[�W�̃C���X�g�[���Ɛݒ���s���܂��B
���{��t�H���g�i�Œ�t�H���g�e��ATrueType�̂����Ȃ݁j���C���X�g�[�����܂��B
# yum install fonts-japanese
���{����̓��\�b�h SCIM�{Anthy���C���X�g�[�����܂��B
# yum install scim-anthy
�V�X�e���̌���ݒ����{��ɂ��܂��BCUI�̉�ʂ��o��̂ŁA[Japanese]��I�����܂��B
# system-config-language �@�@�F
�ċN������X���N�����܂��B
$ startx
10GB�ł́A�e�ʂ��s������̂ŁA�lj��̃f�B�X�N��ݒ肵�܂��BVMware�p�̃f�B�X�N�C���[�W�t�@�C��������c�[���͖�����VMware Player�ɂ͂Ȃ��̂ŁA�ʓr�t���[�̃c�[���𗘗p���܂��B
�{�L���ł́ANHC�c�[���������ăf�B�X�N�C���[�W�t�@�C�����쐬���܂��B
��LNHC�̃����N����A2009�N3��1�����݂̍ŐV�łł���ANHC0A31A.LZH ���_�E�����[�h���܂��B
LHA���k�`�����𓀂ł���c�[���œW�J���܂��B����ƁA����NHC.exe�������Ă���̂ŁA��������s���܂��B�iGUI�v���O�����j
NHC�c�[�������s���iWindows Vista�̏ꍇ�A�E�N���b�N���ă|�b�v�A�b�v���j���[��[�Ǘ��҂Ƃ��Ď��s]�Łj�A�ȉ��菇�����s���܂��B
AdditionalSCSI-1.vmdk
�Ƃ����t�@�C���������Ƃ��܂��B
�u���b�N�^�C�v���t���b�g�̏ꍇ�A�ŏ�����e�ʕ��̃t�@�C���T�C�Y���m�ۂ���A�m�[�}�����ƍŏ��͏��e�ʂ����m�ۂ���܂��B
��e�ʂ̃f�B�X�N���쐬����ꍇ�A�u���b�N�^�C�v���m�[�}�����Ə��X�Ƀt�@�C���T�C�Y�������邽�߁A�z�X�gOS��Ńt���O�����g����������\��������܂��B���T�C�Y�ŕ������邩�iNHC�́uVMware VMDK�`���ւ̕ϊ��v��ʂ�[�����Z�N�^��]�ɃT�C�Y����́j�A�u���b�N�^�C�v���t���b�g�ɂ���Ƃ悢�Ǝv���܂��B
VMware�̉��z�}�V���ݒ�t�@�C���ɁA�쐬�����f�B�X�N�C���[�W�t�@�C����SCSI�f�B�X�N�Ƃ��Đڑ�����ݒ���L�q���܂��B
CentOSMinimalVirtualAppliance-1.3.vmx�ɂ́A�����ݒ�ňȉ���SCSI�ڑ����L�q����Ă��܂��B
scsi0:0.fileName = "CentOSMinimalVirtualAppliance-1.3.vmdk" scsi0.present = "TRUE" scsi0.virtualdev = "lsilogic" scsi0:0.present = "TRUE" scsi0:0.deviceType = "disk" scsi0:0.mode = "independent-persistent" scsi0:0.redo = "" scsi0:0.writeThrough = "TRUE" scsi0:0.startConnected = "FALSE"
�����ɁA�ȉ���NjL���܂��B��{��scsi0:0�Ɠ����ŁAfileName�����ς������e�ł��B
scsi0:1.fileName = "AdditionalSCSI-1.vmdk" scsi0:1.present = "TRUE" scsi0:1.deviceType = "disk" scsi0:1.mode = "independent-persistent" scsi0:1.redo = "" scsi0:1.writeThrough = "TRUE" scsi0:1.startConnected = "FALSE"
�ݒ�t�@�C���L�q��A���z�}�V�����N�����܂��BSCSI��2�Ԗڂ̃f�B�X�N�ɂȂ�̂ŁA/dev/sdb �ň����܂��B
�N����Afdisk�R�}���h�ŐV���ɐڑ�����SCSI�f�B�X�N�Ƀp�[�e�B�V�������쐬���܂��B
VMware�̉��z�}�V���ݒ�t�@�C���i*.vmx�j�Ɉȉ���NjL���܂��B
mks.noBeep = "TRUE"