v5tech

Results 113 issues of v5tech

# 平台搭建参考文章 https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elk-stack-on-centos-7 https://www.digitalocean.com/community/tutorials/how-to-gather-infrastructure-metrics-with-topbeat-and-elk-on-centos-7 https://www.digitalocean.com/community/tutorials/adding-logstash-filters-to-improve-centralized-logging https://www.digitalocean.com/community/tutorials/how-to-use-kibana-dashboards-and-visualizations https://www.digitalocean.com/community/tutorials/how-to-map-user-location-with-geoip-and-elk-elasticsearch-logstash-and-kibana # yml语法校验 http://yaml-online-parser.appspot.com/ http://www.yamllint.com/ # linux平台系统运维教程集 https://www.digitalocean.com/community/tutorials http://www.unixmen.com/ http://linoxide.com/ # tomcat日志分析参考 https://github.com/sdd330/tomcat-elk http://blog.kazaff.me/2015/06/05/日志收集架构--ELK/ https://aggarwalarpit.wordpress.com/2015/12/03/configuring-elk-stack-to-analyse-apache-tomcat-logs/ https://www.systemcodegeeks.com/web-servers/apache/configuring-elk-stack-analyse-apache-tomcat-logs/ http://stackoverflow.com/questions/25429377/how-can-i-integrate-tomcat6s-catalina-out-file-with-logstash-elasticsearch https://blog.codecentric.de/en/2014/10/log-management-spring-boot-applications-logstash-elastichsearch-kibana/ https://blog.lanyonm.org/articles/2014/01/12/logstash-multiline-tomcat-log-parsing.html https://spredzy.wordpress.com/2013/03/02/monitor-your-cluster-of-tomcat-applications-with-logstash-and-kibana/ # log4j日志分析 https://qbox.io/blog 全面介绍elk生态圈各个组件filebeat、topbeat等。...

elasticsearch

http://wdxtub.com/ Programming iOS9 翻译系列 http://chengway.in/ iOS 9 by Tutorials笔记、Core Data by tutorials 笔记 http://yimouleng.com/ iOS开发之内购-AppStore http://kayosite.com/ iOS 开发之照片框架PhotoKit 详解 http://radex.io/ http://tutuge.me/ Autolayout Masonry、Effective-Objective-C-读书笔记 http://wxgbridgeq.github.io/blog/2015/06/30/adaptive-layout-tutorial/ Building Adaptive UI 搭建自适应界面 | AppCoda翻译系列...

iOS

环境说明 | soft | s1(192.168.64.128) | s2(192.168.64.129) | s3(192.168.64.130) | | --- | --- | --- | --- | | ubuntu 12.04 | s1 | s2 | s3 | |...

软件环境 | soft | c1(192.168.64.145) | c2(192.168.64.146) | c3(192.168.64.147) | | --- | --- | --- | --- | | CentOS 7.2.1511 | c1 | c2 | c3 | |...

### 安装Galera Load Balancer ``` bash yum install gcc* libtool git clone https://github.com/codership/glb cd glb/ ./bootstrap.sh ./configure make make install ``` ### 配置Galera Load Balancer ``` bash cp glb/files/glbd.sh /etc/init.d/glb...

### 安装haproxy ``` bash yum install haproxy ``` ### 配置/etc/haproxy/haproxy.cfg ``` global log 127.0.0.1 local2 chroot /var/lib/haproxy pidfile /var/run/haproxy.pid maxconn 4000 user haproxy group haproxy daemon stats socket /var/lib/haproxy/stats defaults...

查看MAC地址 ``` bash [root@c1 ~]# ip addr 1: lo: mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128...

Linux

> Ubuntu 12.04.5 LTS > MySQL 5.5.47 > Atlas2.2 ### 安装Atlas2.2 ``` wget https://github.com/Qihoo360/Atlas/releases/download/2.2/Atlas-2.2-debian7.0-x86_64.deb sudo dpkg -i Atlas-2.2-debian7.0-x86_64.deb ``` ### 分别在主库从库创建帐号并授权 ``` grant all on *.* to atlas@'192.168.64.%' identified by...

http://mirror.bit.edu.cn/mysql/Downloads/MySQL-Proxy/mysql-proxy-0.8.4-linux-glibc2.3-x86-64bit.tar.gz ### 解压 ``` bash tar zxvf mysql-proxy-0.8.4-linux-glibc2.3-x86-64bit.tar.gz ``` ### 创建mysql-proxy帐号并授权 分别在主从数据库中创建mysqlproxy帐号 ``` mysql> grant all on *.* to mysqlproxy@'192.168.64.%' identified by 'mysqlproxy'; mysql> flush privileges; mysql> use mysql; mysql>...

_默认情况下MySQL的复制是异步的,Master上所有的更新操作写入Binlog之后并不确保所有的更新都被复制到Slave之上。异步操作虽然效率高,但是在Master/Slave出现问题的时候,存在很高数据不同步的风险,甚至可能丢失数据。_ _MySQL5.5引入半同步复制功能的目的是为了保证在master出问题的时候,至少有一台Slave的数据是完整的。在超时的情况下也可以临时转入异步复制,保障业务的正常使用,直到一台salve追赶上之后,继续切换到半同步模式。_ ### 具体配置 _mysql5.5半同步插件是由谷歌提供,具体位置/usr/lib/mysql/plugin/下,一个是master用的semisync_master.so,一个是slave用的semisync_slave.so,具体配置如下_ master: (1).安装插件 ``` mysql> INSTALL PLUGIN rpl_semi_sync_master SONAME 'semisync_master.so'; Query OK, 0 rows affected (0.39 sec) mysql> SET GLOBAL rpl_semi_sync_master_enabled = 1; Query OK, 0...