Fedora Core 6のVMwareでのvmware-toolsインストール手順


Fedora Core 6のVMwareでのvmware-toolsインストール手順(転載)


ここ数日、仮想マシンにFedora Core 6をインストールし、インストールしたVMware Toolは成功し、ネット上のいくつかの文章を参考にして、自分の実践経験を結びつけました.以下は具体的な実現過程を記録して、参考にします!
 
1,GCC開発ツールのインストール
# Install software called by by VMware Tools yum install gcc
 
2、カーネルファイルのインストール
# Install kernel header files yum install kernel-devel
 
3.カーネルファイルのバージョンが一致しているかどうかを確認し、一致しない場合はアップグレードする必要があります.
#Check it matches the running kernel uname-r#running kernel rpm-q kernel-devel#installed kernel headers 4,3が一致しない場合はカーネルファイルをアップグレードする必要があり、アップグレードが完了したら、システム#It the two versions do not match,run yum-y upgrade kernel kernel-devel#then reboot(but only if they did not match).
 
5,カーネルファイルの場所を探して、VMware-toolツールをインストールする時必要です(私がインストールする時、自動的に探し当てて、手作業で指定する必要はありません)
# Find out where the kernel headers are ls -d/usr/src/kernels/$(uname -r)*/include # You may need this later.
7、仮想マシンツールインストールパッケージ、すなわちVMware-toolインストールパッケージをダウンロードし、解凍(具体的には仮想マシンツールバーで「VM」->「Install VMware Tools」をクリックすると、インストールパッケージが表示され、*.gzのファイルを選択し、1つのディレクトリの下に解凍すればよい)以下は命令ラインでの具体的な実装方法であり、私はグラフィックインタフェースで実現した#If you already have VMwareTools-5.5.2-29772である.tar.gz
 on disk, SKIP THIS STEP! # Download VMware-workstation-5.5.2-29772.tar.gz from vmware.com # Extract the VMware Tools iso from it tar --strip-components=3 -zxvf VMware-workstation-5.5.2-29772.tar.gz/ vmware-distrib/lib/isoimages/linux.iso # Create a temporary mount point mkdir/mnt/vmtools-temp # Mount the image mount -o loop linux.iso/mnt/vmtools-temp # Copy VMware Tools from the mount cp/mnt/vmtools-temp/VMwareTools-5.5.2-29772.tar.gz/tmp/# Unmount the image and tidy up umount/mnt/vmtools-temp rmdir/mnt/vmtools-temp rm linux.iso
# Unpack VMware Tools to a temporary directory
cd/tmp/
tar zxvf VMwareTools-5.5.2-29772.tar.gz
8.解凍目標目録に入り、以下のコードを実行して、車に戻って押す
cd/tmp/vmware-tools-distrib/./vmware-install.pl # Do you want to run vmware-config-tools.pl? yes
 
9、プロファイルを修正する、このステップはグラフィックインタフェースの下で行うこともでき、/etc/X 11/xorgを開く.confは、以下の説明に従って、応答のフィールドを追加し、保存してからシステムを再起動します.
# Fix xorg config # If when you (re)start X, you get the error "Undefined Monitor "vmware"..": vi/etc/X11/xorg.conf# Add the lines Section "Monitor"        Identifier   "vmware"EndSection # To add better mouse support, add the lines Section "InputDevice" Identifier "Mouse0" Driver "vmmouse" Option "Protocol""Auto" Option "Device""/dev/input/mouse0"EndSection # then find the "ServerLayout"section, and in that section, add the line  InputDevice "Mouse0""CorePointer"
 
# TODO fix vmhgfs compile (currently broken) # TODO fix fast ethernet driver compile (currently broken) # TODO copy and paste broken
         ,               。      ,      !

これでvmware toolsのインストールはすべて完了しました. 
PS:GUEST OSとHOST OSの間で簡単に貼り付けコピーをするには、まずvmware-toolboxを起動し、起動スクリプトに追加するのが一苦労です!