Extended etcd cluster node with certificate

background A 7-node k8s cluster and a master node's disk are abnormal, which often causes the etcd of the node to write to the card, and then drags down the etcd cluster. Therefore, it is considered to migrate the etcd of the node. As shown in the figure above, the disk of the tstr501384 node is ...

Posted by turkman on Wed, 05 Feb 2020 00:30:35 -0800

Hexo Blog Configuration SSL Certificate

Hexo doesn't have to convert to a static web page and hand it over to a tool publishing site like Nginx, tomcat, which has a built-in server.By default, however, there is no SSL certificate. Effect Display All three servers use Hexo to provide web services. Basic steps 1. Prepare the SSL cert ...

Posted by glory452 on Fri, 31 Jan 2020 18:23:56 -0800

Nginx + Tomcat + HTTPS configuration

This article mainly introduces how to use nginx to configure tomcat and https ssl certificates.   Mode 1: directly modify the nginx.conf file under the conf file of nginx   You can directly copy the entire server node as follows, and change the certificate in the red box to your own. #user nobody; worker_processes 1; ...

Posted by dspeer on Fri, 31 Jan 2020 04:40:36 -0800

nginx problem list

nginx problem list Installation and Startup of nginx Configure nginx startup self-start: Open log for nginx nginx configuration syntax nginx configuration: role of server_name nginx log level access_log logs/access.log main; log_format main Resolve restart issues How to view compilation options wh ...

Posted by POG1 on Thu, 30 Jan 2020 17:06:05 -0800

Configuration file description for RabbitMQ

In rabbitmq, the default configuration implementation is generally provided. Before rabbitmq 3.7.0, only rabbitmq.conf configuration instructions are provided. It uses the KeyValue method for configuration, and then it can be configured through erlang voice. However, we still like the KeyValue method ...

Posted by prozad on Tue, 21 Jan 2020 08:35:40 -0800

Django + uWSGI + Nginx + https project deployment, and generate https certificate with OpenSSL

Background: Recently, I suddenly came into contact with OpenSSL. I suddenly thought that I had not written anything related to the deployment of Django + uWSGI + Nginx + https project, so I sorted out a piece of data. Catalog 1, OpenSSL installation 2, Generate certificate 3, Nginx configuration 4, Ac ...

Posted by frymaster on Sun, 19 Jan 2020 06:20:10 -0800

k8s~Implementation of adding ingress to a service

Reasons for ingress ClusterIP can only be accessed within a cluster With NodePort, the test environment works fine, and when hundreds of services are running in a cluster, port management for NodePort is a disaster. The LoadBalance approach is limited to cloud platforms, and ELB s are typically deployed on cloud platforms at additional cost. ...

Posted by boon4376 on Sat, 18 Jan 2020 17:45:48 -0800

CentOS 6.8 configure MySQL to replicate in SSL encryption mode

CentOS 6.8 configure MySQL to replicate in SSL encryption mode The master-slave replication of MySQL uses plaintext transmission by default, which is not secure. You can configure the master-slave replication to use SSL encryption connection. Configuration on Master 1. Generate key mysql_ssl_rsa_setup --uid=mysql 2. Copy ...

Posted by gloveny on Sun, 05 Jan 2020 11:20:12 -0800

Ubuntu 16.04 FTP server installation + configuration

ftp server installation and configuration 1. Installation of FTP server If the server configured before or after ftp server fails to start the service, the basic problem is that there is an error in the configuration. You can uninstall it completely before installing it. If you cannot locate the image source, replace the ali ...

Posted by nebb on Sat, 04 Jan 2020 09:56:14 -0800

Nginx tcp reverse agent configuration and installation

Nginx upgrade supports stream module Nginx is used as the reverse proxy of tcp. Currently, in versions 1.7 to 1.9, the [nginx ﹐ tcp ﹐ proxy ﹐ module] module needs to be loaded. After 1.9, the [with stream] module can be used. Because LNMP is used for installation( https://lnmp.org/ ), the method of upgrading nginx directly ...

Posted by anthonyv on Fri, 03 Jan 2020 20:48:14 -0800