October 2018
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
293031  

Categories

October 2018
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
293031  

GC Details

Third, the option parameters explain 1, heap size settings 1 -Xmx3550m -Xms3550m -Xmn2g -Xss128k

-Xmx 3550m: Set the maximum available memory of the JVM to 3550M.

-Xms 3550m: Set the JVM initial memory to 3550m. This value can be set to be the same as -Xmx to avoid the JVM reallocating memory after each garbage […]

COPY and ADD commands in Dockerfile

COPY and ADD commands in Dockerfile

Two very similar commands COPY and ADD are provided in the Dockerfile. This article attempts to explain the basic functions of these two commands, as well as their similarities and differences, and then summarize their respective suitable application scenarios.

Build context concept When you create a mirror from a […]

Docker to build a Tomcat runtime environment

1 Prepare the host system

Prepare a CentOS 7 operating system with the following specific requirements:

Must be a 64-bit operating system. The kernel is above 3.8 to view your CentOS kernel with the following command:

# uname -r

2 Install Docker

# yum install docker Use the following command to see if Docker is […]

IBM MQ 7.5 Developer Edition installation configuration

IBM MQ 7.5 Developer Edition installation configuration

Download the development version here

Download address: https://www.ibm.com/developerworks/cn/downloads/ws/wmq/

Environment CentOS 7.4 x64

1. Preparation before installation

[root@236 ~]# mkdir mq #Create a new installation directory [root@236 ~]# tar -xzf mqadv_dev75_linux_x86-64.tar.gz -C mq #Unpack [root@236 ~]# ls mq copyright MQSeriesFTAgent-7.5. 0-2.x86_64.rpm MQSeriesMan-7.5.0-2.x86_64.rpm MQSeriesMsg_ko-7.5.0-2.x86_64.rpm MQSeriesSDK-7.5.0-2.x86_64.rpm crtmqpkg MQSeriesFTBase-7.5.0-2.x86_64 .rpm MQSeriesMsg_cs-7.5.0-2.x86_64.rpm MQSeriesMsg_pl-7.5.0-2.x86_64.rpm […]

docker centos

[root@ docker]# cat /etc/yum.repos.d/docker-main.repo [docker-main-repo] name=Docker main Repository baseurl=https://get.daocloud.io/docker/yum-repo/main/CentOS/7 enabled=1 gpgcheck=1 gpgkey=https://get.daocloud.io/docker/yum/gpg

[root@ docker]# yum install docker-engine –y

[root@ docker]# docker –version Docker version 17.05.0-ce, build 89658be

firewall-cmd –add-port=2377/tcp –permanent

firewall-cmd –add-port=7946/tcp –permanent

firewall-cmd –add-port=7946/udp –permanent

firewall-cmd –add-port=4789/udp –permanent

firewall-cmd –reload**

[root@ docker]# cat /etc/docker/daemon.json { “insecure-registries”:[“docker-registry.rmohan.com:5000”], “log-driver”:”json-file”, “log-opts”:{“max-size”:”1024m”,”max-file”:”2″} }

[root@ ~]# systemctl restart docker.service

[…]