第一次用阿里云服务器,想部署一下halo这么吊的博客上去试一下,对着文档一步一步做的,端口号80 443 8090都开启了,然后这是运行jar包的结果
2020-06-18 10:00:17.606 INFO 19643 --- [ main] run.halo.app.listener.StartedListener : Halo started at http://127.0.0.1:8090
2020-06-18 10:00:17.606 INFO 19643 --- [ main] run.halo.app.listener.StartedListener : Halo admin started at http://127.0.0.1:8090/admin
2020-06-18 10:00:17.606 INFO 19643 --- [ main] run.halo.app.listener.StartedListener : Halo has started successfully!
启动服务后查看服务的状态:
`● halo.service
Loaded: loaded (/etc/systemd/system/halo.service; disabled; vendor preset: disabled)
Active: active (running) since Thu 2020-06-18 10:03:34 CST; 7s ago
Process: 19608 ExecStop=/bin/kill -s QUIT $MAINPID (code=exited, status=0/SUCCESS)
Main PID: 19695 (java)
Tasks: 12
Memory: 165.5M
CGroup: /system.slice/halo.service
└─19695 /usr/bin/java -server -Xms256m -Xmx256m -jar /home/blog/halo-latest.jar
Jun 18 10:03:37 iz2ze57r4ko7872i8fnoanz java[19695]: / / / /___ / /__
Jun 18 10:03:37 iz2ze57r4ko7872i8fnoanz java[19695]: / /_/ / __ / / __ \
Jun 18 10:03:37 iz2ze57r4ko7872i8fnoanz java[19695]: / __ / /_/ / / /_/ /
Jun 18 10:03:37 iz2ze57r4ko7872i8fnoanz java[19695]: /_/ /_/\__,_/_/\____/
Jun 18 10:03:37 iz2ze57r4ko7872i8fnoanz java[19695]:
Jun 18 10:03:37 iz2ze57r4ko7872i8fnoanz java[19695]: Version: 1.3.1
Jun 18 10:03:37 iz2ze57r4ko7872i8fnoanz java[19695]: 2020-06-18 10:03:37.464 INFO 19695 --- [ main] run.halo.app.Applicatio...t in /)
Jun 18 10:03:37 iz2ze57r4ko7872i8fnoanz java[19695]: 2020-06-18 10:03:37.468 INFO 19695 --- [ main] run.halo.app.Applicatio...default
Jun 18 10:03:40 iz2ze57r4ko7872i8fnoanz java[19695]: 2020-06-18 10:03:40.428 INFO 19695 --- [ main] .s.d.r.c.RepositoryConf...T mode.
Jun 18 10:03:40 iz2ze57r4ko7872i8fnoanz java[19695]: 2020-06-18 10:03:40.820 INFO 19695 --- [ main] .s.d.r.c.RepositoryConf...rfaces.
Hint: Some lines were ellipsized, use -l to show in full.
然后试着用ip+端口号访问,说是响应时间过长无法访问,在服务器控制台和宝塔上面看8090端口号都是正常的,这可咋整啊我裂开来😇