Vagrant 填坑

  • Virtualbox Guest Additions Version不匹配问题的解决

# 方法1
# 运行vboxguest-5.1.8 setup -- 未测试

# 方法2
# 重新编译vboxguest -- 未测试

# 方法3
# 使用Centos GUI界面,运行vboxguest -- 未测试

# 方法4 安装插件,命令如下(外国人写的插件 专门解决不匹配问题)
$ vagrant plugin install vagrant-vbguest
  •  资源清单
# CentOS 官方资源
https://cloud.centos.org/centos/7/vagrant/x86_64/images/
  • 基础命令
# vagrant常用命令
$ vagrant init      # 初始化
$ vagrant up        # 启动虚拟机
$ vagrant halt      # 关闭虚拟机
$ vagrant reload    # 重启虚拟机
$ vagrant ssh       # ssh至虚拟机
$ vagrant suspend   # 挂起虚拟机
$ vagrant resume    # 唤醒虚拟机
$ vagrant status    # 查看虚拟机运行状态
$ vagrant destroy   # 销毁当前虚拟机

# box管理命令
$ vagrant box list    # 查看本地box列表
$ vagrant box add     # 添加box到列表
$ vagrant box remove  # 从box列表移除 

 

转载于:https://my.oschina.net/k8king/blog/2876141

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值