Changes for page Mapwize

Last modified by Xiaoling on 2023/04/23 15:31

From version 28.6
edited by Xiaoling
on 2022/07/25 11:39
Change comment: There is no comment for this version
To version 28.4
edited by Xiaoling
on 2022/07/25 11:33
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -241,26 +241,24 @@
241 241  
242 242  
243 243  * (((
244 -(% style="color:blue" %)**How to install and run this service on Linux?**
244 +**How to install and run this service on Linux?**
245 245  )))
246 246  
247 247  (((
248 -(% style="color:red" %)**Step1.**(%%)  Rent a Linux on Amazon cloud or alicloud to the host, and pre install the Linux system (Debian, Ubuntu, CentOS are available for distribution).
248 +Step1.  Rent a Linux on Amazon cloud or alicloud to the host, and pre install the Linux system (Debian, Ubuntu, CentOS are available for distribution).
249 249  )))
250 250  
251 251  (((
252 -(% style="color:red" %)**Step2.**(%%)  Run the code on the server after compiling. Compilation requires the support of libcurl. First, compile libmqtt in the code, and then compile location.
253 -
254 -
252 +Step2.  Run the code on the server after compiling. Compilation requires the support of libcurl. First, compile libmqtt in the code, and then compile location.
255 255  )))
256 256  
257 257  (((
258 -**System:  Debian / Ubuntu**
256 +System:  Debian / Ubuntu
259 259  )))
260 260  
261 261  (% class="box" %)
262 262  (((
263 -(% style="color:blue" %)**step:**(%%)
261 +**step:**
264 264  \\1. sudo apt install libcurl4-dev 
265 265  \\2. sudo apt install  gcc automake autoconf libtool make cmake
266 266  \\3. git clone -b master https:~/~/github.com/mikayong/location.git
... ... @@ -275,15 +275,13 @@
275 275  )))
276 276  
277 277  (((
278 -(% style="color:red" %)**Step3.**(%%)** **The location service subscribes to the lora information stream on TTN through the mqtt protocol, parses the information to generate a geographic location, and finally creates a geographic location on the mapwize map. The following is the configuration of the location service, the configuration file is in json format, the file is /etc/location_conf.json
276 +Step3.The location service subscribes to the lora information stream on TTN through the mqtt protocol, parses the information to generate a geographic location, and finally creates a geographic location on the mapwize map. The following is the configuration of the location service, the configuration file is in json format, the file is /etc/location_conf.json
279 279  
280 -
281 281  
282 282  )))
283 283  
284 -= 5.  Configuration file: location_conf.json =
281 += 5. Configuration file: location_conf.json =
285 285  
286 -
287 287  * (((
288 288  We use the 120.78.138.177 server as an example. The location service is currently installed on the 120.78.138.177 server, the code is in /root/location, and the configuration file for running location pre-read directly is /etc/location_conf.json.
289 289  )))