Advertisement
Guest User

PowerLanternMonitor Command Info

a guest
Mar 24th, 2025
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.40 KB | None | 0 0
  1. debian@debian11:~/LanternPowerMonitor/java/lantern-powermonitor-config/build/libs$ sudo java -jar lantern-powermonitor-config-2.0.0-DEV-all.jar com.lanternsoftware.currentmonitor.CreateAuthKey
  2. debian@debian11:~/LanternPowerMonitor/java/lantern-powermonitor-config/build/libs$ ls -al /opt/tomcat/
  3. total 12
  4. drwxr-xr-x 2 root root 4096 Mar 24 15:14 .
  5. drwxr-xr-x 5 root root 4096 Mar 23 18:30 ..
  6. -rw-r--r-- 1 root root 288 Mar 24 15:14 mongo.cfg
  7. debian@debian11:~/LanternPowerMonitor/java/lantern-powermonitor-config/build/libs$ hexdump /opt/tomcat/mongo.cfg
  8. 0000000 7342 b30e 5bf8 f9f8 88dc e6d2 20a2 4f8c
  9. 0000010 78a6 302f 4173 9383 b30a 0ce5 f7c9 e020
  10. 0000020 6ce3 ddb0 171f 888b adb2 0ddb 40f7 495e
  11. 0000030 0030 794d 5410 0bd8 a501 4693 6c08 a124
  12. 0000040 f5b3 af40 2f19 d34f 91ed 37e0 a2b7 eaa8
  13. 0000050 34fe 50c3 a8d4 17a7 40fe 9923 406c c33a
  14. 0000060 62d8 e1e6 be42 6e2a 17b1 c423 acd6 0a7a
  15. 0000070 e410 02c3 3114 76bb 4a4b d4c8 b3bd d39c
  16. 0000080 85ee 8c75 b2f0 37a7 e518 f95c 519c 5737
  17. 0000090 ff8d 57ea 4b37 d518 de4e d24a e112 380c
  18. 00000a0 9e27 2356 9615 bfac 9f95 8575 6ea7 7880
  19. 00000b0 1690 eccc 89a9 780f 8e96 3f44 8796 8a79
  20. 00000c0 34e2 68ce b6f1 6223 29a8 d69a ef61 c3d1
  21. 00000d0 7713 5c8b bed1 4cc4 da54 a30a 8406 101a
  22. 00000e0 60c5 c88d b666 38b5 2894 9e64 8d41 317d
  23. 00000f0 f74c 1cd6 32c2 39d1 567c 8e10 4c37 fec3
  24. 0000100 c242 86b1 42dc 0d97 d555 6e7c a968 9090
  25. 0000110 b292 f820 9705 e407 9612 5762 e672 eeb8
  26. 0000120
  27. debian@debian11:~/LanternPowerMonitor/java/lantern-powermonitor-config/build/libs$ sudo mv /opt/tomcat/mongo.cfg /opt/tomcat/mongo1.cfg
  28. debian@debian11:~/LanternPowerMonitor/java/lantern-powermonitor-config/build/libs$ ls -al /opt/tomcat/
  29. total 12
  30. drwxr-xr-x 2 root root 4096 Mar 24 15:14 .
  31. drwxr-xr-x 5 root root 4096 Mar 23 18:30 ..
  32. -rw-r--r-- 1 root root 288 Mar 24 15:14 mongo1.cfg
  33. debian@debian11:~/LanternPowerMonitor/java/lantern-powermonitor-config/build/libs$ sudo java -jar lantern-powermonitor-config-2.0.0-DEV-all.jar com.lanternsoftware.currentmonitor.CreateMongoConfig mongo powerlanternuser powerlanternpasssword
  34. debian@debian11:~/LanternPowerMonitor/java/lantern-powermonitor-config/build/libs$ ls -al /opt/tomcat/
  35. total 16
  36. drwxr-xr-x 2 root root 4096 Mar 24 15:15 .
  37. drwxr-xr-x 5 root root 4096 Mar 23 18:30 ..
  38. -rw-r--r-- 1 root root 288 Mar 24 15:14 mongo1.cfg
  39. -rw-r--r-- 1 root root 288 Mar 24 15:15 mongo.cfg
  40. debian@debian11:~/LanternPowerMonitor/java/lantern-powermonitor-config/build/libs$ hexdump /opt/tomcat/mongo.cfg
  41. 0000000 19e9 2096 dcea 09ff 15cb 42d7 5e95 742e
  42. 0000010 d3cb 78d5 29b7 f4fc 97c3 014a ac64 d6cb
  43. 0000020 f080 1304 93a4 0b41 533c fc32 b932 7e4a
  44. 0000030 c051 83ec 7885 cc9d f8cd 2e8f 2345 51f2
  45. 0000040 bdd7 3d0e b19f 8a33 c893 f8af 59ef 5dc2
  46. 0000050 d3ab 89ac 9f1c 9a4a 5263 1c49 3417 9a16
  47. 0000060 86de e529 ced6 70a3 f9e3 791b a04e 4933
  48. 0000070 7e90 2256 6df1 614d 978d 1cf2 b597 be70
  49. 0000080 1162 66d0 e36d 4324 920b fe11 4230 6925
  50. 0000090 da37 c81d 56b9 a5cf 6c88 384e 0800 ea1b
  51. 00000a0 466a 05c8 c3e0 96dc edf2 15d7 573c cc9b
  52. 00000b0 da0e 69df a5cd ddd7 7cd2 5386 e25e ad46
  53. 00000c0 8005 d0e7 86b6 3700 792c 4558 60c5 a648
  54. 00000d0 54c9 bf99 e169 6371 82e6 5c60 46ae 1a78
  55. 00000e0 94ba 81fe ad78 4a59 aa0c f835 55e7 d7a0
  56. 00000f0 e009 699c a165 65bb 34fa 1642 5ef6 05b9
  57. 0000100 cb62 b638 8ec7 fdfc 50d1 ef3a 98c7 10ef
  58. 0000110 e561 cdc9 93db e969 4a59 aa92 8d91 b9f3
  59. 0000120
  60. debian@debian11:~/LanternPowerMonitor/java/lantern-powermonitor-config/build/libs$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement