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
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
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
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
8. Start and add the boot start
$ sudo systemctl start docker
$ sudo systemctl enable docker
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 "]
}
10. Restart docker and check the version.
$ sudo systemctl restart docker
$ docker version
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
2. Modify the execution permission
chmod +x /usr/local/bin/docker-compose
3. Check the version
docker-compose --version
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
3. Download the image and start
cd pinpoint-docker
docker-compose pull
docker- compose up -d
access ip: 8079 The
installation is now complete!