Nếu tới bước này bác có thể test như sau, nếu nó chạy thì tạo file khởi động (nếu chạy mình hướng dẫn sau)
Vào folder chứa minimserver:
minimserver/bin/startc
minimserver/bin/stopall
minimserver/bin/startc
Mở MinimWatch xem có dò ra không hoặc vào ipnas:9790
Mình chạy 3 câu lệnh của bác, và kiểm tra lại java -version, chưa được rồi vì thiếu usr/lib/libstdc++.so.6 thì phải. Bác hướng dẫn thêm cho mình với. Cảm ơn bác nhiều.
root@LS-WVLFF5:/usr/local# minimserver/bin/startc
MinimServer 0.8.5.2, Copyright (c) 2012-2017 Simon Nash. All rights reserved.
autoUpdate: installed package 'minimserver-0.8-update-134'
Enter command (? for help):
autoUpdate: relaunching
>MinimServer 0.8.5.2 update 134, Copyright (c) 2012-2020 Simon Nash. All rights reserved.
java.lang.UnsatisfiedLinkError: /usr/local/minimserver/tmp/native/libohNet.so: / usr/lib/libstdc++.so.6: version `CXXABI_ARM_1.3.3' not found (required by /usr/l ocal/minimserver/tmp/native/libohNet.so)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1837)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.jminim.lib.OhNetService.createLibrary(OhNetService.java:663)
at org.jminim.lib.OhNetService.createDeviceStack(OhNetService.java:573)
at org.jminim.lib.OhNetService.createDeviceFactory(OhNetService.java:476 )
at org.jminim.lib.OhNetService.access$2100(OhNetService.java:52)
at org.jminim.lib.OhNetService$Proxy.createDeviceFactory(OhNetService.ja va:1111)
at org.jminim.lib.MonitorService$Monitor.createDevice(MonitorService.jav a:264)
at org.jminim.lib.MonitorService$Monitor.listenerAdded(MonitorService.ja va:340)
at org.jminim.core.RuntimeImpl.addEventListener(RuntimeImpl.java:2124)
at org.jminim.lib.RuntimeService$Proxy.addEventListener(RuntimeService.j ava:218)
at com.minimserver.Server.doStart(Server.java:835)
at com.minimserver.Server.start(Server.java:535)
at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:167)
at org.jminim.core.ContextImpl.start(ContextImpl.java:92)
at org.jminim.core.RootContextImpl.startComponent(RootContextImpl.java:6 8)
at org.jminim.core.ContextImpl.start(ContextImpl.java:92)
at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:2334)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:1267)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:142)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:126)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jminim.mlaunch.MinimLaunch.doLaunch(MinimLaunch.java:519)
at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:150)
at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jminim.launch.Launcher.launch(Launcher.java:88)
at com.minimserver.launch.LaunchServer.main(LaunchServer.java:34)
MinimServer error: now stopped, use 'restart' or 'exit'
Enter command (? for help):
>exit
root@LS-WVLFF5:/usr/local# java -version
java version "1.8.0_211"
Java(TM) SE Embedded Runtime Environment (build 1.8.0_211-b12, headless)
Java HotSpot(TM) Embedded Client VM (build 25.211-b12, mixed mode)
root@LS-WVLFF5:/usr/local# minimserver/bin/stopall
No MinimServer instances are running
root@LS-WVLFF5:/usr/local# minimserver/bin/startc
MinimServer 0.8.5.2 update 134, Copyright (c) 2012-2020 Simon Nash. All rights reserved.
java.lang.UnsatisfiedLinkError: /usr/local/minimserver/tmp/native/libohNet.so: /usr/lib/libstdc++.so.6: version `CXXABI_ARM_1.3.3' not found (required by /usr/local/minimserver/tmp/native/libohNet.so)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1837)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.jminim.lib.OhNetService.createLibrary(OhNetService.java:663)
at org.jminim.lib.OhNetService.createDeviceStack(OhNetService.java:573)
at org.jminim.lib.OhNetService.createDeviceFactory(OhNetService.java:476)
at org.jminim.lib.OhNetService.access$2100(OhNetService.java:52)
at org.jminim.lib.OhNetService$Proxy.createDeviceFactory(OhNetService.java:1111)
at org.jminim.lib.MonitorService$Monitor.createDevice(MonitorService.java:264)
at org.jminim.lib.MonitorService$Monitor.listenerAdded(MonitorService.java:340)
at org.jminim.core.RuntimeImpl.addEventListener(RuntimeImpl.java:2124)
at org.jminim.lib.RuntimeService$Proxy.addEventListener(RuntimeService.java:218)
at com.minimserver.Server.doStart(Server.java:835)
at com.minimserver.Server.start(Server.java:535)
at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:167)
at org.jminim.core.ContextImpl.start(ContextImpl.java:92)
at org.jminim.core.RootContextImpl.startComponent(RootContextImpl.java:68)
at org.jminim.core.ContextImpl.start(ContextImpl.java:92)
at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:2334)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:1267)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:142)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:126)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jminim.mlaunch.MinimLaunch.doLaunch(MinimLaunch.java:519)
at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:150)
at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jminim.launch.Launcher.launch(Launcher.java:88)
at com.minimserver.launch.LaunchServer.main(LaunchServer.java:34)
MinimServer error: now stopped, use 'restart' or 'exit'
Enter command (? for help):