安装
java -cp h2-1.3.176.jar org.h2.tools.Server -web -webAllowOthers -tcp -tcpPort 19200 -tcpAllowOthers
运行jar包
[root@izwz91h49n3mj8r232gqwez opt]# java -cp h2-1.3.176.jar org.h2.tools.Server -web -webAllowOthers -tcp -tcpPort 19200 -tcpAllowOthers
TCP server running at tcp://120.79.52.181:19200 (others can connect)
Web Console server running at http://120.79.52.181:8082 (others can connect)
说明:TCP的是用来当url的,Web端口是页面登陆的
测试
测试
http://120.79.52.181:8082
sa的是默认账号,密码为空,可以直接登陆