配置了自启动,重启服务器后,查看状态如下,貌似是启动成功了。
[root@iZ2ze0a8w2ct7mzkpwufq5Z ~]# sudo service halo status
Redirecting to /bin/systemctl status halo.service
● halo.service
Loaded: loaded (/etc/systemd/system/halo.service; enabled; vendor preset: dis abled)
Active: active (running) since Fri 2019-11-29 17:06:43 CST; 5h 52min ago
Main PID: 497 (java)
CGroup: /system.slice/halo.service
└─497 /usr/bin/java -server -Xms256m -Xmx256m -jar /root/halo-late...
Nov 29 17:07:43 iZ2ze0a8w2ct7mzkpwufq5Z java[497]: 2019-11-29 17:07:43.337 I...
Nov 29 17:07:43 iZ2ze0a8w2ct7mzkpwufq5Z java[497]: 2019-11-29 17:07:43.800 I...
Nov 29 17:07:43 iZ2ze0a8w2ct7mzkpwufq5Z java[497]: 2019-11-29 17:07:43.800 I...
Nov 29 17:07:45 iZ2ze0a8w2ct7mzkpwufq5Z java[497]: 2019-11-29 17:07:45.740 I...
Nov 29 22:46:22 iZ2ze0a8w2ct7mzkpwufq5Z systemd[1]: [/etc/systemd/system/halo...
Nov 29 22:46:22 iZ2ze0a8w2ct7mzkpwufq5Z systemd[1]: [/etc/systemd/system/halo...
Nov 29 22:46:22 iZ2ze0a8w2ct7mzkpwufq5Z systemd[1]: [/etc/systemd/system/halo...
Nov 29 22:46:22 iZ2ze0a8w2ct7mzkpwufq5Z systemd[1]: [/etc/systemd/system/halo...
Nov 29 22:46:22 iZ2ze0a8w2ct7mzkpwufq5Z systemd[1]: [/etc/systemd/system/halo...
Nov 29 22:46:22 iZ2ze0a8w2ct7mzkpwufq5Z systemd[1]: [/etc/systemd/system/halo...
Hint: Some lines were ellipsized, use -l to show in full.
[root@iZ2ze0a8w2ct7mzkpwufq5Z ~]#
可是访问公网IP加端口号,却是白页面。求大佬指导。