File tree 1 file changed +35
-0
lines changed
1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 26
26
27
27
## Installation
28
28
29
+ Let's use Centos 7 as an example. (please help us to test on Ubuntu or other linux distros)
30
+
31
+ ### For the Controller
32
+
33
+ To install libvirt-python, we should install libvirt-devel and python-devel fisrt:
34
+
35
+ ``` bash
36
+ yum install -y libvirt-devel python-devel
37
+ ```
38
+
39
+ Then download codes and install requirements(venv is recommended, and make sure all the following steps are executed in venv):
40
+
41
+ ``` bash
42
+ git clone https://github.com/pyajs/closestack.git
43
+ cd closestack
44
+ pip install -r requirements.txt
45
+ ```
46
+
47
+ Install uwsgi:
48
+
49
+ ``` bash
50
+ pip install uwsgi
51
+ ```
52
+
53
+ Modify configs in ` config.py ` (instruction included) and ` uwsgi.ini ` file.
54
+
55
+ Start the server with command:
56
+
57
+ ``` bash
58
+ uwsgi uwsgi.ini
59
+ ```
60
+
61
+
62
+ ### For the nodes
63
+
29
64
30
65
## Configuration
31
66
You can’t perform that action at this time.
0 commit comments