Linux CentOS SSH端口限制及变更
一:IP访问限制设置vi /etc/hosts.denyvi /etc/hosts.allow二:变更ssh访问端口1.Vi /etc/ssh/ssh_configservice sshd restart /usr/sbin/sshd -p 95272.生产机器禁止root远程SSH登录PermitRootLogin noPort 9527service sshd restart/etc/init.d/sshd restart3.增加新的用户执行ssh访问操作...
log4j+kafka+storm+mongodb+mysql 日志处理
一:背景随着系统的分布式部署,日志的集中处理显得极为重要。本文整合log4j+kafka+storm+mongodb+mysql介绍一下日志的集中处理过程。本方案已应用到线上的正式环境中。log4j版本:log4j-1.2.17.jarkafka版本:kafka_2.10-0.8.2.1zookeeper版本:zookeeper-3.4.7.tar.gzstorm版本:apache-storm-0.9.5.tar.gzmongodb...
spring4.2+mongodb2.6+spring-data-mongodb1.8.2 整合
一:背景springframework 版本:4.2.0.RELEASEmongodb版本:2.6.11spring-data-mongodb版本:1.8.2.RELEASE二:pom.xml 依赖配置 junit junit org.springframework spring-context
Linux mongodb 安装与配置
一: 背景Mongo DB ,是目前在IT行业非常流行的一种非关系型数据库(NoSql),其灵活的数据存储方式,备受当前IT从业人员的青睐。Mongo DB很好的实现了面向对象的思想(OO思想),在Mongo DB中 每一条记录都是一个Document对象。mongodb 版本:mongodb-linux-x86_64-2.6.11.tgz二: 安装tar -zxvf mongodb-linux-x86_64-2.6...
Linux storm 安装
一:背景zookeeper版本:zookeeper-3.4.7.tar.gzstorm版本:apache-storm-0.9.5.tar.gz二: 安装zookeepertar -zxvf zookeeper-3.4.7.tar.gz -C /usr/localcd /usr/local/zookeeper-3.4.7/concp zoo_sample.cfg zoo.cfg配置参数 zoo.cfg启动zookeeper./zkServer.sh start验证zookeeper是否正常启动....
Linux Log4j+Kafka+KafkaLog4jAppender 日志收集
背景:kafka版本:kafka_2.10-0.8.2.1服务器IP:10.243.3.17一:Kafka server.properties 文件配置二:zookeeper.properties 文件配置三: zookeeper,kafka启动../bin/zookeeper-server-start.sh /usr/local/kafka_2.10-0.8.2.1/config/zookeeper.properties../bin/kafka-server-start.sh /usr/lo...
Linux kafak安装与启动
一:背景Kafka是一个分布式的、可分区的、可复制的消息系统。它提供了普通消息系统的功能,但具有自己独特的设计。这个独特的设计是什么样的呢?首先让我们看几个基本的消息系统术语:?Kafka将消息以topic为单位进行归纳。?将向Kafka topic发布消息的程序成为producers.?将预订topics并消费消息的程序成为...
kafka 参数配置说明
server.properties中所有配置参数说明(解释)如下列表:参数说明(解释)broker.id =0每一个broker在集群中的唯一表示,要求是正数。当该服务器的IP地址发生改变时,broker.id没有变化,则不会影响consumers的消息情况...
Spring 4 + Websocket + Stomp + ActimeMQ 实现消息推送
一:代码结构二: pom.xml文件4.0.0
Jenkins Gitlab Maven Tomcat持续集成 自动部署
<span style="font-size:16px;"><strong>一:背景</strong></span><br /><span style="font-size:16px;"><strong></strong></span><br /><span style="font-size:16px;"><strong>实现效果,Jenkins没隔2分钟到Gitlab服务器区检测是否有人向develop分支commit变革,通过maven对项目进行构建,并自动部署到Tomcat应用服务器...
Redhat linux 6.5 yum安装
<span style="font-size:16px;"><strong>一:删除已有的yum </strong></span><br /><span style="font-size:16px;"></span><br /><span style="font-size:16px;"></span><span style="font-size:16px;">rpm -qa|grep yum</span><br /><span style="font-size:16px;">rpm -qa|grep yum|xargs rpm -e --nodeps</span...
Gitlab SourceTree联合使用
<strong>一:GitLab创建空仓库</strong><br /><img src="/attachment/201507/30/28624388_1438245008HTVO.jpg" width="700" height="313.77473363775" alt="" /><br /><strong>二:设置项目成员</strong><br /><img src="/attachment/201507/30/28624388_1438245063vuUe.jpg" width="700" height="302.54237288136" alt=...
gitlab 邮件配置(smtp)
<strong>一:</strong><strong>修改全局配置文件</strong><br /><br />$ git config --GLOBAL user.name "gengchong"<br />$ git config --GLOBAL user.email "gengchong@ddcehua.com"<br /><br /><br /><strong>二:</strong><span style="color:#555555;font-family:微软雅黑, 'Microsoft YaHei';font-size:14px;li...
Linux GitLab安装
一:准备
Linux Git安装
<span style="color:#64451D;">一:准备</span><br /><span style="color:#64451D;">Git版本:git-2.4.3.tar.gz</span><br /><span style="color:#64451D;">操作系统:CentOS Linux release 7.0.1406</span><br /><br /><span style="color:#64451D;">二:安装依赖的包</span><br /><span style="font-family:'Courier ...
工作总结--ESB工作平台
工作总结--工单调度
工作总结--系统架构
ubuntu 中文显示乱码问题
添加中文字符编码:$sudo vim /var/lib/locales/supported.d/local#添加下面的中文字符集zh_CN.GBK GBKzh_CN.GB2312 GB2312zh_CN.GB18030 GB18030使其生效:$sudo dpkg-reconfigure localesvim:打开vim的配置文件,位置在/etc/vim/vimrc在其中加入set fileencodings=utf...
nginx使用ssl模块配置HTTPS支持
一:生成证书$ cd /usr/local/nginx/conf创建服务器私钥,命令会让你输入一个口令:$ openssl genrsa -des3 -out server.key 1024创建签名请求的证书(CSR):$ openssl req -new -key server.key -out server.csr在加载SSL支持的Nginx并使用上述私钥时除去必须的口令:$ cp server.key server.key.org$ opens...