Loading...
http{keepalive_timeout 120s 120s;keepalive_requests 10000;}项目配置upstream activity { server 10.68.54.170:8080 max_fails=5 fail_timeout=60s; keepalive 300; #server 172.26.239.52:...
详情见 http://openresty.org/cn/linux-packages.html
使用mysql读写分离前应先配置mysql主从,参见下面文档配置主从wget https://archive.apache.org/dist/shardingsphere/5.0.0/apache-shardingsphere-5.0.0-shardingsphere-proxy-bin.tar.gz tar -zxvf apache-shardingsphere-5.0.0-sha...
详细参见 https://www.jianshu.com/p/19cb0f16dea4部分命令CHANGE MASTER TO MASTER_HOST = '10.211.55.11', MASTER_USER = 'repl_user', MASTER_PASSWORD = 'repl_passwd', MASTER_PORT = 3306, MASTER_LOG_FILE='my...
git clone https://github.com/edenhill/librdkafka.git cd librdkafka ./configure --prefix /usr/local/librdkafka --enable-static --install-deps make sudo make install /etc/profile文件中添加下面配置 export P...