01 2013 档案

haproxy for mysql slavers load balance.
摘要:haproxy.confglobal maxconn 4096 daemon pidfile /usr/local/haproxy/haproxy.pid user haproxy group haproxydefaults log global mode http option httplog option dontlognull log 127.0.0.1 local0 retries 3 option redispatch maxconn 2000 contimeout 5000 clitimeou... 阅读全文

posted @ 2013-01-21 13:33 jmbkeyes 阅读(228) 评论(0) 推荐(0) 编辑

bash file for starting, stopping, restarting haproxy
摘要:create a bash file.#! /bin/shset -e PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/haproxy/sbinPROGDIR=/usr/local/haproxyPROGNAME=haproxyDAEMON=$PROGDIR/sbin/$PROGNAMECONFIG=$PROGDIR/conf/$PROGNAME.confPIDFILE=$PROGDIR/$PROGNAME.pidDESC="HAProxy daemon"SCRIPTNAME=/etc/init.d/$PROGNAME # Gra 阅读全文

posted @ 2013-01-21 13:30 jmbkeyes 阅读(207) 评论(0) 推荐(0) 编辑

Nginx as static image server and proxy server.
摘要:1. create image_servers.conf in ..../nginx/confserver{#you can access images by http://localhost:8000/images listen 8000; server_name localhost; location /images/{ root /share/; autoindex on; autoindex_exact_size off; autoindex_localtime on; }}server{#you can ... 阅读全文

posted @ 2013-01-15 15:21 jmbkeyes 阅读(833) 评论(0) 推荐(0) 编辑

use eclipse and pydev to perform remote debug python app.
摘要:1. Environment Debug server: eclipse + pydev Remote Server: a. copyeclipse/plugins/org.python.pydev_x.x.x/pysrc to python path(like ..../python... 阅读全文

posted @ 2013-01-08 13:50 jmbkeyes 阅读(582) 评论(0) 推荐(0) 编辑

pycharm remote debug
摘要:1. Edit Configurations >> click "+" button and select "Python Remote Debug" >> set debug server name, debug server ip(that remote server can access it... 阅读全文

posted @ 2013-01-07 17:14 jmbkeyes 阅读(1137) 评论(0) 推荐(0) 编辑

install mysql from source code on ubuntu system.
摘要:操作系统:ubuntu 11.04、安装所需要系统库相关库文件2、创建mysql安装目录 # mkdir -p /usr/local/mysql/4、创建用户和用户组与赋予数据存放目录权限 # groupadd mysql # useradd -g mysql mysql # chown m... 阅读全文

posted @ 2013-01-06 17:10 jmbkeyes 阅读(462) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示