Binary installation Prometheus
Server list:
Server name
operating system
IP address
service
test03
Ubuntu 16.04.4
192.168.1.58
Prometheus, Alertmanager,grafana
test02
Ubuntu 16.04.4
192.168.1.57
Node_exporter
1. Install prometheus
Download address on Prometheus official website: https://prometheus.io/download/
Download prometheus
root@test03:~# wget https://g ...
Posted by DeadDude on Thu, 17 Oct 2019 22:15:56 +0200
ECS uses docker to build services
Premise: Amazon cloud has been configured to start.
The inbound policy of security group is as follows:
The outbound strategy is as follows:
After logging in to EC2, only EC2 user can log in by default, and then switch to root:
sudo su
Prompt for installing docker no package docker available using yum.
yum install docker -y
resolvent:Add CentOS ...
Posted by Warmach on Wed, 16 Oct 2019 05:14:21 +0200
P4RUNTIME GRPC experiment
Read the test documents:
PI/proto/demo_grpc/README.md
Environmental configuration
In this experiment, grpc server opened a web service on port 8888, while my experiment was run in a container on the server, so I couldn't use the browser. So add a port mapping to the container, mapping 18888 to 8888.
#Stop our container
docker stop p4-rt
#Buildi ...
Posted by ramblix on Tue, 15 Oct 2019 16:25:51 +0200
Detailed installation configuration of Docker
1. Configure yum source and install docker
[root@docker ~]# cd /etc/yum.repos.d/ #Switch to yum source directory
[root@docker yum.repos.d]# wget https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
#Download Ali's docker yum source library file
[root@docker yum.repos.d]# cd
[root@docker ~]# yum makecache #Establishing yum ...
Posted by jasper on Mon, 14 Oct 2019 19:39:26 +0200
alpine mirror java log Chinese question mark garbled
0x00 Preface
I use alpine as the foundation mirror to build jdk8 image, and provide support for java micro service architecture of online business. However, if there is Chinese in the printed log of java services running in containers, there will be the following "?"?
Here's how to solve this problem, reprinted from this in github is ...
Posted by abx_2112 on Wed, 09 Oct 2019 23:45:44 +0200
Docker Container Communication and External Network Communication
Inter-Container Communication
1. Network Sharing of Containers
The docker container in this mode will share a network stack so that efficient and fast communication between the two containers can be achieved using localhost.
Used for communication between web server and application server.
# ...
Posted by kickstart on Tue, 08 Oct 2019 17:02:30 +0200
An Example of Enterprise Building Doker Private Service
Enterprises Build Doker Private Service
Article directory
Enterprises Build Doker Private Service
1 Create Private Service
1.1 Pull out the mirror
1.2 Create Containers
1.3 validation
1.4 results
1.5 Configuration of Private Warehouses
1.6 Hand-upload Mirrors to Private Clothes
1.7 test
1 ...
Posted by stitchmedia on Thu, 03 Oct 2019 13:32:35 +0200
Experience Recall (Manual) => docker-compose deployment and scrapyd+scrapyd-deploy upload code trampling
Preface
Stepped on the pit for 5-6 hours, various tests. There's no one left. But I'm satisfied with the result.This article is correct. https://segmentfault.com/a/11... Perfect and Preliminary BUG!
Dakeng 1 (scrapyd service bind_address):
I used Docker (I remember scrapyd's configuration file seemed to be the default 0.0.0 when I didn't use do ...
Posted by pspfreak101 on Wed, 18 Sep 2019 13:02:28 +0200
Jedis Experience under Docker
Jedis is a client implementation of the java version of redis. This article shows the basic usage of jedis through some web request-response ex amp les.
Before we start coding, we'll prepare the environment for two server s, two docker containers:
Redis, using redis version 3.2.8, this is a single-machine redis;
tomcat, version 7.0.77-jre8, to ...
Posted by kristalys on Tue, 17 Sep 2019 03:49:32 +0200
WEB Backend Service Day 21 - Project Day 1
WEB Backend Service Day 21 - Project Day 1
1. Build a project team development platform
II. Basic usage of Docker and Quick Deployment Projects
2.1 Basic Description
Mainstream Development Model: DevOps Development as Operations Maintenance
Doc ...
Posted by Crazy-D on Mon, 16 Sep 2019 04:11:21 +0200