-
Notifications
You must be signed in to change notification settings - Fork 46
/
INSTALL
83 lines (65 loc) · 3.21 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
Install and Platform Notes
==========================
1. Official support for Ubuntu 12.04 LTS and ROS Fuerte.
2. Can be deployed on a platform of your choice:
Virtualbox
VMware
IaaS such as AWS and RackSpace
Local Commodity Machines
3. For more technical details please visit: www.rapyuta.org
4. Understanding the Install Options:
==================================
a. autoprovision mode: [ default: N ]
Should not be used for production deployments, but only for development.
The system will later prompt you to setup the passwords for the 'admin'
and 'adminInfra' accounts.
If 'y' is selected, it sets the default usernames and passwords as follows:
user : password
=====================
admin : admin
adminInfra : admin
testUser : testUser
b. Container filesystem directory: [ default: /opt/rce/container ]
The purposes and contents of the directories are as follows.
directory - description
=========================
path/rootfs - Contains the root filesystem of the container
path/data - Contains temporary data for each container instance
path/config - Contains configuration data for each container instance
Note : 'path' here refers to the selected path.
c. External communication interface: [ default: eth0 ]
The globally accessible network interface:
For AWS EC2 set it to: aws_dns
For Rackspace set it to: eth0
Alternately provide the IPv4 address for the corresponding interface: x.x.x.x
d. Internal communication interface: [ default: eth0 ]
The network interface used to communicate between the nodes of the cloud engine.
This could be the same network interface as for the external communication, but
often varies. Especially in specialized setups of IaaS platforms such as EC2 or
Rackspace this distinction is made, because the internal networks generally have
much lower latencies and higher speeds which could massively benefit the cloud engine.
For AWS EC2 set it to: eth0
For Rackspace set it to: eth1
Alternately provide the IPv4 address for the corresponding interface: x.x.x.x
e. Internal container communication interface : [ default: lxcbr0 ]
The network interface used to communicate between the containers on the same
physical host/cloud instance (It is not the same as [d])
Unless specialized lxc setups are carried out, this would be lxcbr0.
Prerequisites
=============
sudo apt-get install git-core python-dev python-setuptools
Installation
============
I. Fetch and Install RCE:
1. Grab the source:
git clone https://github.com/IDSCETHZurich/rce.git
2. Run the install script:
cd rce
sudo ./install.sh
(This will build and install all dependencies and packages to run the
RoboEarth cloud engine)
II. Setup the cloud engine.
1. Navigate to the source directory
cd rce [or the location where you cloned the source]
2. Run the provisioning script
./setup/provision all