• docker部署StreamSets

    发布于:2024-07-20 作者:Garany 评论(0) 引用(0) 浏览(513)   分类:破万卷书  

    mkdir -p /data/sdc/{data,libs,logs} docker run -itd --name sdc \ --restart=always -p 18630:18630 \ -v /data/sdc/data/:/data/ \ -v /data/sdc/libs/:/opt/streamsets-datacollector-3.22.3-0047/streamsets-libs/ \ -v /data/sdc/logs/:/logs/ \ streamsets/datacollector:3.22.3-0047-1069 dc docker exec -it -u root sdc bash # 删除在线账号 rm -rf /opt/streamsets-datacollector-3.22.3-0047/container-lib/streamsets-activation-no-trial-3.6.0.jar #修改时区 sed -i 's/dl-cdn.alpinelinux.org/mirrors.al...

    阅读全文>>

    标签: centos7 docker
  • nvidia-docker 安装

    发布于:2024-05-12 作者:Garany 评论(0) 引用(0) 浏览(138)    

    #centos 1.1 安装依赖 distribution=$(. /etc/os-release;echo $ID$VERSION_ID) curl -s -L https://nvidia.github.io/nvidia-container-runtime/$distribution/nvidia-container-runtime.repo | sudo tee /etc/yum.repos.d/nvidia-container-runtime.repo 1.2 安装nvdia-docker yum install nvidia-container-runtime systemctl restart docker 1.3 测试 docker run --rm --runtime=nvidia --gpus all nvidia/cuda:11.6.2-base-ubuntu20.04 nvidia-smi

    阅读全文>>

  • docker部署OceanBase

    发布于:2023-05-20 作者:Garany 评论(0) 引用(0) 浏览(76)   分类:破万卷书  

    mkdir -p /data/oceanbase/ob mkdir -p /data/oceanbase/obd/ docker run -itd --name oceanbase \ --network=host -p 2881:2881 \ -e MODE=normal -e TZ=Asia/Shanghai \ -v /data/oceanbase/ob/:/root/ob/ \ -v /data/oceanbase/obd/:/root/.obd/ \ oceanbase/oceanbase-ce:4.3.0 查看集群列表 docker exec -it oceanbase obd cluster list 查看obcluster集群状态 docker exec -it oceanbase obd cluster display obcluster

    阅读全文>>