上一页 1 ··· 95 96 97 98 99 100 101 102 103 ··· 198 下一页
摘要: mkdir docker_demo cd docker_demo wget http://nginx.org/download/nginx-1.2.9.tar.gz vim Dockerfile FROM centos MAINTAINER test@qq.com ADD nginx-1.2.9.t 阅读全文
posted @ 2019-09-19 15:04 brady-wang 阅读(529) 评论(0) 推荐(0)
摘要: docker之Dockerfile实践 先查看下本地的镜像,选一个作为base image: [root@docker ~]# docker images REPOSITORY TAG IMAGE ID CREATED SIZE wadeson/centos_nginx v1 210a202d37b 阅读全文
posted @ 2019-09-19 14:24 brady-wang 阅读(399) 评论(0) 推荐(0)
摘要: 系统:centos Docker从1.13版本之后采用时间线的方式作为版本号,分为社区版CE和企业版EE。 社区版是免费提供给个人开发者和小型团体使用的,企业版会提供额外的收费服务,比如经过官方测试认证过的基础设施、容器、插件等。 社区版按照stable和edge两种方式发布,每个季度更新stabl 阅读全文
posted @ 2019-09-18 16:19 brady-wang 阅读(420) 评论(0) 推荐(0)
摘要: 虚拟机盒子地址 https://app.vagrantup.com/boxes/search config.vm.network "forwarded_port", guest: 22, host: 2222, id: "ssh", disabled: "true" config.vm.networ 阅读全文
posted @ 2019-09-18 11:54 brady-wang 阅读(319) 评论(0) 推荐(0)
摘要: nohup command > myout.file 2>&1 & nohup command > /dev/null 2>&1 & 阅读全文
posted @ 2019-09-16 15:34 brady-wang 阅读(211) 评论(0) 推荐(0)
摘要: 服务端: 客户端 服务端 启动 php Chat.php 访问客户端的html 浏览器打开 参考 https://www.jianshu.com/p/ac77f05bee56 阅读全文
posted @ 2019-09-16 11:11 brady-wang 阅读(782) 评论(0) 推荐(0)
摘要: 文件 HttpServer.php cli执行 php HttpServer.php 浏览器访问 http://192.168.1.200:9501 ip为自己虚拟机ip 阅读全文
posted @ 2019-09-13 21:41 brady-wang 阅读(276) 评论(0) 推荐(0)
摘要: TcpServer.php 进入 cli模式 执行 php TcpServer.php 开始监听本机的9501端口 ps -aft|grep TcpServer.php netstat -tlunp|grep 9501 可查看是否成功 连接tcp 通过telnet mac brew install 阅读全文
posted @ 2019-09-13 21:38 brady-wang 阅读(330) 评论(0) 推荐(0)
摘要: ps -aft|grep tcp_server 阅读全文
posted @ 2019-09-13 15:20 brady-wang 阅读(552) 评论(0) 推荐(0)
摘要: nginx和php-fpm调用方式 一.背景: 在开发中碰到一个问题,项目以nginx+php-fpm形式访问交互,结果访问项目时报错如下图: 二.分析: 提示很明确嘛,去看error.log(在nginx.conf或者vhost里头配置的,找到你对应路径即可) 错误信息如下: 1 2 3 2017 阅读全文
posted @ 2019-09-13 15:11 brady-wang 阅读(403) 评论(0) 推荐(0)
上一页 1 ··· 95 96 97 98 99 100 101 102 103 ··· 198 下一页