diff --git a/CNAME b/CNAME
deleted file mode 100644
index 2cc0d5336fa..00000000000
--- a/CNAME
+++ /dev/null
@@ -1 +0,0 @@
-blog.milin.space
diff --git a/README.md b/README.md
index e6c52c94333..4a0fbffa098 100644
--- a/README.md
+++ b/README.md
@@ -1 +1 @@
-Marco's Blog
\ No newline at end of file
+Milin's Blog
\ No newline at end of file
diff --git a/README.zh.md b/README.zh.md
index 458ff70644d..b9fb10307ed 100644
--- a/README.zh.md
+++ b/README.zh.md
@@ -1 +1 @@
-mubanjiu的博客
\ No newline at end of file
+密林的博客
\ No newline at end of file
diff --git a/_config.yml b/_config.yml
index cbf58bc650a..94570168f1b 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,23 +1,18 @@
# Site settings
-title: 木斑鸠的博客
-SEOTitle: 木斑鸠的博客 | mubanjiu Blog
+title: 密林的博客
+SEOTitle: 密林的博客 | milin Blog
header-img: img/home-bg.jpg
-email: woodbird456@gmail.com
-description: "许敏:系统架构师"
-keyword: "许敏,Java,Docker,Hadoop,淘宝"
-url: "http://mubanjiu.com" # your host, for absolute URL
+email: 417156994@qq.com
+description: "廖长军:高级工程师"
+keyword: "廖长军,Java,Docker,Spark,Hadoop"
+url: "http://blog.milin.space" # your host, for absolute URL
baseurl: "" # for example, '/blog' if your blog hosted on 'host/blog'
timezone: Asia/Shanghai
# SNS settings
RSS: false
-#weibo_username: mubanjiu
-#zhihu_username: mubanjiu
-github_username: woodbird
-#twitter_username: woodbird
-#facebook_username: woodbird
-# linkedin_username: firstname-lastname-idxxxx
+github_username: lcjqyml
@@ -48,10 +43,10 @@ kramdown:
# Disqus settings
-#disqus_username: mubanjiu
+#disqus_username: milin
# Duoshuo settings
-duoshuo_username: mubanjiu
+duoshuo_username: milin
# Share component is depend on Comment so we can NOT use share only.
duoshuo_share: true # set to false if you want to use Comment without Sharing
@@ -67,7 +62,7 @@ ba_track_id: 132637c33edd2ef319958568e54f70be
# Sidebar settings
sidebar: true # whether or not using Sidebar.
-sidebar-about-description: "享受着一天比一天更加强大的感觉,享受着美好的生活,一切都很好,真好....."
+sidebar-about-description: "生命就如狂风中倔强燃烧着的蜡烛,随时都有可能熄灭。所以,对于你所向往的,尽管去追寻吧!就算失败也没什么,至少你不会后悔..."
sidebar-avatar: /img/avatar.jpg # use absolute URL, seeing it's used in both `/` and `/about/`
@@ -82,6 +77,6 @@ featured-condition-size: 1 # A tag will be featured if the size of
friends: [
{
title: "广告位招租",
- href: "http://mubanjiu.com"
+ href: "http://blog.milin.space"
}
]
diff --git a/_posts/2016-05-04-Hello-World.markdown b/_posts/2016-05-04-Hello-World.markdown
deleted file mode 100644
index 870555df0a0..00000000000
--- a/_posts/2016-05-04-Hello-World.markdown
+++ /dev/null
@@ -1,16 +0,0 @@
----
-layout: post
-title: "Hello World"
-subtitle: "一片新的乐土"
-date: 2016-05-04
-author: "mubanjiu"
-catalog: true
-tags:
- - 随笔
----
-
-## 前言
-
-从大学时,刚刚学会搭网站,就给自己搭了个博客,里面放着各种感情心得,各种照片,自己觉得很洋气,可以免俗的不用往QQ空间里面写东西。
-工作这些年,一直都想要沉淀一点东西,总是三分钟热度,不能坚持下来。一晃眼,已经工作7年有余了,回头看看,的确经历了不少东西,也学会了不少东西,但是却少有文字的沉淀,总感觉是少了点什么。
-花了半天时间学会了在github上撘blog,希望这是个新的开始,若干年后再看到这些文字,不知道是否能对得起自己的这份热情。
\ No newline at end of file
diff --git "a/_posts/2016-12-13-\347\254\254\344\270\200\347\257\207\345\215\232\345\256\242.markdown" "b/_posts/2016-12-13-\347\254\254\344\270\200\347\257\207\345\215\232\345\256\242.markdown"
new file mode 100644
index 00000000000..d0409dd04a5
--- /dev/null
+++ "b/_posts/2016-12-13-\347\254\254\344\270\200\347\257\207\345\215\232\345\256\242.markdown"
@@ -0,0 +1,16 @@
+---
+layout: post
+title: "第一篇博客"
+subtitle: "一片新的乐土"
+date: 2016-12-13
+author: "Milin"
+catalog: true
+tags:
+ - 随笔
+---
+
+## 博客技术支持
+* 感谢[github](https://github.com/)提供的免费平台
+* 感谢[木斑鸠](https://github.com/woodbird/woodbird.github.io)的技术分享
+* 感谢勤劳的自己!`谨以此希望自己在现在以及不可期的未来不忘初心`
+
diff --git a/about.html b/about.html
index e5009959bee..8c5b99f6061 100644
--- a/about.html
+++ b/about.html
@@ -15,11 +15,11 @@
-
享受技术
- 热爱生活
+
愿:不忘初心
-
我是许敏,09年毕业于西南大学计科系。毕业后在淘宝和天猫的会员营销共工作过近3年的时间,也曾在创业小团队热情拼搏过一段时间,现在从事着大数据计算相关的工作。
- keywords: java,hadoop,spark,kafka,docker,recommender system
+
本人廖长军,毕业于四川农业大学计算机科学与技术专业,2010年大三在学校工作室接触java web开发,2014年开始接触大数据技术,且学且用。
+ 前路风光无限,怎生是好...^_^
+ keywords: java,spring,hadoop,spark,kafka,docker
diff --git a/_posts/2016-10-17-ELK.markdown b/bak/.2016-10-17-ELK.markdown_
similarity index 100%
rename from _posts/2016-10-17-ELK.markdown
rename to bak/.2016-10-17-ELK.markdown_
diff --git a/_posts/2016-05-05-Docker-K8S.markdown b/bak/2016-05-05-Docker-K8S.markdown
similarity index 97%
rename from _posts/2016-05-05-Docker-K8S.markdown
rename to bak/2016-05-05-Docker-K8S.markdown
index ff21c5808ed..f5cefd086be 100644
--- a/_posts/2016-05-05-Docker-K8S.markdown
+++ b/bak/2016-05-05-Docker-K8S.markdown
@@ -1,473 +1,473 @@
----
-layout: post
-title: "CentOS7下Docker+k8s集群的安装过程"
-subtitle: ""
-date: 2016-05-05
-author: "mubanjiu"
-catalog: true
-tags:
- - 技术
- - devops
----
-
->本docker集群采用docker-engine + flannel + k8s来搭建
->将机器分为master和node两个角色,master上相对node多了registry,etcd,kube-apiserver,kube-scheduler,kube-controller-manager
-
->master为:192.168.1.200
->其他为node
-
-# 1.安装docker engine.(所有机器)
-1.1 升级所有软件包及系统内核: `yum update`
-1.2 `reboot`
-1.3 安装docker-engine: `curl -fsSL https://get.docker.com/ | sh`
-1.4 设为开机启动: `systemctl enable docker`
-
-# 2.修改registry(master)
-docker官方的Docker Hub由于各种原因在国内基本无法访问,好在有daocloud.io 提供的国内镜像。
-在/etc/systemd/system/docker.service.d/下新建docker.conf文件,内容为:
-
- [Service]
- ExecStart=
- ExecStart=/usr/bin/docker daemon -H fd:// --graph="/data/docker-data" --storage-driver=overlay --registry-mirror=http://78967139.m.daocloud.io --insecure-registry=78967139.m.daocloud.io
-
-重启docker:
-`systemctl daemon-reload`
-`systemctl restart docker`
-
-# 3.安装私有仓库(master)
-registry v2和v1之间有些区别,v2中如果registry配置了proxy,那这个registry就不能push image上去了。我们建私仓当然得push image上去了,所以私仓和proxy就得分开搭建。私仓用来管理我们自己的私有image,proxy用来加速Registry Hub。
-由于是搭建的内部集群,datacenter以外访问不了,故不考虑安全问题,将registry运行在container中:
-私仓:
-`docker run -d -p 80:5000 -v /data/docker-registry/private:/var/lib/registry --restart=always --name=registry_private registry:2`
-Proxy:
-`docker run -d -p 5000:5000 -v /data/docker-registry/proxy:/var/lib/registry -e REGISTRY_PROXY_REMOTEURL=http://78967139.m.daocloud.io --restart=always --name=registry_proxy registry:2`
-
-
-
-# 4.registry配置改成私有仓库(所有机器)
-修改/etc/systemd/system/docker.service.d/下的docker.conf文件,将相应地址改成私有仓库的地址即可
-
- [Service]
- ExecStart=
- ExecStart=/usr/bin/docker daemon -H fd:// --graph="/data/docker-data" --storage-driver=overlay --registry-mirror=http://192.168.1.200:5000 --insecure-registry=192.168.1.200
-
-然后重启docker
-`systemctl daemon-reload`
-`systemctl restart docker`
-
-# 5.安装etcd(master)
-etcd是给flannel和k8s用的配置管理中心,和zookeeper类似。本来想用docker跑etcd,但是由于flannel依赖etcd,而docker会依赖flannel,如果etcd再依赖docker,这样就变成了循环依赖,在启动的时候不知道哪个应该最先启动了。所以etcd还是只能直接跑在宿主机上。只部署了单台的etcd,考虑到HA,未来需扩展成为etcd集群。
-`yum install etcd`
-`systemctl enable etcd`
-修改etcd配置文件/etc/etcd/etcd.conf:
-修改这项:ETCD_LISTEN_CLIENT_URLS=http://0.0.0.0:2379,http://0.0.0.0:4001
-默认是监听的localhost,这样会导致其他机器无法访问etcd
-启动etcd:
-`systemctl start etcd`
-如果其他机器无法连接到etcd,可能是firewall的原因,根据情况配置或者直接关闭,我是直接关闭:`systemctl stop firewalld`
-
-
-
-# 6.安装flannel(所有机器)
-docker下的网络解决访问主要有calico,flannel,weave,docker overlay.他们的使用和对比可以参考下面这个blog:http://chunqi.li/2015/11/15/Battlefield-Calico-Flannel-Weave-and-Docker-Overlay-Network/
-经过了一些粗浅的比较,在calico和flannel vxlan之间纠结了一下,最后我选择的是flannel vxlan. 选择主要考量是性能和易用性
-使用yum安装flannel: `yum install flannel` ,repository里的并不是最新版本的flannel,如果需要最新版本的可以自己下载安装. 仓库中的flannel的-etcd-prefix默认值是/atomic.io/network 而自己安装的是/coreos.com/network,在写配置到etcd时需注意。
-
-flannel依赖etcd来获取配置和存储网络信息
-使用etcdctl将配置写入etcd:
-`etcdctl set /atomic.io/network/config '{"Network": "10.0.0.0/16","SubnetLen": 24,"SubnetMin": "10.0.1.0","SubnetMax": "10.0.200.0","Backend": {"Type": "vxlan"}}'`
-
-修改flannel配置/etc/sysconfig/flanneld :
-`FLANNEL_ETCD="http://192.168.1.200:2379"`
-`FLANNEL_OPTIONS="-ip-masq=true"`
-
--ip-masq=true 这个参数的目的是让flannel进行ip伪装,而不让docker进行ip伪装。这么做的原因是如果docker进行ip伪装,流量再从flannel出去,其他host上看到的source ip就是flannel的网关ip,而不是docker容器的ip。hadoop和hbase会依赖这个ip进行集群管理,而把flannel的网关当做cluster node将会出现问题。
-参见:https://luqmansahaf.github.io/2015/11/29/on-setting-hadoop-hbase-docker-networking/
-
-关闭firewall:
-`systemctl stop firewalld`
-`systemctl disable firewalld`
-
-启动flanneld
-`systemctl start flanneld`
-添加flanneld为开机启动
-`systemctl enable flanneld`
-
-修改docker启动脚本 /etc/systemd/system/docker.service.d/docker.conf:
-
- [Service]
- ExecStart=
- ExecStart=/usr/bin/docker daemon -H fd:// $DOCKER_NETWORK_OPTIONS --graph="/data/docker-data" --storage-driver=overlay --registry-mirror=http://192.168.1.200:5000 --insecure-registry=192.168.1.200
-
-重启docker:
-`systemctl daemon-reload`
-`systemctl restart docker`
-通过以下命令检查docker0是否应用到了flanneld获取到的网络配置
-`ip add`
-`docker0: flags=4163