Nginx+Tomcat Load Balancing Cluster Setup

Introduction to Tomcat Tomcat was originally developed by Sun's software architect James Duncan Davidson The directories and files below the installation path after Tomcat is installed are important files for using or configuring Tomcat Tomcat Important Catalog bin: Stores Tomcat scripts to start and close conf: Store different Tomcat confi ...

Posted by ATLien on Fri, 20 Dec 2019 12:59:55 -0800

ImportError: cannot import name Process

The current file name is: multiprocessing.py #!/usr/bin/env python3 import os from multiprocessing import Process def child_proc(name): print('child process', name, '[',os.getpid(),']','start running...') if __name__ == '__main__': print('parent process', os.getpid()) for i in ran ...

Posted by Cynthia Blue on Fri, 20 Dec 2019 12:51:50 -0800

Kubernetes+docker-DIY-kafka+zookeeper+manager cluster deployment

Foreword: Recent project of combining kafka and zookeeper containerization with rancher, I consulted related websites and books and found that there are many reasons why I chose to customize it if it is relatively strong to standardize the company. Let me briefly talk about the reasons why I chose to customize it finally: (Because k8s+kakfa te ...

Posted by harty83 on Fri, 20 Dec 2019 09:48:27 -0800

Notes on cluster construction

Catalog Integrated architecture Host planning ip Basic optimization m01 build yum warehouse Backup Rsync network wide backup nfs shared storage project Real time replication of NFS shared storage data to backup SSH, Ansible, batch management service project MySQL database environment construction The construction of Nginx+PHP popular dynamic W ...

Posted by ben_johnson1991 on Fri, 20 Dec 2019 08:04:42 -0800

Python - script program generates exe executable program (pyinstaller)

1, About pyinstaller Python is a scripting language that is interpreted and executed by an interpreter. How to publish it: . py file: for open source projects or sources that are not so important, providing source directly requires users to install Python and install various libraries they depend on. (this is what Python's official packages do ...

Posted by goatboy on Fri, 20 Dec 2019 07:35:55 -0800

The usage of I/Of multiplexing select in network programming

The usage of select in network programming select use flow chart Lines of code to be added in network programming and their significance routine References and blogs Note: This paper does not explain the select function, related parameters and structure select use flow chart Create with Rapha ë l 2.2.0 define select ...

Posted by hdpt00 on Fri, 20 Dec 2019 07:11:20 -0800

Docker Series 2: Docker Installation Configuration and Basic Use

1. Introduction to Basic Environment 1. Introduction of basic software and hardware environment 64-bit CPU required linux Kernel Version 3.10 and above Kernel supports cggroups and namespace System version is CentOS7.4 [centos6 is also available but unstable] Docker version 18.06 K8S version 1.16 [k8s version must be compatible with docker ve ...

Posted by rupturedtoad on Thu, 19 Dec 2019 18:20:55 -0800

ELK Log Analysis System - (Actual!)

brief introduction log server Improving security Centralized storage of logs Defect: Difficulty in log analysis ELK Log Analysis System Elasticsearch: Storage, Index Pool Logstash: Log Collector Kibana: Data visualization Log Processing Steps 1, centralize log management 2, Logstash and output to Elasticsearch 3. Index and store the f ...

Posted by pkrtech on Thu, 19 Dec 2019 15:11:37 -0800

Docker implements data persistence

Due to the explosion of Docker technology, companies of all sizes are now using Docker.Friends who are familiar with Docker know that DOcker containers run for a lifetime and that if a docker container fails, it means that the data in the container will also be lost.So data is important for the enterprise!How to persist data in docker containe ...

Posted by Ameslee on Thu, 19 Dec 2019 14:53:30 -0800

Intel Galileo gen2 motherboard experiment (1)

Intel Galileo gen2 motherboard experiment (1) Intel Galileo gen2 motherboard specifications Intel Galileo gen2 motherboard specifications SD card startup disk making Software used: Win32DiskImager (for writing sd card image), SD card image of Galileo Linux (an integrated Yocto based Linux, Galileo poky SW image 20160606. Z ...

Posted by nicandre on Thu, 19 Dec 2019 08:48:36 -0800