上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: 前提:jenkins和springboot运行在同一台机器 springboot 通过winsw部署为服务 winsw 下载地址:https://github.com/kohsuke/winsw/releases winsw的使用比较简单,下载上面两个文件,和springboot项目jar包一个文件 阅读全文
posted @ 2018-12-12 18:00 宅山仔 阅读(2705) 评论(0) 推荐(0) 编辑
摘要: 前提:jenkins和springboot运行在同一台机器 springboot项目使用git和maven jenkins所需的插件如Maven,Git等这里就不再详述。 1.jenkins配置git和maven,系统管理-全局工具配置 如下: 2.新建一个maven项目 主要的一些配置如下: 构建 阅读全文
posted @ 2018-12-12 16:52 宅山仔 阅读(3317) 评论(2) 推荐(1) 编辑
摘要: 前提:jdk等已安装 jenkins下载地址:https://jenkins.io/download/ 以我目前的知识记录两种启动方式: 1.直接下载war包 通过 java -jar jenkins.war java -jar jenkins.war --httpPort=8081 或放入tomc 阅读全文
posted @ 2018-12-12 14:29 宅山仔 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 1. expdp导出步骤 1.1 用sys管理员登录sqlplus [root@hxjk_test_mysql_redis_file oracle]# sqlplus SQL*Plus: Release 11.2.0.1.0 Production on Wed Nov 21 21:49:35 201 阅读全文
posted @ 2018-11-21 22:41 宅山仔 阅读(517) 评论(0) 推荐(0) 编辑
摘要: 记录下日志中常用的日志查看命令。 1. tail -n 10 -f **.log 显示日志文件尾部10行日志,当有新日志产生,会追加显示。 2. tail 命令 现ff.sh中有如下信息: tail -n 5 ff.sh 显示文件后5行日志和tail -n -5 ff.sh效果一样 tail -n 阅读全文
posted @ 2018-11-07 17:19 宅山仔 阅读(1457) 评论(0) 推荐(0) 编辑
摘要: 使用crontab,定时监控 kafka进程,发现挂了后重启。 shell脚本如下: crontab设置如下,每一分钟检测一次: 阅读全文
posted @ 2018-11-01 23:27 宅山仔 阅读(4824) 评论(0) 推荐(0) 编辑
摘要: 1.启动后第一个报错如下: [error] k.m.a.c.BrokerViewCacheActor - Failed to get broker metrics for BrokerIdentity(1,192.168.204.111,9999,false,true,Map(PLAINTEXT - 阅读全文
posted @ 2018-10-30 10:42 宅山仔 阅读(5602) 评论(0) 推荐(0) 编辑
摘要: 1.单分支结构 第一种语法: if <条件表达式> then 指令 fi 第二种语法: if <条件表达式>; then 指令 fi 阅读全文
posted @ 2018-10-29 11:52 宅山仔 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-10-26 11:20 宅山仔 阅读(3512) 评论(1) 推荐(0) 编辑
摘要: shell脚本的条件测试 1、test 格式:test <测试表达式> test -f : 测试文件存在且为普通文件 test -z : 测试字符串长度为0 test命令执行成功(为真)则执行&&后面的命令,失败(为假)执行||后面的命令。 2、[](中括号) 格式:[ <测试表达式> ],和tes 阅读全文
posted @ 2018-10-26 10:39 宅山仔 阅读(1064) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页