会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
东波
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
11
下一页
2019年7月30日
mongodb windows安装
摘要: 1,下载mongodb server 2,解压 3,创建目录 4,在解压出来的文件的bin目录下添加配置文件mongo.conf 5,启动
阅读全文
posted @ 2019-07-30 11:29 王东波
阅读(45)
评论(0)
推荐(0)
2019年7月24日
redis过期事件,swoole监听
摘要: $serv = new Swoole\Server('0.0.0.0', 9501, SWOOLE_BASE, SWOOLE_SOCK_TCP); $serv->set(array( 'worker_num' => 2, 'daemonize' => false, 'backlog' => 128, )); $serv->on('WorkerStart', funct...
阅读全文
posted @ 2019-07-24 18:11 王东波
阅读(131)
评论(0)
推荐(0)
deploy.php
摘要: user('www-data') ->set('branch', 'master') ->set('deploy_path', '部署地址'); // Tasks desc('Deploy your project'); task('deploy', [ 'deploy:info', 'deploy:prepare', 'deploy...
阅读全文
posted @ 2019-07-24 12:53 王东波
阅读(163)
评论(0)
推荐(0)
2019年6月6日
tp5伪静态--宝塔
摘要: location / { if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=$1 last; break; } }
阅读全文
posted @ 2019-06-06 13:42 王东波
阅读(1024)
评论(0)
推荐(0)
The path "" is not a valid path to the 3.10.0-957.el7.x86_64 kernel headers.
摘要: 安装 kernel-devel
阅读全文
posted @ 2019-06-06 11:11 王东波
阅读(790)
评论(0)
推荐(0)
2019年5月12日
nginx给consul集群配置负载均衡
摘要: upstream consul { server 127.0.0.1:8501; server 127.0.0.1:8502; server 127.0.0.1:8503; } server { listen 80; server_name consul.test.com;#服务域名,需要填写你的服务域名 location ...
阅读全文
posted @ 2019-05-12 12:44 王东波
阅读(72)
评论(0)
推荐(0)
docker-compose启动consul集群
摘要: version: '2.0' services: consul-server1: image: consul:latest hostname: "consul-server1" ports: - "8501:8500" volumes: - ./consul/data1:/consul/data command: "agent ...
阅读全文
posted @ 2019-05-12 12:43 王东波
阅读(111)
评论(0)
推荐(0)
docker部署nginx服务器
摘要: 1,下载nginx镜像 2,启动 3,创建本地目录 4,复制容器中的配置文件到本地目录 5,启动新容器 命令说明: -p 8082:80: 将容器的 80 端口映射到主机的 8082 端口。 --name runoob-nginx-test-web:将容器命名为 runoob-nginx-test-
阅读全文
posted @ 2019-05-12 12:26 王东波
阅读(128)
评论(0)
推荐(0)
2019年2月18日
nginx tp5配置
摘要: location ~ [^/]\.php(/|$) { #fastcgi_pass remote_php_ip:9000; fastcgi_pass unix:/dev/shm/php-cgi.sock; fastcgi_index index.php; fastcgi_split_path_info ^(.+\.php)(.*)$; ...
阅读全文
posted @ 2019-02-18 10:03 王东波
阅读(60)
评论(0)
推荐(0)
2019年1月19日
centos下搭建Jenkins持续集成环境
摘要: 1、安装JDK 2、安装jenkins 添加Jenkins库到yum库,Jenkins将从这里下载安装。 如果不能安装就到官网下载jenkis的rmp包,官网地址(http://pkg.jenkins-ci.org/redhat-stable/) 配置jenkis的端口 找到修改端口号: JENKI
阅读全文
posted @ 2019-01-19 14:56 王东波
阅读(53)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
11
下一页
公告