上一页 1 2 3 4 5 6 7 8 ··· 13 下一页
摘要: 环境:redhat6.6下载包:链接: https://pan.baidu.com/s/1oekR3faP6L4LxukPxqyGhg 提取码: y1ir 安装 rpm -ivh lxc-libs-1.0.11-1.el6.x86_64.rpm rpm -ivh lua-alt-getopt-0.7 阅读全文
posted @ 2021-04-09 09:47 故木 阅读(114) 评论(0) 推荐(0)
摘要: 使用镜像:https://hub.docker.com/r/oracleinanutshell/oracle-xe-11g 获取镜像 在线 docker pull oracleinanutshell/oracle-xe-11g 离线 tar包下载:链接: https://pan.baidu.com/ 阅读全文
posted @ 2021-04-08 11:10 故木 阅读(635) 评论(0) 推荐(0)
摘要: 下载winsw https://github.com/winsw/winsw/releases 下载winsw官网上的xml文件和.exe文件 创建文件编辑xml 创建一个文件夹,将所需要转换的jar包,和这两个文件放在一起,并且将.exe的文件名修改和.xml文件一样 xml的可选项 <!-- 这 阅读全文
posted @ 2021-03-29 20:32 故木 阅读(941) 评论(0) 推荐(0)
摘要: 任务类 @Service public class ScheduledForDynamicCron implements SchedulingConfigurer { private static final SimpleDateFormat dateFormat = new SimpleDateF 阅读全文
posted @ 2021-03-29 16:26 故木 阅读(494) 评论(0) 推荐(0)
摘要: java中Process类实现了调用服务器命令的相关功能 生成方式 //在单独的进程中执行指定的字符串命令。 public Process exec(String command) //在单独的进程中执行指定命令和变量 public Process exec(String [] cmdArray) 阅读全文
posted @ 2021-03-29 16:16 故木 阅读(953) 评论(0) 推荐(0)
摘要: pom 依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket</artifactId> </dependency> 注册websocket服务 /** 阅读全文
posted @ 2021-03-09 15:06 故木 阅读(126) 评论(0) 推荐(0)
摘要: ClassLoader.getSystemClassLoader方法无论何时均会返回ApplicationClassLoader,其只加载classpath下的class文件。 在javaSE环境下,一般javaSE项目的classpath为bin/目录,因此只要编译后的class文件在classp 阅读全文
posted @ 2021-03-08 11:37 故木 阅读(415) 评论(0) 推荐(0)
摘要: 拉取镜像 docker pull sonatype/nexus3 生成容器 # 此处要修改数组机目录为777即/usr/nexus-data docker run -d -p 8081:8081 --name nexus -v /usr/nexus-data:/nexus-data --restar 阅读全文
posted @ 2021-02-19 21:23 故木 阅读(154) 评论(0) 推荐(0)
摘要: 本文参考:https://www.cnblogs.com/mithrilon/p/13985710.html 获取镜像 docker pull twang2218/gitlab-ce-zh 生成镜像参数 docker run --name "gitlabTest" --hostname "106.5 阅读全文
posted @ 2021-02-19 11:02 故木 阅读(147) 评论(0) 推荐(0)
摘要: Object源码 public class Object { //native表明该方法是否操作系统实现,java调用操作系统底层代码获取哈希值 public native int hashCode(); //直接比较地址 public boolean equals(Object obj) { re 阅读全文
posted @ 2021-02-05 13:40 故木 阅读(403) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 13 下一页