摘要: tracker server and client:192.168.1.42 storage server:192.168.1.46 storage server:192.168.1.53 安装: 安装依赖包libfastcommon 安装fastDFS 需要关闭iptables、selinux y 阅读全文
posted @ 2017-06-07 15:46 Alex_Footprint 阅读(631) 评论(0) 推荐(0) 编辑
摘要: 服务器物理硬件的优化 来源社区,个人作为收集 在挑选硬件服务器时,我们应该从下面几个方面着重对MySQL服务器的硬件配置进行优化,也就是说将项目中的资金着重投入到如下几处: 1、磁盘寻道能力(磁盘I/O),我们现在用的都是SAS15000转的硬盘,用6快这样的硬盘作RAID1+0。MySQL每一秒钟 阅读全文
posted @ 2017-06-07 13:22 Alex_Footprint 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 虚拟机两台: 192.168.1.42 192.168.1.46 系统环境保持一致: cat /etc/redhat-release uname -a elk准备环境保持一致: elasticsearch安装: 下载并安装GPG key rpm --import https://packages.e 阅读全文
posted @ 2017-06-06 16:18 Alex_Footprint 阅读(585) 评论(0) 推荐(0) 编辑
摘要: ELK介绍 1.1 elasticsearch 1.1.1 elasticsearch介绍 ElasticSearch是一个基于Lucene的搜索服务器。它提供了一个分布式多用户能力的全文搜索引擎,基于RESTful web接口。Elasticsearch是用Java开发的,并作为Apache许可条 阅读全文
posted @ 2017-06-06 13:14 Alex_Footprint 阅读(320) 评论(0) 推荐(0) 编辑
摘要: # Author:Alex# Date:2017.0605# Version:3.6.0man = []other = []#打开note文件,循环内容,并判断,加入到man and other中import pickletry: data = open('note.txt') for each_l 阅读全文
posted @ 2017-06-05 15:10 Alex_Footprint 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 工作原理 1. FastDFS服务端有2个角色 分别是tracker(跟踪器(或说是调度器会更合适)) 和 storage(存储节点)。 2. tracker负责调度和负载均衡,并不需要存储文件的索引信息,因为文件上传后 stroage 返回给客户端的文件ID中就包含了组名、文件相对路径和文件名等( 阅读全文
posted @ 2017-06-05 11:34 Alex_Footprint 阅读(184) 评论(0) 推荐(0) 编辑
摘要: # Author:Alex.wang# Date:2017.06.02# Version:3.6.0import matplotlib.pyplot as pltfrom wordcloud import WordCloudimport jiebatext_from_file_with_apath = open('C:/Users/chris/demo/yes-minister.txt').rea... 阅读全文
posted @ 2017-06-02 13:27 Alex_Footprint 阅读(258) 评论(0) 推荐(0) 编辑
摘要: ##HTTPS server##server {listen 443;server_name www.shabi.com;ssl on;index index.php index.html index.htm;root /opt/shabi/public;ssl_certificate /usr/c 阅读全文
posted @ 2017-05-31 13:55 Alex_Footprint 阅读(626) 评论(0) 推荐(0) 编辑
摘要: author:alex.wang date:2017.05.25 system:centos7.2 ip:192.168.1.46 download: wget http://mirrors.jenkins-ci.org/war/latest/jenkins.war Jenkins包 yum -y 阅读全文
posted @ 2017-05-25 17:03 Alex_Footprint 阅读(329) 评论(0) 推荐(0) 编辑
摘要: ELKStack ELKStack即Elasticsearch + Logstash + Kibana。日志监控和分析在保障业务稳定运行时,起到了很重要的作用。比如对nginx日志的监控分析,nginx是有日志文件的,它的每个请求的状态等都有日志文件进行记录,所以可以通过读取日志文件来分析;redi 阅读全文
posted @ 2017-05-22 14:58 Alex_Footprint 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 系统:centos7.2 master:192.168.1.41minion:192.168.1.46 注释: setenforce 0 --关闭selinux systemctl stop firewalld.service 关闭防火墙 1、在master和minion机器上安装最新yum源: y 阅读全文
posted @ 2017-05-19 10:25 Alex_Footprint 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 实验环境centos7.2,仅供参考 yum -y install epel-release --安装最新yum配置源 1、安装 yum -y install bind-chroot --安装bind systemctl enable named-chroot --设置开机启动 setenforce 阅读全文
posted @ 2017-05-17 11:52 Alex_Footprint 阅读(789) 评论(0) 推荐(0) 编辑
摘要: 环境: apache-tomcat-7.0.73 java version "1.8.0_112" 注释:创建普通用户,使用 sudu进行操作,本文略写。 1、JDK 1、jdk配置 下载地址:http://www.oracle.com/technetwork/java/javase/downloa 阅读全文
posted @ 2017-05-16 17:01 Alex_Footprint 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 1、zlib wget http://www.zlib.net/fossils/zlib-1.2.8.tar.gz 2、openssl wget http://www.openssl.org/source/openssl-1.0.1c.tar.gz 3、pcre wget https://jaist 阅读全文
posted @ 2017-05-16 14:07 Alex_Footprint 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 1、首先通过探针看到我的服务器的物理内存和cache缓存达到98.63%和86%。 我又看了一下系统是否有可疑进程,显而易见。 2、再看看是不是被人攻击了,但是可以ping通 3、使用last查看,也没有过多重复的ip,没有超过几十个的ip。 4、之后我想了想,服务器运行也有段时间了,估计是缓存到极 阅读全文
posted @ 2017-05-12 17:32 Alex_Footprint 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 1.安装服务 使用yum安装subversion,简单、不繁琐。 1 yum install -y subversion 1 yum install -y subversion 1 yum install -y subversion yum install -y subversion 2.创建版本库 阅读全文
posted @ 2017-05-12 16:22 Alex_Footprint 阅读(535) 评论(1) 推荐(0) 编辑
摘要: 运维 运维,这里指互联网运维,通常属于技术部门,与研发、测试、系统管理同为互联网产品技术支撑的4大部门,这个划分在国内和国外以及大小公司间都会多少有一些不同。 一个互联网产品的生成一般经历的过程是:产品经理(product manager,非技术部)需求分析、研发部门开发、测试部门测试、运维部门部署 阅读全文
posted @ 2017-05-12 16:15 Alex_Footprint 阅读(2577) 评论(0) 推荐(0) 编辑
摘要: 读到这里的朋友,如果您感觉对您有帮助,请帮助分享一下。谢谢。 CentOS6.8下载地址: centos6.5 centos老版本下载地址: vmware10下载地址: mysql下载地址: apache下载地址: nginx下载地址: php下载地址: memcache php扩展下载地址: me 阅读全文
posted @ 2017-05-12 16:07 Alex_Footprint 阅读(364) 评论(0) 推荐(0) 编辑
摘要: 注解;来自某位大神的详解,做个笔记。 iptables防火墙简介 iptables 名词和术语 容器:包含和被包含的关系 iptables是表的容器 iptables包含表 (4张表)表是链的容器,每个表都包含若干个链 链是规则的容器,真正过滤规则是属于链里面的 级别介绍 iptables国家 表省 阅读全文
posted @ 2017-05-12 14:36 Alex_Footprint 阅读(569) 评论(0) 推荐(0) 编辑
摘要: OTRS简介 OTRS的名字是由Open-source Ticket Request System首字母縮略字而来,是一个开源的缺陷跟踪管理系统软件。 OTRS将电话,邮件等各种渠道提交进来的服务请求归类为不同的`队列,服务级别,服务人员通过OTRS系统来跟踪和回复客户,相对传统的处理流程来而言,O 阅读全文
posted @ 2017-05-12 14:27 Alex_Footprint 阅读(10081) 评论(0) 推荐(0) 编辑