@@ -6,30 +6,65 @@ redirect_from: download.htm
6
6
7
7
## Download ZeroVM
8
8
9
- ZeroVM is free to download, use, and extend. Browse our
10
- [ Git ] ( https ://github.com/zerovm/ ) repositories to find source code,
11
- command-line utilities, and run-time libraries. Plenty of sample code
12
- and examples for porting your project to ZeroVM are available as well.
13
- Want to give back to the project, great! Contact us and and tell us
14
- about your pull request .
9
+ ZeroVM software is free to download, use, and extend. All code is licensed
10
+ under [ Apache 2.0 ] ( http ://www.apache.org/licenses/LICENSE-2.0 ) .
11
+
12
+ Full documentation and tutorials are available on
13
+ [ docs.zerovm.org ] ( http://docs.zerovm.org/ ) , hosted by
14
+ [ Read the Docs ] ( https://readthedocs.org/ ) .
15
15
16
16
---
17
17
18
- ### Installation
18
+ ### Install ZeroCloud
19
19
20
- Binary packages are for Ubuntu 12.04 LTS 64-bit only.
20
+ ZeroCloud is a converged cloud storage and computation platform built on
21
+ [ OpenStack Swift] ( http://swift.openstack.org/ ) .
22
+
23
+ The easiest way to get up and running with ZeroCloud is to use the Vagrant
24
+ appliance we provide in the
25
+ [ ZeroCloud repository] ( https://github.com/zerovm/zerocloud ) . The appliance
26
+ contains a minimal
27
+ [ DevStack-based] ( http://docs.openstack.org/developer/devstack/ ) installation
28
+ of OpenStack Swift, ZeroCloud middleware for Swift, and the ZeroVM core.
29
+
30
+ To set it up:
31
+
32
+ 1 . Install [ VirtualBox] ( https://www.virtualbox.org/wiki/Downloads ) .
33
+
34
+ 2 . Install [ Vagrant] ( http://www.vagrantup.com/downloads.html ) .
35
+
36
+ 3 . Instal [ Git] ( http://git-scm.com ) .
37
+
38
+ 4 . Clone the ZeroCloud repository:
39
+
40
+ git clone https://github.com/zerovm/zerocloud
41
+
42
+ 5 . Start the Vagrant appliance:
43
+
44
+ cd zerocloud/contrib/vagrant
45
+ vagrant up
46
+
47
+ With a good internet connection, this will take about 10 minutes to set up.
48
+
49
+ See [ docs.zerovm.org] ( http://docs.zerovm.org ) for further information and
50
+ tutorials.
21
51
22
52
---
23
53
24
- #### Install apt-get repository:
54
+ ### Install ZeroVM
25
55
26
- Add a new source to ** sources.list** :
56
+ If you just want to use the core ZeroVM application sandbox (without ZeroCloud
57
+ or OpenStack Swift), below you will find instructions for installing and
58
+ running the software.
27
59
28
- sudo su -c 'echo "deb http://packages.zerovm.org/apt/ubuntu/ precise main" > /etc/apt/sources.list.d/zerovm-precise.list'
60
+ Binary packages are for Ubuntu 12.04 LTS 64-bit only.
61
+
62
+ ---
29
63
30
- Install zerovm GPG key:
64
+ #### Add Launchpad PPA
31
65
32
- wget -O- http://packages.zerovm.org/apt/ubuntu/zerovm.pkg.key | sudo apt-key add -
66
+ sudo apt-get install python-software-properties
67
+ sudo add-apt-repository ppa:zerovm-ci/zerovm-latest
33
68
34
69
Update packages:
35
70
@@ -53,39 +88,39 @@ Install ZeroVM command-line shell:
53
88
54
89
Python 2.7
55
90
56
-
57
- wget http://packages.zerovm.org/zerovm-samples/python.tar
91
+ wget http://ci.zerovm.org/latest-packages/zpython2.7.3.tar
58
92
echo 'print "Hello"' > hello.py
59
- zvsh --zvm-image python .tar python @hello.py
93
+ zvsh --zvm-image zpython2.7.3 .tar python @hello.py
60
94
61
95
---
62
96
63
97
#### Install development tools
64
98
65
- Install ZeroVM debug/development tools:
99
+ If you want to write applications for the ZeroVM platform in C, there is a
100
+ modified gcc toolchain for this purpose.
66
101
67
- sudo apt-get install zerovm-dev
102
+ The best way to install the ZeroVM toolchain is to use the Vagrant appliance
103
+ we provide in the
104
+ [ toolchain repository] ( https://github.com/zerovm/toolchain ) .
68
105
69
- Install ZeroVM GCC toolchain :
106
+ To set it up :
70
107
71
- sudo apt-get install gcc-4.4.3-zerovm
108
+ 1 . Install [ VirtualBox ] ( https://www.virtualbox.org/wiki/Downloads ) .
72
109
73
- Install some build tools:
110
+ 2 . Install [ Vagrant ] ( http://www.vagrantup.com/downloads.html ) .
74
111
75
- sudo apt-get install make automake autoconf git
112
+ 3 . Instal [ Git ] ( http:// git-scm.com ) .
76
113
77
- Now you can build some sample programs :
114
+ 4 . Clone the toolchain repository :
78
115
79
- git clone https://github.com/zerovm/zerovm-samples
80
- cd zerovm-samples
81
- make
116
+ git clone https://github.com/zerovm/toolchain
82
117
83
- Or you can see how to port some existing software to ZeroVM :
118
+ 5 . Start the Vagrant appliance :
84
119
85
- git clone https://github.com/zerovm/zerovm-ports
86
- cd zlib
87
- cat README.md
120
+ cd toolchain/contrib/vagrant
121
+ vagrant up
88
122
123
+ The full toolchain will take about 25-30 minutes to compile.
89
124
---
90
125
91
126
### GitHub Links
@@ -95,6 +130,7 @@ will rander the page incorrectly -->
95
130
96
131
* [ <i class =" fa fa-github-alt " > </i >Source code] ( https://github.com/zerovm/zerovm )
97
132
* [ <i class =" fa fa-github-alt " > </i >Command– ; line tools] ( https://github.com/zerovm/zerovm-cli )
133
+ * [ <i class =" fa fa-github-alt " > </i >ZeroVM Package Manager (zpm)] ( https://github.com/zerovm/zpm )
98
134
* [ <i class =" fa fa-github-alt " > </i >Run– ; time library] ( https://github.com/zerovm/zrt )
99
135
* [ <i class =" fa fa-github-alt " > </i >GCC toolchain] ( https://github.com/zerovm/toolchain )
100
136
(Installation: [ README.md] ( https://github.com/zerovm/toolchain/blob/master/README.md ) )
0 commit comments