<
From version < 82.1 >
edited by Xiaoye
on 2022/11/12 15:47
To version < 84.1 >
edited by Xiaoye
on 2022/11/21 11:22
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -183,6 +183,7 @@
183 183  
184 184  #install n, which is an Interactively Manage Your Node.js Versions
185 185  
186 +[[image:image-20221112154230-3.png||height="89" width="689"]]
186 186  
187 187  (% class="box infomessage" %)
188 188  (((
... ... @@ -192,6 +192,8 @@
192 192  
193 193  #Install the latest LTS Node.js release (downloading if necessary)
194 194  
196 +[[image:image-20221112154418-4.png||height="184" width="893"]]
197 +
195 195  (% class="box infomessage" %)
196 196  (((
197 197  **n lts**
... ... @@ -200,6 +200,7 @@
200 200  
201 201  #Remove all downloaded versions except the installed version
202 202  
206 +[[image:image-20221112154456-5.png||height="139" width="899"]]
203 203  
204 204  (% class="box infomessage" %)
205 205  (((
... ... @@ -209,12 +209,13 @@
209 209  
210 210  (% class="box infomessage" %)
211 211  (((
212 -**apt remove nodejs -y && apt autoremove -y**
216 +**apt remove nodejs -y && apt autoremove -y && reboot**
213 213  )))
214 214  
215 215  
216 216  Check the current version
217 217  
222 +[[image:image-20221112154724-6.png]]
218 218  
219 219  (% class="box infomessage" %)
220 220  (((
... ... @@ -222,6 +222,68 @@
222 222  )))
223 223  
224 224  
230 +
231 +== 2.6 How to install Grafana and influxdb ==
232 +
233 +
234 +=== **Grafana:** ===
235 +
236 +
237 +(% class="box infomessage" %)
238 +(((
239 +curl https:~/~/packages.grafana.com/gpg.key | gpg ~-~-dearmor | sudo tee /usr/share/keyrings/grafana-archive-keyrings.gpg >/dev/null
240 +echo "deb [signed-by=/usr/share/keyrings/grafana-archive-keyrings.gpg] https:~/~/packages.grafana.com/oss/deb stable main" | sudo tee /etc/apt/sources.list.d/grafana.list
241 +apt update && apt install grafana
242 +)))
243 +
244 +
245 +Check the running status:
246 +
247 +
248 +(% class="box infomessage" %)
249 +(((
250 +systemctl status grafana-server
251 +)))
252 +
253 +
254 +configuration path:
255 +
256 +
257 +(% class="box infomessage" %)
258 +(((
259 +/etc/grafana/grafana.ini
260 +)))
261 +
262 +
263 +=== **Influxdb:** ===
264 +
265 +
266 +(% class="box infomessage" %)
267 +(((
268 +curl https:~/~/repos.influxdata.com/influxdb.key | gpg ~-~-dearmor | sudo tee /usr/share/keyrings/influxdb-archive-keyring.gpg >/dev/null
269 +echo "deb [signed-by=/usr/share/keyrings/influxdb-archive-keyring.gpg] https:~/~/repos.influxdata.com/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
270 +apt update && apt install influxdb
271 +)))
272 +
273 +
274 +Check the running status:
275 +
276 +
277 +(% class="box infomessage" %)
278 +(((
279 +systemctl status influxdb
280 +)))
281 +
282 +
283 +configuration path:
284 +
285 +
286 +(% class="box infomessage" %)
287 +(((
288 +/etc/influxdb/influxdb.conf
289 +)))
290 +
291 +
225 225  = 3. Package Maintain Note =
226 226  
227 227  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0