- 
                Notifications
    
You must be signed in to change notification settings  - Fork 57
 
Home
        MK (fengmk2) edited this page Oct 30, 2025 
        ·
        30 revisions
      
    Welcome to the xprofiler wiki!
https://hub.docker.com/r/fengmk2/xprofiler-centos8/tags
https://hub.docker.com/r/fengmk2/xprofiler-centos8-nodejs24/tags
https://hub.docker.com/r/fengmk2/xprofiler-centos8-arm64/tags
https://hub.docker.com/r/fengmk2/xprofiler-centos8-arm64-nodejs24/tags
需要 g++11
yum install -y gcc-toolset-11 gcc-toolset-11-gcc-c++ make
scl enable gcc-toolset-11 bash
g++ --versiondocker pull --platform=linux/arm64 centos:centos8
docker run --platform=linux/arm64 -it centos:centos8 bash
[root@06126bc6526e /]# uname -a
Linux 06126bc6526e 6.12.15-orbstack-00304-gd0ddcf70447d #60 SMP Tue Feb 18 19:55:47 UTC 2025 aarch64 aarch64 aarch64 GNU/Linuxdocker run --platform=linux/arm64 -dit --name my_centos8_arm64 centos:centos8
docker exec -it my_centos8_arm64 bash
# change yum source https://www.cnblogs.com/BlueSky2021/articles/17790478.html
cd /etc/yum.repos.d/
mkdir backup && mv *repo backup/
curl https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo -o /etc/yum.repos.d/CentOS-Base.repo
yum clean all && yum makecache
yum repolist all
# install tools
yum install python38 gcc-c++ make python38-pip git -y
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash
yum install -y gcc-toolset-11 gcc-toolset-11-gcc-c++ make
scl enable gcc-toolset-11 bash
g++ --version
glibc 版本
ldd --version
ldd (GNU libc) 2.28
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
strings /lib64/libc.so.6 | grep GLIBC_
GLIBC_2.17
GLIBC_2.18
GLIBC_2.22
GLIBC_2.23
GLIBC_2.24
GLIBC_2.25
GLIBC_2.26
GLIBC_2.27
GLIBC_2.28Windows 2022,镜像分享码:98909708 31704693