自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 nginx 日志用rsyslog-kafka发送

rsyslog v8.7.0才可以支持kafkacentos7 直接安装 rsyslog-kafkayum -y install rsyslog-kafka如果centos6 就比较麻烦不能直接用yum来升级rsyslog的。建议把旧的rsyslog 卸装,rpm -ivh libfastjson-0.99.2-1.el6.x86_64.rpmrpm -ivh libfastjson4...

2019-11-01 11:37:55 1016

原创 kubeadm安装kubernetes1.14.1

分别设置主机名为master1 node1 … 时区timedatectl set-timezone Asia/Shanghai #都要执行hostnamectl set-hostname master1 #master1执行hostnamectl set-hostname node1 #node1执行在所有节点/etc/hosts中添加解析,master1,node1127...

2019-05-27 11:24:46 581

原创 k8s Error syncing pod, skipping: failed to "StartContainer" for "POD" with ImagePullBackOff

pods 启动安装出现错误Error syncing pod, skipping: failed to “StartContainer” for “POD” with ImagePullBackOff: “Back-off pulling image “registry.access.redhat.com/rhel7/pod-infrastructure:latest””解决:yum in...

2019-05-05 15:33:33 11021 3

原创 k8s安装

master : 安装setenforce 0systemctl stop firewalld && sudo systemctl disable firewalldyum install -y kubernetes etcd ntp.x86_64vi /etc/etcd/etcd.confETCD_LISTEN_CLIENT_URLS=“http://10.1.1.1:...

2019-05-05 15:24:16 251

原创 编译安装pcre 支持utf8

yum intsall bzip2-devel readline-devel./configure--docdir=/usr/share/doc/pcre-8.36 \--enable-unicode-properties \--enable-pcre16 \-...

2019-04-02 15:04:50 1139

原创 mysql 数据到入elasticsearch

mysql数据导入到elasticsearch 需要logstash 来传输。logstash还需要对应的数据库JDBC,这里使用的是mysql-connector-java-5.1.47.jarhttps://dev.mysql.com/downloads/connector/j/5.1.html在logstash/config 创建mysql.confinput {...

2019-03-20 09:39:03 198

原创 elasticsearch 默认限制显示from + size 1000行

错误 Result window is too large, from + size must be less than or equal to: [1000]需要修改elasticsearch 配置curl -H "Content-Type: application/json" -XPUT http://127.0.0.1:9200/_all/_settings -d '{ "...

2019-03-20 09:13:05 1475

原创 supervisor搭建与配置

supervisor 是管理程序进程启动和状态,当程序进程死掉,supervisor会把这个程序进程重新拉起。python版本最低要2.7pip install supervisor 就可以安装了。如果是python 3.5以上git clone https://github.com/Supervisor/supervisor.gitunzip supervisor-master....

2019-03-03 13:56:57 1253 1

原创 kernel: possible SYN flooding on port 443. Sending cookies.

kernel: possible SYN flooding on port 443. Sending cookies.这个问题就是一个ddos攻击需要修改参数sysctl里面net.ipv4.tcp_max_syn_backlog = 4096是指定所能接受SYN同步包的最大客户端数量,即半连接上限;somaxconn是指服务端所能accept即处理数据的最大客户端数量,即完成连接上限。...

2019-02-27 14:08:14 2122

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除