vagrant box add ***  #虚拟机box添加
vagrant up #启动虚拟机
exit 退出虚拟机
logout 退出虚拟机
vagrant ssh 连接虚拟机
vagrant reload  --provision重新加载虚拟机配置文件
vagrant halt停止虚拟机
vagrant destroy 删除虚拟机

 配置homestead的几个步骤

1.确保已经安装最新版本virtualbox与vagrant,git

2.vagrant box add laravel/homestead --box-version=9.3.0

3.git clone https://github.com/laravel/homestead.git

4.cd homestead && git checkout v10.6.0

5.bash init.sh

6.更改homestead文件夹下面yaml文件配置

7.vagrant reload --provision

8.vagrant up

相关文章:

  • 2022-12-23
  • 2022-01-04
  • 2021-06-10
  • 2021-10-02
  • 2021-08-28
  • 2022-03-09
  • 2021-07-16
猜你喜欢
  • 2021-12-17
  • 2021-06-25
  • 2021-11-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案