摘要: virtualbox 安装网络(安装时候记得开启第二块网卡 设置为host-only) a1, 第一块网卡默认nat模式 安装完 修改eth0 开启 onboot=yes即可上网了 b,第二块网卡host-only 为了本地与linux通信 设置 网卡为static静态获取ip 并 增加 IPADDR =192.168.xx.XX NETMAST =255.255.255.0 如此 ... 阅读全文
posted @ 2017-10-08 00:48 千魔 阅读(208) 评论(0) 推荐(0) 编辑
摘要: #依赖pcre 库: yum -y install pcre pcre-devel #依赖zlib库:yum -y install zlib zlib-devel openssl openssl-devel 阅读全文
posted @ 2017-10-08 00:45 千魔 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 1.go包管理工具 glide使用 glide官方文档:http://glide.readthedocs.io/en/stable/?badge=stable glide-github:https://github.com/Masterminds/glide 1.1 安装glide go get g 阅读全文
posted @ 2017-10-08 00:39 千魔 阅读(109) 评论(0) 推荐(0) 编辑
摘要: docker-compose up -d docker exec -it 容器id /bin/bash docker save mynewimage > /tmp/xxxx.tardocker load < xxxx.tar docker pull xxxurl docker run docker 阅读全文
posted @ 2017-10-08 00:37 千魔 阅读(116) 评论(0) 推荐(0) 编辑
摘要: yum install –y docker-io yum search docker 阅读全文
posted @ 2017-10-08 00:36 千魔 阅读(115) 评论(0) 推荐(0) 编辑
摘要: Content-Type的值影响php的输入流 1,Content-Type仅在取值为application/x-www-data-urlencoded和multipart/form-data两种情况下,PHP才会将http请求数据包中相应的数据填入全局变量$_POST 2,PHP不能识别的Cont 阅读全文
posted @ 2017-10-08 00:00 千魔 阅读(320) 评论(0) 推荐(0) 编辑