Articles in the category of linux
- Home
- linux
docker-compose zookeeper、kafka集群
version: '3' services: zoo1: image: zookeeper restart: unless-stopped hostname: zoo1 ports: - "2181:2181" - "2881:2888" - "3881:3888&qu...
gitlab.yml
version: "3" services: gitlab-ce: image: gitlab/gitlab-ce:12.5.0-ce.0 container_name: gitlab-ce hostname: gitlab-ce_12.5.0 restart: always labels: - "serv...
openspug.yml
version: "3" services: open-spug: image: openspug/spug container_name: spug hostname: spug networks: - spugnetwork volumes: - "spugdata:/data" ...
shell @用法
#!/bin/bash excuses=( 'aaa' 'bbb' 'bbb' 'sss' 'sas' 'daa' ) a=( '1' '2' '3' '5' ) rand=$[ $RANDOM % ${#excuses[@]}] #随机数余excuses的参数个数 RANDOM_EXCUSE=${excus...
检测域名到期时间
#!/bin/bash #author:anan script_dir=$( cd $(dirname "$0") &&pwd) echo "开始检测时间是 `date "+%Y-%m-%d-%R"`" >${script_dir}/gq.txt echo "开始检测时间是 `date "...