准备
1.Virtural box
2.sandbox 包
操作
1.安装 Virtural box
2.导入sandbox
配置
1.建立本地对应的项目地址
D:\temp\sandbox
虚拟机已经设置好对应地址
/media/sf_sandbox
对应的设置

端口转发

putty连接

设置本地host

系统超级管理员
账号 haoyh 密码12345678 sudo密码 12345678

创建laravel项目
haoyh@sandbox:~$ cd /media/sf_sandbox/
haoyh@sandbox:/media/sf_sandbox$ composer create-project --prefer-dist laravel/laravel test 5.5.*
完成

访问测试

网友评论