https://docs.google.com/presentation/d/1LVL8atZW6JOQhjkdxsJ5whc6JVNZOpKKiOD_0_PRdDw/edit?usp=sharing
If you interesting about Magento2 Vagrant environment you can find it here
Simple-Magento-Vagrant -- ultra light Vagrant development environment for running Magento CMS, based on Ubuntu Precise 64. I create this repo for my self as easyest way install Magento and share with you.
After installation you will get clean Magento 1.9.2.3 with sample data 1.9.1.0.
- Ubuntu 14.04 + Apache2 + Php5 + MySQL 5.5.x
- Magento 1.9.2.3 with sample data 1.9.1.0
Folders structure:
$ tree -L 2
.
├── README.md
├── magento
└── vagrant
├── httpdocs
├── Vagrantfile
└── bootstrap.sh
VirtualBox settings:
Memory adn CPU cores by default: 1 core, 2048MB Network host-guest configuration:
config.vm.network :forwarded_port, guest: 80, host: 8999
config.vm.network :forwarded_port, guest: 22, host: 2299
DB name: magento
DB user name: magento
DB user password: password
Server name: magento.dev
It will be work out of box but you can edit configuration if you need.
-
Open Vagrantfile and use find/replace tool to change
"magento"
==>"my-personal-magento-site-name"
or what you need -
Open bootstrap.sh and use find/replace tool to change
"magento"
==>"my-personal-magento-site-name"
or what you need
Open Vagrant file and find node.vm.network :private_network, ip: '192.168.99.99'
==> change ip
Open Vagrantvile and find config.vm.network :forwarded_port, guest: 80, host: 8999
==> change host port
I prefer use different folders for vagrant and project. For example:
.
..
magento - magento project folder
vagrant - vagrant folder
That's why i sync my folders in this way config.vm.synced_folder "../magento/", "/vagrant/httpdocs"
.
Change ../magento/
path to folder with your project (it can be relative or absolute url).
Download latest magento-vagrant-box zip archive (and unpack it) or run '$ git clone [email protected]:gasperhafner/magento-vagrant-box.git' in your test folder.
Then go to vagrant folder. For example '$ cd /Volumes/Data/http/htdocs/magento-vagrant/vagrant/'
Run $ vagrant up
in your vagrant options.
PS: via installation you can be asked for password
After installation is finished open http://magento.dev/ in your browser and install Magento.
Good luck ;)