Browse Source

added more instruction on how to create an all-in-one kiloeyes

Change-Id: Ia859a52bb64198e90b204fa49f939b2f9cdfce27
Tong Li 3 years ago
parent
commit
a27f275f51
1 changed files with 52 additions and 0 deletions
  1. 52
    0
      README.md

+ 52
- 0
README.md View File

@@ -135,3 +135,55 @@ If the command runs successfully, a set of files will be created in the root
135 135
 directory named covhtml. Open up the index.html from a browser to see the summary
136 136
 of the unit test coverage and the details.
137 137
 
138
+
139
+Install an all-in-one kiloeyes clean ubuntu system
140
+==================================================
141
+
142
+Install java 8::
143
+
144
+    sudo add-apt-repository ppa:webupd8team/java
145
+    sudo apt-get update
146
+    sudo apt-get install oracle-java8-installer
147
+
148
+Install ElasticSearch 2.2::
149
+
150
+    1. Download elasticsearch 2.2.0 deb file
151
+    2. Install the package by running the following command:
152
+
153
+         dpkg -i elasticsearch-2.2.0.deb
154
+
155
+    3. Edit /etc/elasticsearch/elasticsearch.yml file to make sure that the
156
+       network host looks something like this:
157
+
158
+         network.host: 192.168.1.144
159
+
160
+    4. Run the following command to make sure the service starts after reboot:
161
+
162
+         update-rc.d elasticsearch defaults  (to automatically starts)
163
+         update-rc.d -f elastic search remove  (not to automatically starts)
164
+
165
+    5. Check if ElasticSearch is running ok, by point your browser to this url:
166
+
167
+         http://192.168.1.144:9200/?pretty
168
+
169
+Install Kafka 0.9.0.0 scala 2.11 build::
170
+
171
+    1. Download kafka 0.9.0.0 from this link:
172
+
173
+         https://www.apache.org/dyn/closer.cgi?path=/kafka/0.9.0.0/kafka_2.11-0.9.0.0.tgz
174
+
175
+    2. Unzip the tgz file into a directory:
176
+
177
+         tar xf kafka_2.11-0.9.0.0.tgz
178
+
179
+    3. Change to the kafka directory and start up zookeeper and kafka server:
180
+    
181
+         ./bin/zookeeper-server-start.sh ./config/zookeeper.properties
182
+         ./bin/kafka-server-start.sh ./config/server.properties 
183
+         
184
+    4. Try to create a topic and make sure things running all right:
185
+    
186
+         ./bin/kafka-topics.sh --create --topic test --zookeeper localhost:2181 --partitions 1 --replication-factor 1
187
+
188
+Install Kiloeyes dependencies, server and services by following instructions above.
189
+ 

Loading…
Cancel
Save