Automatic startup of kbmmw server under Linux

In order to realize the automatic startup of kbmmw server under Linux, linux daemon technology must be used. The implementation of this technology can be found on the Internet, Today, I mainly write about the specific implementation methods. There are many ways to implement Linux daemon, but there are some unsatisfactory problems. Recently, I ...

Posted on Wed, 29 Apr 2020 21:00:35 -0700 by lettie_dude

How to check network card information on Linux

Sometimes for a variety of reasons, you may need to configure additional network interfaces. Source: https://linux.cn/article-12165-1.html By Magesh Maruthamuthu Translator: geekpi By default, you configure the primary network interface when you set up the server. This is part of everyone's build effort. Sometimes for a v ...

Posted on Wed, 29 Apr 2020 17:51:17 -0700 by Alpha_One

shell script 14: Enterprise case

14. Enterprise Actual Warfare Cases (1) Use the for loop to create 10 html files in batch in the / oldboy directory, where the file name contains 10 random lowercase letters to reinforce the fixed string 0ldoby. Idea analysis to generate random numbers: The core is to create 10 random lower case letters. Method 1: echo $RANDOM range is 0-32767 ...

Posted on Wed, 29 Apr 2020 09:37:56 -0700 by kparker

Docker-TLS encrypted communication

1, TLS encrypted communication In the company's docker business, in order to prevent link hijacking, session hijacking and other problems from causing the docker to be contacted by an intermediary, both ends of C/S should communicate by encryption. If the company uses its own image source, you can skip this step; otherwise, you need to verify ...

Posted on Wed, 29 Apr 2020 08:44:41 -0700 by Sneo

Deployment of Kubernetes cluster ETCD

kubernetes cluster deployment Three official deployment methods1.minikubeminikube is a tool that can run a single point of kubernetes quickly locally, only for testing K8S or daily developmentDeployment address: https://kubernetes.io/docs/setup/minkube/2.kubeadmKubeadm is also a tool that provides kubeadm init and kubeadm join for rapid deploy ...

Posted on Wed, 29 Apr 2020 08:35:02 -0700 by gauss

gmssl state secret certificate generation method: state secret multi-level ca certificate, state secret encryption certificate, state secret signature certificate

Configure the prerequisite environment: mkdir demoCA cd demoCA mkdir certs clr newcerts private touch index.txt touch index.txt.attr echo "01" > serial index.txt: a text database file defined by openSSL that has issued a certificate. This file is usually empty during initialization; Serial: the serial number reference file used when issui ...

Posted on Wed, 29 Apr 2020 08:19:08 -0700 by Thatsmej

mongodb cluster building

Create mongodb sharding cluster 1, Environmental preparation 1. Server node information [three servers]     x.x.x.159, x.x.x..160, x.x.x..161 2. Server system Linux x86? 64 GNU / Linux or centos7 or redhat 3. mongodb version     mongodb v4.2.5 Download address: https://fastdl.mon ...

Posted on Wed, 29 Apr 2020 01:10:36 -0700 by JonathanV

Python executes external commands (subprocess, call, Popen)

1. Python Executes External Commands 1. Introduction of subprocess module The subprocess module allows us to start a new process and connect to their input/output/error pipelines to get a return value. This module is used to create and manage subprocesses.It provides a high-level interface to replace modules and functions such as os.system*(), ...

Posted on Tue, 28 Apr 2020 10:47:35 -0700 by ed209

Docker enterprise private warehouse introduction and deployment of Harbor

Preface The application, development and operation of docker container are inseparable from reliable image management. In the previous article, we mentioned that when we pull images, we use the public image warehouse provided by docker. However, we also need to deploy the Registry in the private environment in terms of security, efficiency an ...

Posted on Tue, 28 Apr 2020 10:43:01 -0700 by gooney0

Advanced from zero -- build docker swarm and gitlab runner to realize hyperf deployment through continuous integration

Building docker swarm and continuous integration of gitlab runner to realize hyperf deployment Recently, it was found that hyperf is useful. According to the requirements of the official website, you can find out the gitlab runner continuous integration deployment. See the official documents for details: Hyperf Introduction: Docker Swarm: swa ...

Posted on Tue, 28 Apr 2020 04:37:18 -0700 by Supplement