MySQL 5.7 SSL configuration and enable

1, Start SSL on installation [root@linux-node local]# /usr/local/mysql5.7/bin/mysqld --initialize --basedir=/usr/local/mysql5.7 --datadir=/usr/local/mysql5.7/data/ --user=mysql [root@linux-node local]# /usr/local/mysql5.7/bin/mysql_ssl_rsa_setup After running this command, the following pem files will be generated in the data directory by ...

Posted by matty on Mon, 04 May 2020 06:00:33 +0200

Using rundeck scheduler to set up sending mail

1. Configure QQ mailbox to send mail 1.1 enable the SMTP service and obtain the authorization code 1.2 select account Start related services and generate authorization code 2. Enable sendmail service and postfile service [root@zydatahadoop001 rundeck]# service sendmail stop [root@zydatahadoop001 rundeck]# chkconfig sendmail off [r ...

Posted by shivangp on Sun, 03 May 2020 23:51:10 +0200

QQ email alert notice

background The QQ mailbox alarm fails all the time. After checking a lot of data, you can find the ssl rules and set the port settings Script content (163 mailbox, can be used directly) [root@hf-01 ~]# vim /usr/lib/zabbix/alertscripts/mail.py #!/usr/bin/env python #-*- coding: UTF-8 -*- import os,sys reload(sys) sys.setdefaultencoding('ut ...

Posted by mpf on Tue, 14 Apr 2020 19:36:57 +0200

Error log alarm practice

1. Error log alarm practice 1.1. demand In order to understand the system error in real time more conveniently, I began to look for the alarm solution 1.2. thinking 1.2.1. No bad plan If there is no shortage of money and a more systematic and perfect solution, the first thing I think of is CAT. It can not only realize error alarm, but also be m ...

Posted by kentopolis on Fri, 10 Apr 2020 09:43:50 +0200

Application of MQTT communication protocol in Unity -- JS implementation

It has been studied in the industrial field for a long time. According to the requirements of digital twin, it is necessary to get through the network, from CLP to IOT to Dass to virtual factory (3D visualization). In order to get through the state of control and anti control, it is necessary to get through the network communication. For Unity ...

Posted by rhyspaterson on Thu, 09 Apr 2020 16:34:19 +0200

linux compiling and installing nginx and detailed explanation of the parameters of each step

1. Environment and installation of dependent packages [root@localhost ~]# systemctl stop firewalld && setenforce 0 #Turn off the firewall and selinux first [root@localhost ~]# yum -y install gcc gcc-c++ #Install build environment [root@localhost ~]# yum install -y pcre pcre-devel #Install pcre package (make nginx support http rewri ...

Posted by rupam_jaiswal on Mon, 06 Apr 2020 17:36:47 +0200

k8s cluster deployment 3: master node component deployment

All of the following are executed on the master Get master node binary package Download binary packages and deploy components The binary package of the master node can be obtained from this website: kubernetes github wget https://dl.k8s.io/v1.9.0/kubernetes-server-linux-amd64.tar.gz Extract the Kube apiserver Kube Cont ...

Posted by TechXpert on Sun, 05 Apr 2020 01:34:59 +0200

Haproxy implements the configuration method of https for some domain names and http for other domain names

Requirement: 1. Haproxy must be at least 1.5 to support ssl certificates2. To use ssl module, openssl software must be installed, and the version should meet the requirements openssl installation tar zxf openssl-0.9.8zh.tar.gz cd openssl-0.9.8zh ./config enable-tlsext --prefix=/usr/local/openssl no-shared make && make install_sw #The ...

Posted by cigardude on Thu, 13 Feb 2020 17:28:35 +0100

kubeernetes binary cluster deployment 1 - etcd component, flannel component

Main points: 1. Environment Package Preparation 2. Deploy etcd storage 3. Deploy flannel network components 1. Environmental preparation: Host Software to be installed master(192.168.109.138) kube-apiserver,kube-controller-manager,kube-scheduler,etcd node02(192.168.109.131) kubelet,kube-proxy,docker ,flannel ,etcd node02(192.168.109.13 ...

Posted by ale1981 on Mon, 10 Feb 2020 17:50:34 +0100

Kafka integrates Java API

1, Development preparation First of all, after setting up the kafka (version 1.0.0) environment, the development language used here is Java, the build tool Maven.   Maven relies on the following: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSche ...

Posted by chrispols on Thu, 30 Jan 2020 07:46:14 +0100