摘要: tail -f /var/log/nginx/access.log 查看nginx访问日志 安装ab压测工具 连接限制只有公有云才能测出,虚拟机只能测请求限制 添加用户 覆盖用户 新增用户 文件是配置文件 阅读全文
posted @ 2019-03-17 09:34 apesplan 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-03-15 22:27 apesplan 阅读(155) 评论(0) 推荐(0) 编辑
摘要: select模型主要是apache用 FD 文件描述符 soa架构 安装nginx ping baidu.com netstat -lntup 查看端口 cat /etc/redhat-release 查看内核 安装依赖 yum install -y gcc gcc-c++ autoconf pcr 阅读全文
posted @ 2019-03-15 22:09 apesplan 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-03-15 21:47 apesplan 阅读(93) 评论(0) 推荐(0) 编辑
摘要: Docker 持久化数据 实战 compose 安装docker-compose 阅读全文
posted @ 2019-03-15 21:10 apesplan 阅读(618) 评论(0) 推荐(0) 编辑
摘要: 创建test1 test2 两个network namespace 两个network namespace没有被启动 启动了但是有没有与network关联 创建两个veth,用于关联两个network namespace 把veth 10 放到test1 network namespace中 把ve 阅读全文
posted @ 2019-03-12 22:58 apesplan 阅读(853) 评论(0) 推荐(0) 编辑
摘要: dckerfile2这样写才对,不然打印的是hello $name 例子 登陆https://hub.docker.com 上面是提交到公共仓库 创建本地私有仓库 开启另外一个虚机,将重新构建上传镜像 创建好了镜像直接push会报错,需加配置 加上 重启docker 验证是否push成功 阅读全文
posted @ 2019-03-12 11:34 apesplan 阅读(129) 评论(0) 推荐(0) 编辑
摘要: docker container ls -f "status=exited" docker rm $(docker container ls -f "status=exited" -q) 阅读全文
posted @ 2019-03-12 11:31 apesplan 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 首先需要先安装virtualbox https://www.vagrantup.com/ 下载安装vagrant 安装完毕后通过vagrant下载镜像,生成实例 mkdir test_centos7 cd test_centos7 vagrant init centos/7 vagrant up 可 阅读全文
posted @ 2019-03-12 11:28 apesplan 阅读(673) 评论(0) 推荐(0) 编辑
摘要: sudo yum remove docker docker-common docker-selinux docker-engine sudo yum install -y yum-utils device-mapper-persistent-data lvm2 sudo yum-config-man 阅读全文
posted @ 2019-03-12 09:25 apesplan 阅读(167) 评论(0) 推荐(0) 编辑