Note: This information is loosely based on this SugarCRM KB
Note: If you need to restore a SugarCRM backup, the additional information on how to restore the MySQL database and change locations will be useful.
- Vagrant
- Virtual box
- SugarCRM files (You'll need to get these from SugarCRM)
- Create a directory i.e.
SugarEnt-9.0.0
and change to that directory - Copy the SugarCRM install files to that folder i.e.
SugarEnt-9.0.0.zip
- Run the following commands to do the initial setup:
vagrant init sugarcrm/php71es56
vagrant up --provider virtualbox
To suspend this SugarCRM instance:
vagrant suspend
To restart this SugarCRM instance, change to it's folder and run:
vagrant up
Visit this instance in the browser by visiting:
http://localhost:8080/sugar/
If you have more than one instance setup, you can run:
vagrant global-status
to see a list of vagrant instances and their status.
To delete/destroy a vagrant instance:
vagrant destroy XXXXXXXX
where XXXXXXXX is the ID listed in the out put of the global-status
command.