1
2
3
|
MacOS 10.9.3
Windows,Linux,大同小异
|
1
2
|
关于 Vagrant 的介绍自行百度,简单的来讲就是用命令行和配置文件控制一台虚拟机,方便开发环境部署和复制
|
1
2
3
4
5
6
7
8
9
10
11
12
|
Ubuntu 14.04
PHP 5.5
Nginx
MySQL
Postgres
Node (With Bower, Grunt, and Gulp)
Redis
Memcached
Beanstalkd
Laravel Envoy
Fabric + HipChat Extension
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
ip: "192.168.10.10"
memory: 2048
cpus: 1
authorize: /Users/me/.ssh/id_rsa.pub
keys:
- /Users/me/.ssh/id_rsa
folders:
- map: /Users/me/Code
to: /home/vagrant/Code
sites:
- map: homestead.app
to: /home/vagrant/Code/Laravel/public
|
1
2
3
4
5
|
SSH: 2222 -> Forwards To 22
HTTP: 8000 -> Forwards To 80
MySQL: 33060 -> Forwards To 3306
Postgres: 54320 -> Forwards To 5432
|