mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	MD012 no-multiple-blanks - Multiple consecutive blank lines https://github.com/DavidAnson/markdownlint/blob/main/doc/md012.md
		
			
				
	
	
	
		
			1.6 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			1.6 KiB
		
	
	
	
	
	
	
	
Configure virtualbox
- 
Open virtualbox and navigate to its preferences/settings window. 
- 
Click onto the network tab and then onto the host only network tab. 
- 
Configure your adapters as follows: vboxnet0- IPv4 IP address of 192.168.22.1
- Subnet of 255.255.255.0
- DHCP server disabled
 
Start the vagrant boxes
vagrant up
*** Common issues: ***
- 'Cannot forward the specified ports on this VM': There could be MySQL or some other service running on the host OS causing vagrant to fail setting up local port forwarding.
Start Cloudstack
- 
Clone the Cloudstack Repository: git clone https://github.com/apache/cloudstack.git*** Note: *** Personally I prefer to use the 4.3 codebase rather than main. If you wish to do the same: git reset --hard 0810029
- 
Download vhd-util: cd /path/to/cloudstack/repo wget http://download.cloudstack.org/tools/vhd-util -P scripts/vm/hypervisor/xenserver/ chmod +x scripts/vm/hypervisor/xenserver/vhd-util
- 
Compile Cloudstack: cd /path/to/cloudstack/repo mvn -P developer,systemvm clean install -DskipTests=true
- 
Deploy Cloudstack Database: cd /path/to/cloudstack/repo mvn -P developer -pl developer,tools/devcloud4 -Ddeploydb
- 
Start Cloudstack: cd /path/to/cloudstack/repo mvn -pl :cloud-client-ui jetty:run
- 
Install Marvin: cd /path/to/cloudstack/repo pip install tools/marvin/dist/Marvin-4.6.0-SNAPSHOT.tar.gz --allow-external mysql-connector-python
- 
Deploying: python -m marvin.deployDataCenter -i marvin.cfg