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. You can re-configure for personal use in you development. See How to use and/or customize section for more information.
- Ubuntu 14.04 + Apache2 + Php5 + MySQL 5.5.x
- Magento 1.9.2.3 with sample data 1.9.1.0
- Adminer 3.7.1(formerly phpMinAdmin)
Folders structure:
$ tree -L 2
.
├── README.md
├── magento
└── vagrant
├── httpdocs
├── Vagrantfile
└── bootstrap.sh
File system:
nfs: true
mount_options: ["nolock", "async"]
bsd__nfs_options: ["alldirs","async","nolock"]
config.nfs.map_uid = 0
config.nfs.map_gid = 0
VirtualBox settings:
Memory adn CPU cores by default: 1/8 of all memory and all cores (for Windows user 2 cores and 1024 memory) 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: simple-magento-vagrant.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
"simple-magento-vagrant"
==>"my-personal-magento-site-name"
or what you need -
Open bootstrap.sh and use find/replace tool to change
"simple-magento-vagrant"
==>"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 Simple-Magento-Vagrant zip archive (and unpack it) or run '$ git clone [email protected]:klierik/simple-magento-vagrant.git' in your test folder.
Then go to vagrant folder. For example '$ cd /Volumes/Data/http/htdocs/simple-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://simple-magento-vagrant.dev/ in your browser and install Magento.
Good luck ;)