(1)问题1:"rsync" could not be found on your PATH. Make sure that rsyncis properly ins

vagrant up启动centos7时出现"rsync" could not be found on your PATH. Make sure that rsyncis properly ins

解决方法:

C:\Users\1\.vagrant.d\boxes\docker_centos7_zouke\0\virtualbox\Vagrantfile

更改前

Vagrant.configure("2") do |config|
  config.vm.base_mac = "525400cae48b"
  config.vm.synced_folder ".", "/vagrant", type: "rsync"
end

更改后

Vagrant.configure("2") do |config|
  config.vm.base_mac = "525400cae48b"
  config.vm.synced_folder ".", "/vagrant", type: "virtualbox"
end

 

(2)问题2:

vagrant up启动centos7时出现"rsync" could not be found on your PATH. Make sure that rsyncis properly ins

解决方法:

经过上网查询,原来是没有安装VBoxGuestAdditions,下面来手工安装VitrualBox的这个增强功能:

停止虚拟机

使用命令vagrant halt停止已在运行的虚拟机

启动VirtualBox中的虚拟机

直接在VirtualBox中启动虚拟机,如下所示进行登录:

 vagrant up启动centos7时出现"rsync" could not be found on your PATH. Make sure that rsyncis properly ins

问题3:无法分配存放增强功能包的虚拟光盘到虚拟电脑 docker_centos7_zouke_default_1540862911422_61157, 因为该虚拟电脑没有光驱. 请先到虚拟电脑设置对话框的存储页中添加一个光驱.

 vagrant up启动centos7时出现"rsync" could not be found on your PATH. Make sure that rsyncis properly ins

解决方法:

vagrant up启动centos7时出现"rsync" could not be found on your PATH. Make sure that rsyncis properly ins

vagrant up启动centos7时出现"rsync" could not be found on your PATH. Make sure that rsyncis properly ins

接着会有三个选项,这里选取留空,意思是添加一个没有光盘文件的光驱,然后点击这个没有盘片的光驱,接着点击右侧的光盘符号选择光盘文件即可。

vagrant up启动centos7时出现"rsync" could not be found on your PATH. Make sure that rsyncis properly ins

设置启动顺序:

如果上面的光盘文件是系统盘,那么选取后会自动启动里面的系统的,所以首要点击设置后,点击系统,在启动顺序这里把光驱前面的勾去掉,点击ok,接着启动虚拟机后方可在正常的系统里面使用这个光驱。

vagrant up启动centos7时出现"rsync" could not be found on your PATH. Make sure that rsyncis properly ins

 vagrant up启动centos7时出现"rsync" could not be found on your PATH. Make sure that rsyncis properly ins

vagrant up启动centos7时出现"rsync" could not be found on your PATH. Make sure that rsyncis properly ins

 vagrant up启动centos7时出现"rsync" could not be found on your PATH. Make sure that rsyncis properly ins

http://download.virtualbox.org/virtualbox/5.1.28/

yum install wget
wget http://download.virtualbox.org/virtualbox/5.1.28/VirtualBox-5.1.28-117968-Linux_amd64.run
sh VirtualBox-5.1.28-117968-Linux_amd64.run

vagrant up启动centos7时出现"rsync" could not be found on your PATH. Make sure that rsyncis properly ins

vagrant up启动centos7时出现"rsync" could not be found on your PATH. Make sure that rsyncis properly ins

vagrant up启动centos7时出现"rsync" could not be found on your PATH. Make sure that rsyncis properly ins

vagrant up启动centos7时出现"rsync" could not be found on your PATH. Make sure that rsyncis properly ins

 

参考文档:

vagrant+centos7 安装报错

VBox安装增强功能报错

相关文章:

  • 2021-06-04
  • 2022-12-23
  • 2022-12-23
  • 2021-09-26
  • 2022-12-23
  • 2022-02-15
  • 2021-05-21
  • 2021-12-11
猜你喜欢
  • 2021-11-27
  • 2021-10-15
  • 2022-12-23
  • 2021-07-22
  • 2022-12-23
  • 2021-09-18
相关资源
相似解决方案