Cent OS 从零部署ruoyi-cloud教程
1、java环境安装
https://blog.csdn.net/m0_61035257/article/details/125705400
Java_home设置
https://blog.csdn.net/m0_51104427/article/details/123924893
2、mysql安装
https://blog.csdn.net/ShockChen7/article/details/126965940
若安装的是Mysql8,建议安装时初始命令加上表名不区分大小写,因为安装后无法设置
./mysqld --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data/ --initialize --lower_case_table_names=1
,安装后在 my.cnf中增加一行 lower-case-table-names=1,如下图
参考Mysql8表名不区分大小写报错处理
https://blog.csdn.net/u012069313/article/details/124441207
设置开机自启动
https://blog.csdn.net/m0_67390963/article/details/126747663
卸载
https://blog.csdn.net/qq_42951096/article/details/124314019
3、redis安装
https://blog.csdn.net/qq_38584262/article/details/125773286
设置开机自启动
https://blog.csdn.net/weixin_42575720/article/details/126180798
4、minio安装
https://blog.csdn.net/qq_29658333/article/details/128848709
https://blog.csdn.net/u011174699/article/details/124903036
Centos minio镜像下载很慢,推荐使用国内镜像下载
http://dl.minio.org.cn/server/minio/release/linux-amd64/
设置开机自启动
https://blog.csdn.net/mr_wanter/article/details/127766412
开启自启动设置后启动报错处理
https://blog.csdn.net/privateobject/article/details/125442468
5、nacos 安装
https://blog.csdn.net/u012946310/article/details/110043529
设置开机自启动
https://blog.csdn.net/mr_wanter/article/details/127748934
解决Nacos2.2.1启动报错
https://blog.csdn.net/qq_44653106/article/details/129301792
6、nginx安装
https://blog.csdn.net/youxiyic/article/details/124053511
设置开机自启动
https://blog.csdn.net/yanguan025/article/details/127507774
7、设置虚拟内存
服务器8g内存可能不够,设置虚拟内存即可(内存不够,有的服务就会起不来)
https://blog.csdn.net/shgh_2004/article/details/120056987
*注意:*执行: vi /etc/fstab 命令修改挂载配置的时候,在文件末尾添加新配置即可,不要修改原有配置,否则磁盘可能会变成只读状态
8、部署ruoyi-cloud项目
https://blog.csdn.net/qq_38279833/article/details/111604014