操作系统:centos7
新建虚拟机,centos最小化安装,并且进行虚拟机复制,初始化mac地址。
virtualbox——管理——全局设定——网络——添加host-only
为各个虚拟机进行网络设置,网卡一提供外部网络连接,网卡二提供虚拟机集群局域网连接
启动虚拟机网卡
内网ip:192.168.56.101
操作系统:centos7
新建虚拟机,centos最小化安装,并且进行虚拟机复制,初始化mac地址。
virtualbox——管理——全局设定——网络——添加host-only
为各个虚拟机进行网络设置,网卡一提供外部网络连接,网卡二提供虚拟机集群局域网连接
启动虚拟机网卡
内网ip:192.168.56.101
平时用virtualbox安装linux虚拟机都是用完就删,今天想安装个长久的linux做工具系统,在安装增强功能包的时候出现以下错误:
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
这是报kernel header错误,解决方法如下:
apt-get install dkms build-essential linux-heade...