Sprboot / cloud (18) Use docker to quickly build local environments
Sprboot / cloud (18) Use docker to quickly build local environments
In peacetime development work, the construction of the environment has always been a very troublesome thing.
Especially now, the system is more and more complex, and there are more and more middleware to connect.
However, to install these middleware smoothly is also a time-cons ...
Posted by ohjay on Wed, 22 May 2019 04:16:57 +0200
docker builds ELK, logstash reads data from kafka
Set up ELK to do log analysis for recording. Installation of kafka and docker is not explained here.
First, build elastic search
docker run -d elasticsearch
es has an official image, so there is no other requirement, so you can run an elastic search container, but I specify the port mapping and configuration file and data file volume, so ...
Posted by pliant on Tue, 21 May 2019 23:09:47 +0200
Rabbit Mq docker installation and springboot
A Brief Introduction to RabbitMQ Core Nouns
Publisher: Message Producer
Exchange: Exchange, which receives messages from producers and routes them to queues in servers based on the binding relationship between routing keys and queues
Exchange has four types: direct (default), fanout, topic, and headers:
diract: Perfect matc ...
Posted by werushka on Fri, 17 May 2019 13:56:17 +0200
Programmed apes must know awk from Linux commands
Preface
For a professional programmer, Linux-related knowledge is necessary. Text processing is more common, such as formatting the output data we need, which may come from text files or pipe characters, or counting the frequency and total number of data we need in the text.Then awk is worth learning.
text
In Linux, awk, sed, grep are cal ...
Posted by stuartbrown20 on Thu, 16 May 2019 23:12:17 +0200
Open Source Fortress jumpserver Build
Summary
Before I said the domestic conscience of kodexplorer, today I say another good domestic open source project jumpserver, in addition to the domestic open source project I think it is the pagoda panel.Don't talk too much about the tutorial.
Although you can read the following tutorial without listening to my nonsense
http://docs.jumpserv ...
Posted by lazersam on Thu, 16 May 2019 08:52:48 +0200
Doker-compose Running Flask Application Best Practices
background
Before deploying applications, various environment configurations were needed, and various shell operations were needed to build a set of available services. Now with Docker, deployment is easier, configuration errors are less likely, and environment inconsistencies are less likely. It solves the problems of running in the local en ...
Posted by martins on Tue, 14 May 2019 11:55:21 +0200
Analysis of Go slice Expansion
This paper mainly makes some analysis of go slice's expansion mechanism. Environment, 64-bit centos docker image + go1.12.1.
Routine operation
When slice append occurs, growSlice occurs when slice cap is not enough to accommodate new elements.
For example, for the following code
func main() {
slice1 := make([]int,1,)
...
Posted by Lee on Sun, 12 May 2019 04:11:48 +0200
Linux ctrl-c explain (ctrl-c detail)
Catalog
1 Background posture
2 foreplay
3 dinner
4 systemctl stop docker
5 demo
1 Background posture
drive
Driver, full name device driver, is a special program added to the operating system, which contains information about hardware devices. This information enables the computer to communicate with the corresponding equipment.
interrupt
A w ...
Posted by shenmue232 on Fri, 10 May 2019 16:38:56 +0200
centos installation operation and partial understanding of docker
After installing the docker locally the other day and getting familiar with the commands, I still couldn't help but go through a wave of golang mirror deployments on centos. Here are my steps and some ideas.Prepare: A networked centos server with docker installed
1. Not to mention, write a Dockerfile (just want to experience the dockerfile proc ...
Posted by ThaboTheWuff on Fri, 10 May 2019 15:47:38 +0200
nginx docker container configuration https(ssl)
Certificate generation
First, you need https certificate files. If you have purchased certificates from Certificate Authorization center, you can skip this step. Here we introduce how to generate self-signed certificates. Self-signed certificates refer to certificates that are not issued by Certificate Authority, but generated by the relevant t ...
Posted by robtbs on Wed, 08 May 2019 23:36:03 +0200