标签:配置 additions sys addition run headers 文件夹 解决 neu
1. 先解决网络问题
参考这篇:https://www.jianshu.com/p/e6ba699b5992
DEVICE=eth0
HWADDR=08:00:27:6D:2A:D0
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=dhcp
打开虚拟机,vi /etc/sysconfig/network-scrips/ifcfg-enp0s8, 内容如下:
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=enp0s3
UUID=9221f2fd-d20c-4655-8500-f34b5e6fb225
DEVICE=enp0s3
ONBOOT=no
https://www.jianshu.com/p/e6ba699b5992yum install -y gcc perl kernel-headers kernel-devel
mount -t auto -o loop /root/VBoxGuestAdditions.iso /mnt
cd /mnt
./VBoxLinuxAdditions.run --nox11
比如我打算共享的目录是c:\work\c,共享名叫c,最后挂载到/media下是: /media/sf_c.
https://www.jianshu.com/p/e6ba699b5992yum install -y gcc perl kernel-headers kernel-develmount -t auto -o loop /root/VBoxGuestAdditions.iso /mntcd /mnt./VBoxLinuxAdditions.run --nox11
nat下没法ping通virutalbox中的centos7,解决共享文件夹问题
标签:配置 additions sys addition run headers 文件夹 解决 neu
原文地址:https://www.cnblogs.com/tangxiaosheng/p/11942967.html