0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

共有環境設定

Last updated at Posted at 2018-04-19

最新状態にバージョンアップ

# sudo su -

# yum update

# yum install -y kernel kernel-devel dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers
※完了までに時間がかかります

# yum groupinstall -y "X Window System"

# reboot
※再起動が走ります

VirtualBoxメニュー「デバイス」から、「Guest Addtionsのインストール」を選択

共有PATHフォルダ指定

# sudo su -

# uname -r
【VirtualBox起動時のカーネルバージョン】表示

# export KERN_DIR=/usr/src/kernels/【VirtualBox起動時のカーネルバージョン】
# mount -r /dev/cdrom /mnt/cdrom

# cd /mnt/cdrom

# ./VBoxLinuxAdditions.run
※完了までに時間がかかります

# mount -t vboxsf dev_share /home/sv01/www/html -o uid=sv01,gid=sv01

# echo 'mount -t vboxsf 【共有フォルダ名】 /home/sv01/www/html -o uid=sv01,gid=sv01' >> /etc/rc.local

共有PATHフォルダ確認

# cd /home/sv01/www/html

# ll
0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?