03 Tomcat搭建Jpress

软件下载地址:https://gitee.com/GalaIO/jpress/raw/master/wars/jpress-web-newest.war

1.1.1 配置mysql

MariaDB [(none)]> create database jpress DEFAULT CHARACTER SET utf8;Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> grant all privileges on jpress.* to jpress@'192.168.10.%' identified by '123456';
Query OK, 0 rows affected (0.01 sec)

1.1.2 下载到webapps

[root@centos7 webapps]# pwd
/usr/local/tomcat/webapps
[root@centos7 webapps]# ls
docs      host-manager       jpress-web-newest.war  ROOT
examples  jpress-web-newest  manager

[root@centos7 webapps]# mv jpress-web-newest jpress

http://192.168.10.247:8080/jpress/

posted @ 2018-09-05 15:25  闫世成  阅读(283)  评论(0编辑  收藏  举报