随笔 - 502  文章 - 1 评论 - 6 阅读 - 37万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

04 2018 档案
Liunx cannot remove `xxx': Operation not permitted
摘要:链接: http://mangocool.com/detail_1_1439515930283.html 解到原来文件还可以设置隐藏权限,就是这个chattr设置,下面我们来看看这个命令的详解。 [root]#chattr --help Usage: chattr [-RV] [-+=AacDdij 阅读全文
posted @ 2018-04-27 10:40 1161588342 阅读(497) 评论(0) 推荐(0) 编辑
Linux CPU 100%, kill -9 杀不掉进程
摘要:1: top 查看 >top -c 此时 我们使用kill -9 15003, 杀掉这个进程短暂的CPU降低几秒, 然后死灰复燃了, 又一个进程占了CPU 99% 2: 查看15003 进程状态, > cat /proc/15003/status Pid :当前进程ID PPid:当前进程的父进程 阅读全文
posted @ 2018-04-25 17:30 1161588342 阅读(1457) 评论(0) 推荐(0) 编辑
docker-compose 安装
摘要:官网地址 https://docs.docker.com/compose/install/#install-compose 安装高版本docker-compose 添加执行权限 Note: If the command docker-compose fails after installation, 阅读全文
posted @ 2018-04-25 15:28 1161588342 阅读(160) 评论(0) 推荐(0) 编辑
Spring cloud 分布式锁
摘要:https://github.com/easonstudy/springboot_demo study目录中 阅读全文
posted @ 2018-04-25 11:51 1161588342 阅读(145) 评论(0) 推荐(0) 编辑
Mybait 快速生成Java POJO文件 及数据库Mapping文件。
摘要:https://github.com/zouzg/mybatis-generator-gui 阅读全文
posted @ 2018-04-24 15:34 1161588342 阅读(129) 评论(0) 推荐(0) 编辑
Git 提交所有文件
摘要:https://blog.csdn.net/qq_28093585/article/details/78749153 阅读全文
posted @ 2018-04-24 11:25 1161588342 阅读(167) 评论(0) 推荐(0) 编辑
Docker dockerfile-maven-plugin 使用
摘要:https://blog.csdn.net/liubingyu12345/article/details/79015966 背景: 环境阿里云CentOs7下面Docker部署Spring boot 项目 1:docker配置 1.1: docker安装 1.2: 开启docker 远程api 参考 阅读全文
posted @ 2018-04-23 18:30 1161588342 阅读(3926) 评论(0) 推荐(0) 编辑
Docker remote api 开启
摘要:https://www.cnblogs.com/520playboy/p/7921633.html ExecStart=/usr/bin/dockerd-current -H unix:///var/run/docker.sock -H tcp://0.0.0.0:2375 \ 阅读全文
posted @ 2018-04-23 17:23 1161588342 阅读(131) 评论(0) 推荐(0) 编辑
Linux git 关联 github仓库
摘要:背景: 由于最近学习Spring cloud docker 一键部署, 需要把github仓库项目, 放在Linux上面启动, (以下位置在/root/目录中执行)步骤, 1:安装 git >yum install git -y 查看安装是否成功 >git --version 2:生成ssh ls 阅读全文
posted @ 2018-04-23 12:17 1161588342 阅读(272) 评论(0) 推荐(0) 编辑
Dockerfile 详解, Docker run 详解,
摘要:https://www.cnblogs.com/sorex/p/6481407.html#volume Docker run详解 https://www.cnblogs.com/yfalcon/p/9044246.html 阅读全文
posted @ 2018-04-18 16:12 1161588342 阅读(617) 评论(0) 推荐(0) 编辑
Spring cloud Eureka高可用 - 配置
摘要:个人项目源码: https://github.com/easonstudy/cloud-demo/tree/master/eureka-peer-server Window 7 修改hosts http://www.cnblogs.com/eason-d/p/8874549.html 注意不要在pe 阅读全文
posted @ 2018-04-18 15:10 1161588342 阅读(108) 评论(0) 推荐(0) 编辑
Spring cloud Eureka高可用 - Windows 7 hosts文件立即生效
摘要:hosts 文件所在位置 c:/windows/system32/drivers/etc/hosts 左下角 搜索框 搜索 cmd 弹出命令框 输入 ipconfig /displaydns 显示所有 dns内容 ipconfig /flushdns 刷新所有 dns内容 阅读全文
posted @ 2018-04-18 14:20 1161588342 阅读(305) 评论(0) 推荐(0) 编辑
Eclipse 异常关闭
摘要:缺失 Java Builder 造成运行main方法,找不到主类, 系统没有自动编译 在.project 文件中添加 <buildSpec> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </argu 阅读全文
posted @ 2018-04-17 14:04 1161588342 阅读(113) 评论(0) 推荐(0) 编辑
Spring boot 项目demo
摘要:https://github.com/souyunku/spring-boot-examples 阅读全文
posted @ 2018-04-17 10:02 1161588342 阅读(96) 评论(0) 推荐(0) 编辑
Mysql Windows 7 异常关闭, 2003 - Can't connect to Mysql server on 'localhost' (10061) "Unknown error")
摘要:如下: 按Win+R在窗口输入services.msc 启动mysql服务 阅读全文
posted @ 2018-04-17 09:34 1161588342 阅读(213) 评论(0) 推荐(0) 编辑
Linux 端口占用查询
摘要:https://www.cnblogs.com/wangtao1993/p/6144183.html 阅读全文
posted @ 2018-04-16 12:05 1161588342 阅读(1251) 评论(0) 推荐(0) 编辑
Linux Centos 7 RabbitMQ 安装
摘要:参考地址: https://blog.csdn.net/mumanquan1/article/details/122074059 Rabiitmq 和 Erlang 的版本对照(本人RabiitMq 3.8.0 Erlang 22) https://www.rabbitmq.com/docs/whi 阅读全文
posted @ 2018-04-13 18:49 1161588342 阅读(236) 评论(0) 推荐(0) 编辑
spring-boot-actuator报错Full authentication is required to access this resource
摘要:https://blog.csdn.net/fly910905/article/details/78580895 方式1-关闭验证 方式1-关闭验证 application.properties添加配置参数 management.security.enabled=false 方式2-开启HTTP b 阅读全文
posted @ 2018-04-13 18:04 1161588342 阅读(607) 评论(0) 推荐(0) 编辑
Spring cloud @RefreshScope使用
摘要:参数 请求 http://localhost:8881/refresh 阅读全文
posted @ 2018-04-13 17:24 1161588342 阅读(1021) 评论(0) 推荐(0) 编辑
Spring cloud config-client 爬坑
摘要:配置文件 找不到属性 Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'from' in string value "${from}" 阅读全文
posted @ 2018-04-13 17:01 1161588342 阅读(138) 评论(0) 推荐(0) 编辑
Spring cloud 两种服务调用方式(Rest + Ribbon) 和 Fegin方式
摘要:1:Rest + Ribbon 2:Fegin默认 集成Ribbon 阅读全文
posted @ 2018-04-13 13:17 1161588342 阅读(297) 评论(0) 推荐(0) 编辑
Eureka 客户端 配置Eureka 爬坑
摘要:配置客户端 阅读全文
posted @ 2018-04-13 12:29 1161588342 阅读(262) 评论(0) 推荐(0) 编辑
Linux IO模式及 select、poll、epoll详解
摘要:https://segmentfault.com/a/1190000003063859?utm_source=Weibo&utm_medium=shareLink&utm_campaign=socialShare&from=timeline&isappinstalled=0 阅读全文
posted @ 2018-04-11 13:54 1161588342 阅读(106) 评论(0) 推荐(0) 编辑
Java 回调机制
摘要:https://www.cnblogs.com/heshuchao/p/5376298.html 阅读全文
posted @ 2018-04-10 15:08 1161588342 阅读(92) 评论(0) 推荐(0) 编辑
Spring Boot SSO单点登入
摘要:https://github.com/ITDragonBlog/daydayup/tree/master/SpringBoot-SSO 流程图: 1: Redis 保存用户信息 到Redis(KEY->VALUE) 数据库 2: 保存Cookie信息(用户标识)到浏览器 3: 其他项目添加登入拦截器 阅读全文
posted @ 2018-04-02 16:00 1161588342 阅读(311) 评论(0) 推荐(0) 编辑
js 和 java互调
摘要:Java调JS JDK1.8 中Nashorn 比JavaScript性能更好 https://blog.csdn.net/al_assad/article/details/60584351 阅读全文
posted @ 2018-04-02 12:39 1161588342 阅读(214) 评论(0) 推荐(0) 编辑
Nginx 实现 IP+项目名 访问
摘要:参考: https://blog.csdn.net/csdn1152789046/article/details/51362735 修改前 项目放在Tomcat的webapps/ROOT/ 目录下面 http://IP 直接访问 修改后 项目(mall) 放在webapps/ 目录下面 移除原来we 阅读全文
posted @ 2018-04-02 11:39 1161588342 阅读(5535) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示