Record the construction process of symphony forum

address

https://github.com/b3log/symphony
 

Environmental preparation

Install JDK, version requires at least JDK 8

教程:
https://www.cnblogs.com/greenteaone/p/9993957.html  mysql 8
遇到的问题及解决方案:
https://blog.csdn.net/lxpbs8851/article/details/14161935  管理员
https://www.jianshu.com/p/413d29b67422  mysql 没有删除干净
https://www.jianshu.com/p/1959f22dbd19  SQLyog的连接问题

Install Jetty, version at least 9

https://www.cnblogs.com/chenfool/p/3350575.html  Jetty 安装教程

Install Maven, set the bin directory to download, unzip PATHenvironment variable

https://blog.csdn.net/qq_39674002/article/details/91143393 maven安装

Compile the project

Pull source

git clone https://github.com/b3log/symphony.git

Demand modify src/main/resources/local.propertiesthe database password configuration
 

jdbc.username=root 

jdbc.username=你自己的密码

Execution mvn installcompiler package, after completion will generate symphony.war in the target directory

https://www.cnblogs.com/mingzhanghui/p/9412862.html maven mvn 命令行 编译打包

deploy

  1. Manually create a new database b3log_symphony, character set utf8mb4, sorting rulesutf8mb4_general_ci
  2. Put the xml file and war file in the webapps directory , then start the server, pay attention to check the logs in the logs directory
  3. Browser visit http: // localhost: 8080 / symphony
  4. The default administrator account is admin / admin

result:

 

 

Published 108 original articles · praised 48 · 50,000+ views

Guess you like

Origin blog.csdn.net/larry1648637120/article/details/102821148