黑马点评(速通版)
· 39 min read
个人环境 Ubuntu 24.04
项目配置
-
repo: 搜一搜就行 https://github.com/cs001020/hmdp?tab=readme-ov-file
-
idea config: 降java版本到11就能不报错
-
redis, mysql: 搜索即可 systemd 启动
-
nginx 稍微复杂一点, 给的是win下的nginx, 配完systemd之后,用他的
nginx.conf
替换/etc/nginx/nginx.conf
(记得备份) 然后修改
# 指定前端项目所在的位置
location / {
root /home/ayanami/www/hmdp/html/hmdp; # 修改此处, 改为${下载的nginx文件夹原来位置}/hmdp/html/hmdp