• docker


    ##https://hub.docker.com/

    yum install -y docker-ce

    systemctl start|stop docker

    docker ps 

    docker inspect namesrv

    ##mysql

    docker run --name mysql -p 3307:3306 -e MYSQL_ROOT_PASSWORD=howhy@123 -d mysql:5.7 --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci 

    ##redis

    docker run --name redis -p 6380:6379 -d redis  --requirepass "1111111a"

    docker exec -it redis bash     >/usr/local/bin/redis-cli    config set requirepass 1111111a

    docker exec -it redis redis-cli

    ##rocketmq http://192.168.1.102:8080/#/cluster

    docker run --name namesrv -p 9876:9876 -e "MAX_POSSIBLE_HEAP=10000000" -d rocketmqinc/rocketmq sh mqnamesrv

    docker run --name rocketmqbroker -p 10911:10911 -p 10909:10909 -v /usr/local/rocketmq/broker.conf:/opt/rocketmq/conf/broker.conf --link namesrv:namesrv -e "NAMESRV_ADDR=namesrv:9876" -e "MAX_POSSIBLE_HEAP=200000000" -d rocketmqinc/rocketmq sh mqbroker -c /opt/rocketmq/conf/broker.conf
    docker run -e "JAVA_OPTS=-Drocketmq.namesrv.addr=192.168.1.102:9876 -Dcom.rocketmq.sendMessageWithVIPChannel=false" -p 8080:8080 -d styletang/rocketmq-console-ng

    ##mongo
    docker run --name mongo -p 27017:27017 -d mongo --auth    

    docker exec -it mongo mongo admin

    ##nacos http://192.168.1.102:8848/nacos/#/login

    docker run --name nacos -e MODE=standalone -p 8848:8848 -d nacos/nacos-server:1.4.2

    ##sentinel-dashboard http://192.168.1.102:8858/#/dashboard

    docker run --name sentinel -d -p 8858:8858 -d bladex/sentinel-dashboard:tagname

    ##seata-server 

    docker run --name seata-server -p 8091:8091 -e SEATA_IP=192.168.1.102 seataio/seata-server

  • 相关阅读:
    2018年度总结
    SQL特殊comment语法
    mysql 主从复制change master to
    mysql 主从复制参数slave_net_timeout
    show master status, show slave status中的Executed_Gtid_Set
    mysql重复start slave、stop slave测试
    golang database sql DSN (Data Source Name)中的timeout, readTimeout
    mysql show master status为空值
    Linux 建立 TCP 连接的超时时间分析(解惑)
    golang 原子操作函数
  • 原文地址:https://www.cnblogs.com/howhy/p/15269173.html
Copyright © 2020-2023  润新知