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