湖州卫健委项目管理平台后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

127 lines
3.2 KiB

8 months ago
# jeecg后台配置说明
8 months ago
8 months ago
### 第一步:安装jdk 17
8 months ago
8 months ago
1. 从以下地址下载jdk 17
8 months ago
8 months ago
```
https://download.oracle.com/java/17/latest/jdk-17_windows-x64_bin.exe
```
8 months ago
8 months ago
1. 设置java环境变量
* `设置JAVA_HOME环境变量为jdk 17的安装路径`
* 在path中添加%JAVA_HOME%\bin,注意JAVA_HOME为大写<br>
* 在命令行窗口输入命令:java -version, 出现下面的显示,证明安装成功<br>
8 months ago
8 months ago
```
C:\Users\jinqi>java -version
java version "17.0.9" 2023-10-17 LTS
Java(TM) SE Runtime Environment (build 17.0.9+11-LTS-201)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.9+11-LTS-201, mixed mode, sharing)
```
### 第二步:安装maven
8 months ago
8 months ago
1. 从以下地址下载maven
```
https://dlcdn.apache.org/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.zip
```
2. 解压到D:\apache-maven-3.8.8(也可以是其他目录)
3. 配置settings.xml,设置依赖
8 months ago
8 months ago
```
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository>D:\apache-maven-3.9.5\repository</localRepository>
<interactiveMode/>
<usePluginRegistry/>
<offline/>
<pluginGroups/>
<servers/>
<mirrors>
<mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>https://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
<mirror>
<id>repo1</id>
<mirrorOf>central</mirrorOf>
<name>central repo</name>
<url>http://repo1.maven.org/maven2/</url>
</mirror>
<mirror>
<id>aliyunmaven</id>
<mirrorOf>apache snapshots</mirrorOf>
<name>阿里云阿帕奇仓库</name>
<url>https://maven.aliyun.com/repository/apache-snapshots</url>
</mirror>
</mirrors>
<proxies/>
<activeProfiles/>
<profiles>
<profile>
<id>jdk-17</id>
<activation>
<activeByDefault>true</activeByDefault>
<jdk>17</jdk>
</activation>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
</properties>
</profile>
<profile>
<repositories>
<repository>
<id>aliyunmaven</id>
<name>aliyunmaven</name>
<url>https://maven.aliyun.com/repository/public</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>MavenCentral</id>
<url>http://repo1.maven.org/maven2/</url>
</repository>
<repository>
<id>aliyunmavenApache</id>
<url>https://maven.aliyun.com/repository/apache-snapshots</url>
</repository>
</repositories>
</profile>
</profiles>
</settings>
```
8 months ago
8 months ago
### 第三步:安装redis
8 months ago
8 months ago
1. 安装redis
8 months ago
8 months ago
```
$sudo apt-get update
$sudo apt-get install redis-server
```
8 months ago
8 months ago
2. 启动 Redis
8 months ago
8 months ago
```
$ redis-server
```
8 months ago
8 months ago
### 第四步:安装idea
### 第五步:配置idea
### 第六步:下载jeecg后台源代码