09 2017 档案

摘要:配置ssh免密钥登陆多台从机 在布置集群时常常需要通过ssh来登陆多台从机,如果用手动配置的办法去配置多台主机就会比较费时费力,本文通过简单的脚本来配置ssh登陆多台主机 主节点kube1的配置 配置主机名 在/etc/hosts 文件中输入各个机子的ip与主机名,随后将这份文件复制到各个主机的/e 阅读全文
posted @ 2017-09-22 14:26 ethan2lee 阅读(533) 评论(0) 推荐(0)
摘要:"developer guide" Nifi install nifi config At a minimum, we recommend editing the nifi.properties file and entering a password for the nifi.sensitive. 阅读全文
posted @ 2017-09-19 00:00 ethan2lee 阅读(630) 评论(0) 推荐(0)
摘要:Configure Access to Multiple Clusters Install and Set Up kubectl Configure Access to Multiple Clusters Create a directory named config exercise. In yo 阅读全文
posted @ 2017-09-18 23:58 ethan2lee 阅读(227) 评论(0) 推荐(0)
摘要:kubernetes集群搭建(kubeadm,kubelet) Installing kubeadm on your hosts "Install and Set Up kubectl" To add kubectl autocompletion to your current shell, run 阅读全文
posted @ 2017-09-18 23:55 ethan2lee 阅读(251) 评论(0) 推荐(0)
摘要:shell 编程 判断 判断23是否大于22 判断23 是否小于22 多重条件判断 判断1 a 判断2 : 逻辑与 判断1 o 判断2 : 逻辑或 !判断 : 逻辑非 流程控制 单分支if条件语句 判断登陆用户是否为root用户 判断分区使用率 双分支if条件语句 [格式]: 判断是否为一个目录 判 阅读全文
posted @ 2017-09-17 14:09 ethan2lee 阅读(179) 评论(1) 推荐(0)
摘要:系统管理 进程管理 显示当前进程数 重启进程 强制停止进程 强制停止某一类进程 清除远程登陆的用户 更改进程优先级 工作管理 将运行的进程放入后台 command & top 按下 快捷键 ,放在后台暂停 查看后台工作 将后台暂停的工作恢复至前台 将工作恢复到后台运行 脱离终端后,后台程序不停止 系 阅读全文
posted @ 2017-09-15 01:41 ethan2lee 阅读(181) 评论(0) 推荐(0)
摘要:下载java wget no check certificate no cookies header "Cookie: oraclelicense=accept securebackup cookie" http://download.oracle.com/otn pub/java/jdk/8u14 阅读全文
posted @ 2017-09-14 21:44 ethan2lee 阅读(340) 评论(0) 推荐(0)
摘要:web appication server install apache install Apache using your package manager with the following command : use your browser to visiting http://localh 阅读全文
posted @ 2017-09-14 21:43 ethan2lee 阅读(93) 评论(0) 推荐(0)
摘要:"Designing Scalable, Portable Docker Container Networks" [toc] Docker host Network Driver Docker Bridge Network Driver 1. bridge is the name of the Do 阅读全文
posted @ 2017-09-13 19:44 ethan2lee 阅读(406) 评论(0) 推荐(0)
摘要:create a swarm 创建一个新的集群 Run docker info to view the current state of the swarm: run the following command on a manager node to retrieve the join comma 阅读全文
posted @ 2017-09-13 00:10 ethan2lee 阅读(185) 评论(0) 推荐(0)
摘要:swarm create a couple of VMs using docker machine, using the VirtualBox driver: Instruct myvm1 to become a swarm manager with and you’ll see output li 阅读全文
posted @ 2017-09-12 10:38 ethan2lee 阅读(352) 评论(0) 推荐(0)
摘要:docker machine 查看可用镜像 建立一个节点 (如果系统没有预先安装好boot2docker,需要FQ下载该镜像。) 显示可用的节点 告知 Docker 去 联系新的机器 获取节点的ip地址 停止一个节点 阅读全文
posted @ 2017-09-12 09:25 ethan2lee 阅读(411) 评论(0) 推荐(0)
摘要:绑定卷 下面的命令将启动一个Apache HTTP 服务器,你的新目录将会被绑定挂载在服务器文档根目录中: docker run d name bmweb v ~/example docs:/usr/ocal/apache2/htdocs p 80:80 httpd:latest 使用‘ v’选项和 阅读全文
posted @ 2017-09-04 16:35 ethan2lee 阅读(604) 评论(0) 推荐(0)
摘要:[toc] 创建存储卷容器 docker run d volume /var/lib/cassandra/data name cass shared alpine echo Data Container 容器创建后将立即停止,我们会在创建运行新的Cassandra 新容器时,使用这个存储卷。 doc 阅读全文
posted @ 2017-09-04 13:22 ethan2lee 阅读(265) 评论(0) 推荐(0)
摘要:[toc] 容器 状态 1. 运行 2. 已暂停 3. 重新启动 4. 已退出 自动重启容器 1. 构建一个总是重新启动并简单打印时间的容器,并查看日志 docker run d name backoff detector restart always busybox date docker log 阅读全文
posted @ 2017-09-04 11:26 ethan2lee 阅读(177) 评论(0) 推荐(0)
摘要:Docker 使用环境变量来传达相关信息,包括容器的守护选项,容器主机名,以及其他在容器中运行的实用信息。 docker run rnv MY_ENVIRONMENT_VAR=“this is a test ” busybox:batest env env 或 e ,可用于注入任何环境变量。 解决数 阅读全文
posted @ 2017-09-04 10:43 ethan2lee 阅读(899) 评论(0) 推荐(0)
摘要:这篇文章下的指令都是我在工作年中常用到的一些操纵docker中container的小技巧。 1. 如果只是做短暂的容器实验,可以通过在命令中指定 来避免清理工作的负担。容器进入退出状态时,就会自动删除。 例如,下面的命令会将一个新的busyboy 容器显示的消息写到屏幕上并在容器退出时立即被删除: 阅读全文
posted @ 2017-09-03 22:19 ethan2lee 阅读(116) 评论(0) 推荐(0)
摘要:Welcome to Marxico @(Sample notebook)[Marxico|Manual|Markdown] Marxico is a delicate Markdown editor for Evernote. With reliable storage and sync powe 阅读全文
posted @ 2017-09-03 09:52 ethan2lee 阅读(215) 评论(0) 推荐(0)