LoginSignup
5
3

More than 5 years have passed since last update.

VMware playerを用いて共有フォルダ設定方法(Windows7⇔Ubuntu16.04)

Last updated at Posted at 2016-11-10

※Windows環境でVMware playerを利用して設置したLinuxと共有フォルダを設定するためには、vmware-toolsとvmware-tools-patchesの最新バージョンが必要。

  • 環境:Windows7, VMware player6.0.7, Ubuntu16.04
  • 前提:VMware playerの中に、既にUbuntuは設置されていること。

1. VMware playerのオプションから共有フォルダを指定

・必ず、仮想マシンはシャットダウンされている状態

  1. フォルダ共有を「常に有効」選択
  2. フォルダを指定 image1.png

2. vmware-tools設置

  1. 仮想マシーンを起動
  2. vmware toolsをインストールする

    ・Player(P) → 管理(M) → WMware toolsの再インストール(T)...

  3. Terminalを開く

  4. 以下のコマンドを実行

    1)$ sudo mkdir /mnt/cdrom
    2)$ sudo mount /dev/cdrom /mnt/cdrom
    3)$ cp /mnt/cdrom/VMwareTools-version.tar.gz /tmp/
    4)$ ls /mnt/cdrom
    5)$ cd /tmp
    6)$ tar -zxvf VMwareTools-version.tar.gz
    7)$ cd vmware-tools-distrib
    8)$ ./vmware-install.pl

3. vmware-tools-patches設置

・ubuntuにgitパッケージが既にインストールされている状況

  • もし、gitパッケージが設置されていないの場合は、以下のコマンドをTerminalに実行
    • $ sudo apt install git
  1. $ git clone https://github.com/rasa/vmware-tools-patches.git
  2. $ cd vmware-tools-paches
  3. $ ./download-tools.sh
  4. $ ./untar-and-patch.sh
  5. $ ./compile.sh

4. Ubuntuを再インストールする。

5. 以下のパスに共有フォルダが設定されることを確認

・/mnt/hgfs/共有フォルダの名

5
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
3