OSDN Git Service

a7b8ac2bb796cdbd6ed5b2f1ae596d9e27dc2422
[fulcon/Fulcon.git] / src / INSTALL
1 Installation
2 =============
3
4 1. Building:
5
6 ubuntu
7
8 $ sudo apt-get install docker.io
9 $ sudo apt-get install python-ipy
10 $ sudo apt-get install bridge-utils
11
12 $ tar xzf fulcon.tgz
13 $ cd fulcon
14 $ sudo make install
15
16 CentOS 7
17
18 $ sudo yum install docker-io
19 $ sudo yum install python-IPy
20 $ sudo yum install bridge-utils
21
22 $ tar xzf fulcon.tgz
23 $ cd fulcon
24 $ sudo make install
25
26 2. Setup:
27   
28 1) The image of CentOS 7, Ubuntu15.04 and Ubuntu15.10 is prepared.  
29   
30 $  sudo fulcon setup centos7  
31 $  sudo fulcon setup ubuntu1504  
32 $  sudo fulcon setup ubuntu1510  
33   
34 It takes the minute to several ten completion.
35 It only has to execute only the kind of the image to be used.
36 This operation do only first once.
37
38 The image is builded by using Dockerfile.
39 If it does not go well.images are generated with following Dockerfile.  
40      /var/lib/fulcon/driver/dockerfile/centos7/Dockerfile  
41      /var/lib/fulcon/driver/dockerfile/ubuntu1504/Dockerfile  
42      /var/lib/fulcon/driver/dockerfile/ubuntu1510/Dockerfile  
43 It must be builded "fulcon/centos7", "fulcon/ubuntu1504" and "fulcon/ubuntu1510"
44
45 2) The image of default is set.  
46   
47 $  sudo fulcon set-default-image fulcon/centos7  
48 or  
49 $  sudo fulcon set-default-image fulcon/ubuntu1504  
50 or  
51 $  sudo fulcon set-default-image fulcon/ubuntu1510  
52   
53 fulcon/centos7 is set in the following examples.  
54   
55
56 Let's enjoy.
57