- 博客(7)
- 收藏
- 关注
原创 python用于系统运维管理和灰度发布部署
有个基本想法:nginx+tomcat,用于中小规模web应用生产环境的灰度发布。nginx作负载均衡,标记为LB,若干个tomcat作应用服务,标记为App1, App2, App3, ... AppN。发布过程:1. 从LB中摘除App1,App1的应用服务停止,部署新应用,启动App1应用。,重新再LB中挂载App12. 从LB中摘除App2,App1的应用服务停止,部署
2016-05-30 11:20:29 2585
转载 nginx做负载均衡器以及proxy缓存配置
http://seanlook.com/2015/06/02/nginx-cache-check/相关的一系列文章都很好,避免了很多弯路。 Searchnginx做负载均衡器以及proxy缓存配置Posted on 2015-06-02 | In Linux , Nginx | 1条评论关于
2016-05-20 16:46:21 983
原创 Mac OS安装nginx with nginx-stick-module-ng
1. download nginx 1.10.02. download nginx-sticky-module-ng3. ./configure --with-http_stub_status_module --with-http_ssl_module --with-http_realip_module --with-openssl=/usr/local/ssl --add-module=
2016-05-20 16:21:20 658
原创 Linux Debian下安装tomcat7
1. 新建用户tomcat,用于启动tomcat服务sudo adduser tomcat2. 获取源代码并解压wget http://download.nextag.com/apache/tomcat/tomcat-7/v7.0.69/bin/apache-tomcat-7.0.69.tar.gzgunzip apache-tomcat-7.0.69.tar.gzta
2016-05-19 14:02:32 3086
转载 Linux Debian 上安装 JDK7
https://blog.retep.org/2013/04/13/installing-java-7-on-debian-squeeze/INSTALLING JAVA 7 ON DEBIAN SQUEEZEFor all of my servers I use Debian, however that distribution has a few problems,
2016-05-19 10:26:54 4353
原创 Postgresql从源代码安装以及配置Stream Replication
环境:Debian 8.0用Debian的apt-get install安装后,不知道都安装到哪里去了,配置文件、执行文件、数据目录满天飞,到处找很麻烦,所以还是老老实实从源代码安装。1. 在linux用adduser命令添加一个新用户,用户名可以为postgres2. 编辑 /etc/sudoers,添加postgres用户,这样后续可以执行sudo命令3
2016-05-19 09:53:44 1643
原创 Mac/Eclipise环境下调试Postgresql代码
基本环境:Mac OS X 10.11.4 EI CapitanPostgreSQL 9.5.2Eclipse Mars 4.5.1 + CDT插件基本操作步骤参考文档https://wiki.postgresql.org/wiki/Working_with_Eclipsehttps://wiki.postgresql.org/wiki/Developer_FA
2016-05-05 11:23:08 768
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人