...
- sudo aptitude install openjdk-6-jdk ant
- sudo apt-get update
- sudo apt-get install python-software-properties
- sudo add-apt-repository ppa:natecarlson/maven3
- sudo aptitude update
- sudo aptitude install maven3
- install jsch
Code Block |
---|
wget http://downloads.sourceforge.net/project/jsch/jsch.jar/0.1.48/jsch-0.1.48.jar
sudo cp jsch-0.1.48.jar /usr/share/ant/lib/
|
3. Download the source build (
...
replacing $version with the correct detailed version string in any commands below)
- Download latest source code release from http://people.apache.org/~chipchilders/cloudstack/4.0/
Code Block |
---|
mkdir -p ~/cloudstack; cd ~/cloudstack
wget http://people.apache.org/~chipchilders/cloudstack/4.0/KEYS
wget http://people.apache.org/~chipchilders/cloudstack/4.0/apache-cloudstack-$version-incubating-src.zip
wget http://people.apache.org/~chipchilders/cloudstack/4.0/apache-cloudstack-$version-incubating-src.zip.asc
wget http://people.apache.org/~chipchilders/cloudstack/4.0/apache-cloudstack-$version-incubating-src.zip.md5
wget http://people.apache.org/~chipchilders/cloudstack/4.0/apache-cloudstack-$version-incubating-src.zip.sha
wget http://people.apache.org/~chipchilders/cloudstack/4.0/apache-cloudstack-$version-incubating-src.tar.gz
wget http://people.apache.org/~chipchilders/cloudstack/4.0/apache-cloudstack-$version-incubating-src.tar.gz.asc
wget http://people.apache.org/~chipchilders/cloudstack/4.0/apache-cloudstack-$version-incubating-src.tar.gz.md5
wget http://people.apache.org/~chipchilders/cloudstack/4.0/apache-cloudstack-$version-incubating-src.tar.gz.sha
|
- install gpg (if needed): sudo apt-get install gpg
- import keys: gpg --recv-keys CC56CEA8 DB3ECA42 2908DED2 6FE50F1C
- verify signatures and hash files:
...
- Access web UI: http://localhost:8080/client
- Login with admin/password
- Choose "I have used cloudstack before, skip this guide"
- Click "InfrastrucreInfrastructure", click "zone", the "View All" button in the "Zones" display box, click "add zone"
- select "basic zone" during the add zone wizard.
- type name "test cloud", dns1 "8.8.8.8", internal dns1 "10.0.2.3", hypervisor "Xenserver", select "local storage enabled" (Say Yes if prompted to agree), then click next.
- skip "physical network setup" page
- in "pod" page, type: pod name: 'test pod', reserved system gateway: 10.0.2.2, reserved system mask: 255.255.255.0, start reserved system ip: 10.0.2.200, end reserved system ip: 10.0.2.220
- in "guest traffic" page, guest gateway: 10.0.2.2, netmask: 255.255.255.0, guest start ip: 10.0.2.100, guest end ip: 10.0.2.199
- in "cluster" page, type cluster name: "test cloudcluster"
- in "host " page, host name: 10.0.2.15, user name: root, password: password
- in "secondary storage" page, server: 10.0.2.15, path: /opt/storage/secondary
- In "zone creation comple", select "yes" to enable zone.
...