|
|
5 vuotta sitten | |
|---|---|---|
| .settings | 6 vuotta sitten | |
| .vscode | 6 vuotta sitten | |
| bat | 6 vuotta sitten | |
| src | 5 vuotta sitten | |
| test | 6 vuotta sitten | |
| .classpath | 6 vuotta sitten | |
| .factorypath | 6 vuotta sitten | |
| .gitignore | 5 vuotta sitten | |
| .hgignore | 7 vuotta sitten | |
| .project | 8 vuotta sitten | |
| README.md | 6 vuotta sitten | |
| pom.xml | 5 vuotta sitten |
Git克隆源代码到本地
git clone http://www.leanwo.com:3000/ShangHaiLeanwo/ServerManagement.git
源代码导入到eclipse中。注意事项如下:
打开resources/Application.yml,修改属性server.port可以修改启动的端口号。
* 打开resources/Application.yml,修改属性server.autoConfig可以修改启动的配置,部署到服务器时将autoConfig改为true,resources/applicationContext.xml,不需要添加任何服务器,系统自动添加同目录下的所有服务器,所有服务器中必须有run.bat和stop.bat,否则系统不会添加该服务器。
server: port: 88
* 尽量不要修改该属性,如果修改该属性,所有的服务器中都要修改eureka.serviceUrl.defaultZone属性
#Eureka Server服务器地址. eureka: client: fetch-registry: true register-with-eureka: true serviceUrl: defaultZone: http://localhost:88/eureka/ ```
服务器名称 | 服务名称 | 默认端口号 | 备注
-|-|-|-
应用程序管理器 | server-management | 88 |
代理服务器 | gateway-server | 80 |
文件服务器 | file-server | 85 |