mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-02 03:48:05 +08:00
更新说明
This commit is contained in:
parent
715d91fd6a
commit
4e7b3914fc
@ -75,12 +75,13 @@
|
||||
1. 下载安装包 [https://gitee.com/keepbx/jpom/attach_files](https://gitee.com/keepbx/jpom/attach_files)
|
||||
2. 上传到服务解压到根目录
|
||||
3. 执行目录下[Jpom.sh](/script/Jpom.sh)文件(记得给命令文件添加权限奥[*chmod 755 /jpom/Jpom.sh*])
|
||||
如
|
||||
```
|
||||
/jpom/Jpom.sh start
|
||||
```
|
||||
如
|
||||
```
|
||||
/jpom/Jpom.sh start
|
||||
```
|
||||
4. 如有需要修改项目端口请查看 Jpom.sh
|
||||
5. windows 下则执行Jpom.bat 命令即可
|
||||
|
||||
### 编译安装
|
||||
|
||||
访问[Jpom](https://gitee.com/keepbx/jpom)的码云主页,拉取最新完整代码:
|
||||
|
@ -1,20 +1,20 @@
|
||||
|
||||
server {
|
||||
#charset koi8-r;
|
||||
access_log /var/log/nginx/jpom.log main;
|
||||
access_log /var/log/nginx/jpom.log main;
|
||||
listen 80;
|
||||
server_name jpom.xxxxxx.com;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:2122/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_pass http://127.0.0.1:2122/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
client_max_body_size 50000m;
|
||||
client_body_buffer_size 128k;
|
||||
# websocket 配置
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
# websocket 配置
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -27,7 +27,7 @@ set basePath=%~dp0
|
||||
set Lib=%basePath%lib\
|
||||
set Log=%basePath%run.log
|
||||
set JVM=-server
|
||||
set ARGS=--server.port=2123 --jpom.path=%basePath% --jpom.log=%basePath%log --jpom.safeMode=false
|
||||
set ARGS=--server.port=2122 --jpom.path=%basePath% --jpom.log=%basePath%log --jpom.safeMode=false
|
||||
|
||||
set TEMPCLASSPATH=
|
||||
for /f "delims=" %%I in ('dir /B %Lib%') do (set TEMPCLASSPATH=!TEMPCLASSPATH!%Lib%%%I;)
|
||||
|
@ -11,15 +11,12 @@ public class TopTest {
|
||||
// String result = execCommand("/boot-line/command/java_cpu.sh 4257 1 java_cpu22340.txt");
|
||||
// System.out.println(result);
|
||||
|
||||
GlobalThreadPool.execute(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
String[] cmd = {"cmd", "/c", "javaw -classpath D:\\ssss\\a\\test\\aliyun-sdk-oss-2.8.3.jar;D:\\ssss\\a\\test\\antlr-2.7.7.jar;D:\\ssss\\a\\test\\antlr4-runtime-4.5.3.jar;D:\\ssss\\a\\test\\aspectjweaver-1.8.10.jar;D:\\ssss\\a\\test\\classmate-1.3.3.jar;D:\\ssss\\a\\test\\common-boot-1.2.27.jar;D:\\ssss\\a\\test\\commons-beanutils-1.9.3.jar;D:\\ssss\\a\\test\\commons-chain-1.1.jar;D:\\ssss\\a\\test\\commons-codec-1.10.jar;D:\\ssss\\a\\test\\commons-collections-3.2.2.jar;D:\\ssss\\a\\test\\commons-digester-2.1.jar;D:\\ssss\\a\\test\\commons-lang-2.4.jar;D:\\ssss\\a\\test\\commons-validator-1.3.1.jar;D:\\ssss\\a\\test\\dom4j-1.6.1.jar;D:\\ssss\\a\\test\\fastjson-1.2.49.jar;D:\\ssss\\a\\test\\hibernate-validator-5.2.5.Final.jar;D:\\ssss\\a\\test\\httpclient-4.5.3.jar;D:\\ssss\\a\\test\\httpcore-4.4.6.jar;D:\\ssss\\a\\test\\hutool-all-4.4.5.jar;D:\\ssss\\a\\test\\jackson-annotations-2.8.8.jar;D:\\ssss\\a\\test\\jackson-core-2.8.8.jar;D:\\ssss\\a\\test\\jackson-databind-2.8.8.jar;D:\\ssss\\a\\test\\jboss-logging-3.3.1.Final.jar;D:\\ssss\\a\\test\\jcl-over-slf4j-1.7.25.jar;D:\\ssss\\a\\test\\jdom-1.1.jar;D:\\ssss\\a\\test\\jpom-1.1.jar;D:\\ssss\\a\\test\\jul-to-slf4j-1.7.25.jar;D:\\ssss\\a\\test\\log4j-over-slf4j-1.7.25.jar;D:\\ssss\\a\\test\\logback-classic-1.1.11.jar;D:\\ssss\\a\\test\\logback-core-1.1.11.jar;D:\\ssss\\a\\test\\nginxparser-0.9.6.jar;D:\\ssss\\a\\test\\oro-2.0.8.jar;D:\\ssss\\a\\test\\slf4j-api-1.7.25.jar;D:\\ssss\\a\\test\\snakeyaml-1.17.jar;D:\\ssss\\a\\test\\spring-aop-4.3.9.RELEASE.jar;D:\\ssss\\a\\test\\spring-beans-4.3.9.RELEASE.jar;D:\\ssss\\a\\test\\spring-boot-1.4.7.RELEASE.jar;D:\\ssss\\a\\test\\spring-boot-autoconfigure-1.4.7.RELEASE.jar;D:\\ssss\\a\\test\\spring-boot-starter-1.4.7.RELEASE.jar;D:\\ssss\\a\\test\\spring-boot-starter-aop-1.4.7.RELEASE.jar;D:\\ssss\\a\\test\\spring-boot-starter-logging-1.4.7.RELEASE.jar;D:\\ssss\\a\\test\\spring-boot-starter-tomcat-1.4.7.RELEASE.jar;D:\\ssss\\a\\test\\spring-boot-starter-velocity-1.4.7.RELEASE.jar;D:\\ssss\\a\\test\\spring-boot-starter-web-1.4.7.RELEASE.jar;D:\\ssss\\a\\test\\spring-boot-starter-websocket-1.4.7.RELEASE.jar;D:\\ssss\\a\\test\\spring-context-4.3.9.RELEASE.jar;D:\\ssss\\a\\test\\spring-context-support-4.3.9.RELEASE.jar;D:\\ssss\\a\\test\\spring-core-4.3.9.RELEASE.jar;D:\\ssss\\a\\test\\spring-expression-4.3.9.RELEASE.jar;D:\\ssss\\a\\test\\spring-messaging-4.3.9.RELEASE.jar;D:\\ssss\\a\\test\\spring-web-4.3.9.RELEASE.jar;D:\\ssss\\a\\test\\spring-webmvc-4.3.9.RELEASE.jar;D:\\ssss\\a\\test\\spring-websocket-4.3.9.RELEASE.jar;D:\\ssss\\a\\test\\sslext-1.2-0.jar;D:\\ssss\\a\\test\\struts-core-1.3.8.jar;D:\\ssss\\a\\test\\struts-taglib-1.3.8.jar;D:\\ssss\\a\\test\\struts-tiles-1.3.8.jar;D:\\ssss\\a\\test\\tomcat-embed-core-8.5.15.jar;D:\\ssss\\a\\test\\tomcat-embed-el-8.5.15.jar;D:\\ssss\\a\\test\\tomcat-embed-websocket-8.5.15.jar;D:\\ssss\\a\\test\\validation-api-1.1.0.Final.jar;D:\\ssss\\a\\test\\velocity-1.7.jar;D:\\ssss\\a\\test\\velocity-tools-2.0.jar;D:\\ssss\\a\\test\\xml-apis-1.4.01.jar; -Dapplication=tset -Dbasedir=D:\\ssss\\a\\test cn.keepbx.jpom.JpomApplication --server.port=2123 >> D:\\ssss\\a\\tset.log"};
|
||||
String s = execCommand(cmd);
|
||||
GlobalThreadPool.execute(() -> {
|
||||
String[] cmd = {"cmd", "/c", "javaw -classpath D:\\ssss\\a\\test\\aliyun-sdk-oss-2.8.3.jar;D:\\ssss\\a\\test\\antlr-2.7.7.jar;D:\\ssss\\a\\test\\antlr4-runtime-4.5.3.jar;D:\\ssss\\a\\test\\aspectjweaver-1.8.10.jar;D:\\ssss\\a\\test\\classmate-1.3.3.jar;D:\\ssss\\a\\test\\common-boot-1.2.27.jar;D:\\ssss\\a\\test\\commons-beanutils-1.9.3.jar;D:\\ssss\\a\\test\\commons-chain-1.1.jar;D:\\ssss\\a\\test\\commons-codec-1.10.jar;D:\\ssss\\a\\test\\commons-collections-3.2.2.jar;D:\\ssss\\a\\test\\commons-digester-2.1.jar;D:\\ssss\\a\\test\\commons-lang-2.4.jar;D:\\ssss\\a\\test\\commons-validator-1.3.1.jar;D:\\ssss\\a\\test\\dom4j-1.6.1.jar;D:\\ssss\\a\\test\\fastjson-1.2.49.jar;D:\\ssss\\a\\test\\hibernate-validator-5.2.5.Final.jar;D:\\ssss\\a\\test\\httpclient-4.5.3.jar;D:\\ssss\\a\\test\\httpcore-4.4.6.jar;D:\\ssss\\a\\test\\hutool-all-4.4.5.jar;D:\\ssss\\a\\test\\jackson-annotations-2.8.8.jar;D:\\ssss\\a\\test\\jackson-core-2.8.8.jar;D:\\ssss\\a\\test\\jackson-databind-2.8.8.jar;D:\\ssss\\a\\test\\jboss-logging-3.3.1.Final.jar;D:\\ssss\\a\\test\\jcl-over-slf4j-1.7.25.jar;D:\\ssss\\a\\test\\jdom-1.1.jar;D:\\ssss\\a\\test\\jpom-1.1.jar;D:\\ssss\\a\\test\\jul-to-slf4j-1.7.25.jar;D:\\ssss\\a\\test\\log4j-over-slf4j-1.7.25.jar;D:\\ssss\\a\\test\\logback-classic-1.1.11.jar;D:\\ssss\\a\\test\\logback-core-1.1.11.jar;D:\\ssss\\a\\test\\nginxparser-0.9.6.jar;D:\\ssss\\a\\test\\oro-2.0.8.jar;D:\\ssss\\a\\test\\slf4j-api-1.7.25.jar;D:\\ssss\\a\\test\\snakeyaml-1.17.jar;D:\\ssss\\a\\test\\spring-aop-4.3.9.RELEASE.jar;D:\\ssss\\a\\test\\spring-beans-4.3.9.RELEASE.jar;D:\\ssss\\a\\test\\spring-boot-1.4.7.RELEASE.jar;D:\\ssss\\a\\test\\spring-boot-autoconfigure-1.4.7.RELEASE.jar;D:\\ssss\\a\\test\\spring-boot-starter-1.4.7.RELEASE.jar;D:\\ssss\\a\\test\\spring-boot-starter-aop-1.4.7.RELEASE.jar;D:\\ssss\\a\\test\\spring-boot-starter-logging-1.4.7.RELEASE.jar;D:\\ssss\\a\\test\\spring-boot-starter-tomcat-1.4.7.RELEASE.jar;D:\\ssss\\a\\test\\spring-boot-starter-velocity-1.4.7.RELEASE.jar;D:\\ssss\\a\\test\\spring-boot-starter-web-1.4.7.RELEASE.jar;D:\\ssss\\a\\test\\spring-boot-starter-websocket-1.4.7.RELEASE.jar;D:\\ssss\\a\\test\\spring-context-4.3.9.RELEASE.jar;D:\\ssss\\a\\test\\spring-context-support-4.3.9.RELEASE.jar;D:\\ssss\\a\\test\\spring-core-4.3.9.RELEASE.jar;D:\\ssss\\a\\test\\spring-expression-4.3.9.RELEASE.jar;D:\\ssss\\a\\test\\spring-messaging-4.3.9.RELEASE.jar;D:\\ssss\\a\\test\\spring-web-4.3.9.RELEASE.jar;D:\\ssss\\a\\test\\spring-webmvc-4.3.9.RELEASE.jar;D:\\ssss\\a\\test\\spring-websocket-4.3.9.RELEASE.jar;D:\\ssss\\a\\test\\sslext-1.2-0.jar;D:\\ssss\\a\\test\\struts-core-1.3.8.jar;D:\\ssss\\a\\test\\struts-taglib-1.3.8.jar;D:\\ssss\\a\\test\\struts-tiles-1.3.8.jar;D:\\ssss\\a\\test\\tomcat-embed-core-8.5.15.jar;D:\\ssss\\a\\test\\tomcat-embed-el-8.5.15.jar;D:\\ssss\\a\\test\\tomcat-embed-websocket-8.5.15.jar;D:\\ssss\\a\\test\\validation-api-1.1.0.Final.jar;D:\\ssss\\a\\test\\velocity-1.7.jar;D:\\ssss\\a\\test\\velocity-tools-2.0.jar;D:\\ssss\\a\\test\\xml-apis-1.4.01.jar; -Dapplication=tset -Dbasedir=D:\\ssss\\a\\test cn.keepbx.jpom.JpomApplication --server.port=2123 >> D:\\ssss\\a\\tset.log"};
|
||||
String s = execCommand(cmd);
|
||||
|
||||
System.out.println(s);
|
||||
System.out.println("结束");
|
||||
}
|
||||
System.out.println(s);
|
||||
System.out.println("结束");
|
||||
});
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user