Kubernetes deployment: Node deployment

Nodes only need to install kubelet service, and all node s need to install Kube proxy Deploy kubelet 1. Binary package preparationCopy the package from to all node s. [root@node-01 ~]# cd /usr/local/src/kubernetes/server/bin/ [root@node-01 bin]# for n in `seq 204 206`;do scp kubelet 10.31.90.$n:/data/kubernetes/bin/ ;done [root@node-01 bin]# f ...

Added by gyoung on Wed, 04 Dec 2019 16:42:47 +0200

Use SMTP in System.Net.Mail to send mail (with attachments)

System.Net.Mail Use Simple Mail Transfer Protocol SMTP to send mail asynchronously To implement SMTP to send mail, you need to understand these classes SmtpClient: use the profile settings to initialize a new instance of the SmtpClient class. It contains the following properties: Host: set the host name or host IP used for SMTP service; Port: s ...

Added by nesargha on Tue, 03 Dec 2019 22:43:45 +0200

Utilize php websocket to implement message push or timely communication function of applet wss

Applet does not have message pushing function, to achieve this, you can use php's websocket Configure the server. 1. Upload the web-msg-sender directory to the server (download address https://www.workerman.net/web-sender) 2. Modify the start_io.php file to modify the certificate path (nginx certificate) $sender_io = new SocketIO(2120); Mod ...

Added by n8r0x on Mon, 02 Dec 2019 11:36:22 +0200

Self developed composer package of lumen

Take my zero / lumen elastic search package as an example Note that this plug-in uses the lumen framework 1. Installation dependency composer require zzq/lumen-elasticsearch 2. Create the elasticsearch.php configuration file with the following contents: <?php return [ /** * You can specify one of several different connections whe ...

Added by ThaSpY on Wed, 13 Nov 2019 16:24:15 +0200

HTTPS process Brief

The most important thing in HTTPS is SSL handshake. SSL handshake is used to negotiate the secret key and encryption suite. The overall process is as follows: The client tells the server to use HTTPS protocol; The server returns its certificate and public key to the client; Client verifies the validity of public key and certificate; After pass ...

Added by jmurch on Sun, 03 Nov 2019 06:46:45 +0200

Flutter learning notes - basic components

Make complaints Last week I watched the basic components of flutter, mainly the videos and official documents of b station with fat technology. After reading them, I thought it would be better to learn dart grammar first and then learn it. It's hard to have an exam tomorrow. I have to review t ...

Added by captain_scarlet87 on Fri, 01 Nov 2019 01:09:34 +0200

Eureka [Troubleshooting Analysis]

1. Application services are not available before startup Assuming that the eureka server service hangs up or does not start before the client application service starts, then the application service can still start normally, but there will be an error message: 2019-10-13 14:40:41.056 INFO 79897 --- [ main] com.netflix.discovery.D ...

Added by V on Sun, 13 Oct 2019 12:46:19 +0300

Java Operating Redis -- Jedis's API

Let's first look at how java links redis Maven: <dependency> <groupId>redis.clients</groupId> <artifactId>jedis</artifactId> <version>3.0.1</version> </dependency> Java: public static void ma ...

Added by watsmyname on Fri, 04 Oct 2019 07:22:14 +0300

New Feature Interpretation | MySQL 8.0 shell util feature

Author: Yang Taotao This paper introduces two import features of MySQL 8.0 shell sub-module Util, importTable/import_table (named difference between JS and python versions), and the usage of importJson/import_json. Import_table communicates through traditional MySQL protocol and Import_json communicates through X plug-in protocol. MySQL has a ...

Added by Matt Kindig on Tue, 24 Sep 2019 11:53:34 +0300

Habor Installation Deployment + SSL

Habor is an open source container mirror warehouse of VMWare. In fact, Habor is an enterprise-level extension on Docker Registry, which has gained wider application. These new enterprise-level features include: management user interface, role-based access control, AD/LDAP integration and audit log, etc., which can meet the basic enterprise nee ...

Added by jikishlove on Fri, 20 Sep 2019 11:20:51 +0300