在Linux系统上如何发布springboot项目

以下均来自其他博主的博客:

这里使用的Linux系统是CentOs7

安装JDK:https://blog.csdn.net/hui_2016/article/details/69941850

安装MySQL:https://baijiahao.baidu.com/s?id=1594826744706555879&wfr=spider&for=pc

Navicat连接CENTOS7中MYSQL报错2003和1130:https://blog.csdn.net/vincentlee7/article/details/80320872 

连接出现1862错误:(参考如下代码)

出现的原因是密码过期,要设置密码永久有效

mysql -uroot -proot
update user set authentication_string = password('root'), password_expired = 'N', password_last_changed = now() where user = 'root';
flush privileges;

 

安装tomcat:

https://jingyan.baidu.com/article/27fa73268002f246f9271f45.html

https://blog.csdn.net/gebitan505/article/details/54599598

 

安装配置Redis:

https://blog.csdn.net/u010623954/article/details/80037078

 

打包部署项目:

打成war包的方式:

https://blog.csdn.net/rico_zhou/article/details/83415114

打成jar包的方式:

https://blog.csdn.net/qq_34409900/article/details/80561277

posted @ 2019-04-04 09:20  醉忆清吟  阅读(497)  评论(0编辑  收藏  举报