jeesns部署
警告
本文最后更新于 2020-05-30 17:09,文中内容可能已过时。
下载jeesns:
git clone https://gitee.com/zchuanzhao/jeesns.git
cd jeesns
创建数据库:
mysql -uroot -p
create database jeesns character set utf8 collate utf8_general_ci;
grant all on jeesns.* to jeesns@localhost identified by '123456';
导入数据库
mysql -ujeesns -p123456 jeesns < ./jeesns-web/database/jeesns.sql
修改jeesns数据库配置信息:
vim ./jeesns-web/src/main/resources/jeesns.properties
修改如下三项内容:数据库地址、用户名、密码
jdbc.url
jdbc.user
jdbc.password
编译生成war包:
mvn install:install-file -Dfile=./jeesns-core/jeesns-core.jar -DgroupId=com.lxinet -DartifactId=jeesns-core -Dversion=1.4 -Dpackaging=jar
mvn clean package
部署war包到tomcat:
cp ./jeesns-web/target/jeesns-web.war /application/tomcat/webapps/jeesns.war
重启tomcat
/application/tomcat/bin/shutdown.sh
/application/tomcat/bin/startup.sh
请我喝杯水
微信号
微信打赏