• docker部署StreamSets

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

    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
  • docker部署OceanBase

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

    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

    阅读全文>>

  • Firewalld

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

    一、系统环境 Centos7 二、安装 # yum install -y firewalld 三、 基本启动命令 # 查看状态 # systemctl status firewalld # 启动 # systemctl start firewalld # 关闭 # systemctl stop firewalld # 开机启动 # systemctl enable firewalld # 取消开机启动 # systemctl disable firewalld 四、常用命令 1. 查看 # firewall-cmd --state # 查看运行状态 # firewall-cmd --get-active-zones # 查看激活的域 # firewall-cmd --get-default-zone # 查...

    阅读全文>>