上一页 1 2 3 4 5 6 ··· 13 下一页
摘要: 病毒表现:网络流量暴满,疯狂地向香港的一个IP发数据,同时在top里面表现为随机的10位字母的进程,看/proc里面的信息,则为ls,cd之类常见的命令,CPU利用率也在top之首。杀死该进程后,会再随机产生一个新的进程。查找步骤:一、/proc/_pid/cmdline里面都是伪造的信息,ps显示 阅读全文
posted @ 2016-11-04 18:01 bethal 阅读(1358) 评论(0) 推荐(0) 编辑
摘要: 1、下载私服镜像docker pull registry 2、启动容器docker run -d -p 5000:5000 -v /opt/data/registry:/var/lib/registry --restart=always registry 3、修改仓库地址/lib/systemd/s 阅读全文
posted @ 2016-11-04 17:27 bethal 阅读(1146) 评论(0) 推荐(0) 编辑
摘要: 1.首先介绍一下指令和相关配置文件 启动指令:service iptables start 重启指令:service iptables restart 关闭指令:service iptables stop 然后是相关配置:/etc/sysconfig/iptables 如何操作该配置呢? vim / 阅读全文
posted @ 2016-10-28 15:14 bethal 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 前言:前面的部分一直都是单机跑docker,但实际生产环境不可能只用一台来跑。肯定会用到多台,因为他们都是内部私有ip,那么多台主机之间的容器如何通信?这个是个很头疼的问题!目前主流几种方法如下: 1、使用路由机制打通网络 2、使用Open vSwitch(OVS)打通网络 3、使用flannel来 阅读全文
posted @ 2016-10-18 15:33 bethal 阅读(1611) 评论(0) 推荐(0) 编辑
摘要: 一、索引基础: MongoDB的索引几乎与传统的关系型数据库一模一样,这其中也包括一些基本的优化技巧。下面是创建索引的命令: > db.test.ensureIndex({"username":1}) 可以通过下面的名称查看索引是否已经成功建立: > db.test.getIndexes() 删除索 阅读全文
posted @ 2016-10-18 14:27 bethal 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 到目前我们介绍了一些Docker的基础概念, 知道了如何使用Docker的image, 也知道了如何在多个container间通过网络通讯. 在这章里我们将介绍如何在docker的container内管理数据以及如何在不同的container间共享数据。 我们将介绍两种主要的在docker中管理数据 阅读全文
posted @ 2016-10-13 14:12 bethal 阅读(513) 评论(0) 推荐(0) 编辑
摘要: 备份 导出数据库所有表结构 ? 1 mysqldump -uroot -ppassword -d dbname > db.sql ? 1 mysqldump -uroot -ppassword -d dbname > db.sql ? 1 mysqldump -uroot -ppassword -d 阅读全文
posted @ 2016-10-13 11:09 bethal 阅读(1474) 评论(0) 推荐(0) 编辑
摘要: Find and run the whalesay image People all over the world create Docker images. You can find these images by browsing the Docker Hub. In this next sec 阅读全文
posted @ 2016-10-12 17:03 bethal 阅读(297) 评论(0) 推荐(0) 编辑
摘要: Learn about images & containers Docker Engine provides the core Docker technology that enables images and containers. As the last step in your install 阅读全文
posted @ 2016-10-12 17:02 bethal 阅读(197) 评论(0) 推荐(0) 编辑
摘要: Ubuntu Docker is supported on these Ubuntu operating systems: Ubuntu Xenial 16.04 (LTS) Ubuntu Trusty 14.04 (LTS) Ubuntu Precise 12.04 (LTS) This page 阅读全文
posted @ 2016-10-12 17:01 bethal 阅读(508) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 13 下一页