在linux上部署Books-Management-System

打开git主页,看说明部分:
https://github.com/withstars/Books-Management-System

$ git clone https://github.com/withstars/Books-Management-System
$ cd Books-Management-System

$ mvn clean compile

$ mvn clean package

$ mvn clean install

$ mvn jetty:run

http://localhost:9000

1.执行git clone https://github.com/withstars/Books-Management-System
遇到报错:
OpenSSL SSL_read: Connection was reset, errno 10054
参考:
https://blog.csdn.net/qq_29493173/article/details/114534057 
步骤3,注意关闭vpn
2.执行cd Books-Management-System
3.执行mvn clean compile
遇到报错:
bash: mvn: command not found
参考:
https://cloud.tencent.com/developer/article/1556981
https://blog.csdn.net/Cheng_Kohui/article/details/82874583
4.执行mvn clean compile
5.执行mvn clean package
6.执行mvn clean install
7.执行mvn jetty:run
8.打开http://ip:9000
遇到无法访问问题
参考:
https://blog.csdn.net/weixin_43871182/article/details/104788143
9.成功打开http://ip:9000
报错无法通过root账号密码访问数据库
建立数据库,执行/Books-Management-System/library.sql初始化脚本,在/Books-Management-System/src/main/resources/book-context.xml中修改数据源连接配置。
执行:
ps aux | grep jetty
kill -s 9 xxxx
mvn jetty:run
重新启动服务
10.成功打开http://ip:9000并使用admin表的账号和密码登录成功,修改账号密码,遇到报错:
Could not retrieve transation read-only status server
参考:
https://blog.csdn.net/Hello_World_QWP/article/details/80654536
两个方法没搞定,把mysql版本降级成5.6解决


 

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值