LoginSignup
25
17

More than 5 years have passed since last update.

Virtual Boxでクリップボードを共有する

Last updated at Posted at 2017-02-07

:large_blue_diamond: ホストOS⇔ゲストOS間でクリップボード共有したい

  • Guest Additionsのインストールが必要

:large_blue_diamond: 環境

  • ホスト側 OS : Windows 7 (64-bit)
  • ゲスト側 OS : CentOS7
  • 仮想マシン: Virtual Box

:large_blue_diamond: 下準備

  • gcc、make、kernel-develのインストール
# yum install gcc
# yum install make
# yum install kernel-devel

:large_blue_diamond: インストール

  • VirtualBoxでCentOSを立ち上げて、メニューバー>>デバイス>>Guest Additions CDイメージの挿入
    image

  • ログインするとCDが出現
    image

  • マウント

# mkdir [newdir]
# mount -r /dev/cdrom [newdir]
  • インストール
# sh ./VBoxLinuxAdditions.run install

:large_blue_diamond: 再起動

  • 完了したら再起動

:large_blue_diamond: Virtual Boxの設定

  • 仮想マシン>設定
    image
  • 一般>高度>クリップボードの設定を「双方向」にする
    image

以上。

25
17
1

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
25
17