notes
notes copied to clipboard
notes
> Ubuntu 12.04.5 > mysql 5.5.47 > master1 192.168.64.131 > master2 192.168.64.132 ### 1. 修改mysql配置文件、创建帐号并授权 #### 1.1 修改master1上mysql配置文件my.conf ``` [mysqld] server-id = 131 #数据库ID log_bin = /var/log/mysql/mysql-bin.log #启用二进制日志 如果没有var/log/mysql这个目录,则需要创建. #binlog-do-db...
### 1. 安装Redis https://github.com/MSOpenTech/redis/releases/download/win-3.0.501/Redis-x64-3.0.501.msi 这里将Redis安装在`C:\Redis`目录下。 ### 2. 安装Ruby http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.2.4-x64.exe 这里将Ruby安装在`C:\Ruby22-x64`目录下。 ### 3. 安装Redis的Ruby库 ``` ruby gem install redis ``` ### 4. 配置Redis Node 拷贝6份Redis安装目录下的`redis.windows-service.conf`文件依次重命名为redis.6380.conf、redis.6381.conf、redis.6382.conf、redis.6383.conf、redis.6384.conf、redis.6385.conf。并分别修改这6个配置文件。具体修改内容如下: redis.6380.conf ``` port 6380 appendonly yes...
# nginx流量镜像ngx_http_mirror_module ## 背景 nginx官网公布了nginx1.13.4最新的ngx_http_mirror_module模块,利用mirror模块,可以将线上实时访问流量拷贝至其他环境,基于这些流量可以做版本发布前的预先验证,进行流量放大后的压测等等。 ## mirror模块配置 mirror模块配置分为两部分,源地址和镜像地址,配置位置可以为nginx配置文件的http, server, location上下文,配置示例为: ``` # original配置 location / { mirror /mirror; mirror_request_body off; proxy_pass http://127.0.0.1:9502; } ``` ``` # mirror配置 location /mirror {...
https://github.com/kohsuke/winsw 将`IntelliJIDEALicenseServer_windows_amd64.exe`注册为windows系统服务 下载`winsw.exe`文件,确保`winsw.exe`和`IntelliJIDEALicenseServer_windows_amd64.exe`位于同一目录 创建`winsw.xml`文件,确保文件名和`winsw.exe`名称一致且位于同一目录,其文件内容为 winsw.xml ```bash IntelliJIDEALicenseServer IntelliJIDEALicenseServer IntelliJIDEALicenseServer D:\IntelliJIDEALicenseServer\IntelliJIDEALicenseServer_windows_amd64.exe Automatic ``` 最后在命令行执行 ```bash winsw.exe install ``` 注册服务 ```bash winsw.exe uninstall ``` 卸载服务 ```bash winsw.exe help ``` 查看帮助 [winsw.zip](https://github.com/ameizi/DevArticles/files/1913757/winsw.zip)
https://hufangyun.com/2017/short-url
http://gitbook.cn/books/5a464546d06cae3d240f25a6/index.html http://tech.lede.com/2017/10/11/rd/server/javaToolsBTrace
http://liaojiacan.me/2017/10/12/Iedis破解思路/index.html https://www.awei.org/2017/11/19/idea-iedis-plugin-2-41-po-jie-fang-fa https://shawnho.me/2017/12/20/ideaagent http://liaojiacan.me/2017/10/10/javaagent-的使用/index.html
http://wudashan.cn/2017/10/23/Redis-Distributed-Lock-Implement http://mzorro.me/2017/10/25/redis-distributed-lock http://www.dengshenyu.com/java/分布式系统/2017/10/23/zookeeper-distributed-lock.html
http://gceasy.io http://fastthread.io https://gcplot.com http://xxfox.perfma.com https://docs.oracle.com/en/java https://docs.oracle.com/javase/9/gctuning https://www.cubrid.org/blog/our-experience-creating-large-scale-log-search-system-using-elasticsearch https://dzone.com/articles/minor-gc-vs-major-gc-vs-full https://www.dynatrace.com/resources/ebooks/javabook https://medium.com/@mlowicki/monitoring-cassandra-garbage-collector-83c8a515e403 https://www.redhat.com/en/blog/part-1-introduction-g1-garbage-collector https://blog.gceasy.io/2016/07/07/understanding-g1-gc-log-format
http://coffeesweet.me/2016/08/31/spring-boot日志问题一:去除默认的console输出 https://docs.spring.io/spring-boot/docs/current/reference/html/howto-logging.html http://www.netkiller.cn/java/spring/boot/logging.html http://tengj.top/2017/04/05/springboot7 http://www.cnblogs.com/wenbronk/p/6529161.html https://blog.csdn.net/u013256816/article/details/52755371 http://blog.didispace.com/springbootlog