Docker deploy pinpoint2.2

Docker deploy pinpoint2.2
and install docker
1. Docker requires the kernel version of the CentOS system to be higher than 3.10. Check the prerequisites on this page to verify whether your CentOS version supports Docker.
Use the uname -r command to check your current kernel version
Docker deploy pinpoint2.2
2. Update the yum source. (Not required)
$ yum update -y
3. Uninstall the old version (if the old version is installed)
$ sudo yum remove docker docker-common docker-selinux docker-engine
4. Install dependent packages, yum-util provides yum-config- Manager function, the other two are devicemapper driver dependent
$ sudo yum install -y yum-utils device-mapper-persistent-data lvm2
5. Set yum source
$ sudo yum-config-manager --add-repo https://download .docker.com/linux/centos/docker-ce.repo
Docker deploy pinpoint2.2

6. You can view all docker versions in all warehouses, and select a specific version to install, (you can install the latest version of docker without viewing it)
$ yum list docker-ce --showduplicates | sort -r
Docker deploy pinpoint2.2

7. Since only the stable warehouse is opened by default in the repo, the latest stable version is installed here
$ sudo yum install docker-ce -y
Docker deploy pinpoint2.2

8. Start and add the boot start
$ sudo systemctl start docker
$ sudo systemctl enable docker
Docker deploy pinpoint2.2

9. Set up the mirror acceleration source (here is my own acceleration source can be changed)
vim /etc/docker/daemon.json
{
"registry-mirrors": [" https://57ga18se.mirror.aliyuncs.com "]
}
Docker deploy pinpoint2.2

10. Restart docker and check the version.
$ sudo systemctl restart docker
$ docker version
Docker deploy pinpoint2.2

So far the docker installation is complete!
2. Install docker-compose
1. Download the docker-compose installation file (version optional)
curl https://github.com/docker/compose/releases/download/1.25.0/docker-compose-Linux-x86_64 -o /usr/ local/bin/docker-compose
Docker deploy pinpoint2.2
2. Modify the execution permission
chmod +x /usr/local/bin/docker-compose
3. Check the version
docker-compose --version
Docker deploy pinpoint2.2

3. Install pinpoint
1. Use the official installation method
official link:
https://github.com/pinpoint-apm/pinpoint-docker
https://github.com/pinpoint-apm/pinpoint/releases/tag/v2.2.0
2. Download the latest source code, the default version 2.2 (install git client without git)
git clone https://github.com/naver/pinpoint-docker.git
Docker deploy pinpoint2.2
3. Download the image and start
cd pinpoint-docker
Docker deploy pinpoint2.2
docker-compose pull
Docker deploy pinpoint2.2
docker- compose up -d
Docker deploy pinpoint2.2
access ip: 8079 The
Docker deploy pinpoint2.2
installation is now complete!

Guess you like

Origin blog.51cto.com/14656499/2597090