摘要:
参数 参数 选项/默认值 描述 gidinterger 要为组设置的可选 GID。 localboolean false ←(默认) true 强制在实现它的平台上使用“local”命令替代项。这在要操作本地组时使用集中式身份验证的环境中非常有用。(例如,它使用 代替lgroup addgroupa 阅读全文
摘要:
准备工作 创建roles目录 # mkdir -pv /data/apps/ansible/roles/ubuntu/{tasks,handlers,templates,vars,files} hosts [ubuntu] 172.16.18.31 ansible_ssh_port=22 ansib 阅读全文
摘要:
密码复杂度策略 安装密码质量检查库 # apt -y install libpam-pwquality 设置密码过期的天数 用户必须在几天内更改密码。此设置仅在创建用户时产生影响,不会影响现有用户。如果设置为现有用户,请运行命令 [chage -M (days) (user)]。 查看用户密码有效期 阅读全文
摘要:
influx configs [default] url = "http://localhost:8086" token = "yxhyIIkHRyQMUBKHpMMnOBd-d6DdEr-LLUgZQd0-iNJV3xB3C44AsKjrxCKh084LS2bpl6Yfcyo1mM0BSh0V8A 阅读全文
摘要:
设置 InfluxDB 连接 创建一个新的 CLI 配置 # influx config create --config-name wgs-02 --host-url http://localhost:8086 --org wgs --token 59fSTydF26m1P34QUVE3EtAUPb 阅读全文
摘要:
部署Influx CLI 下载 Influx CLI # wget https://dl.influxdata.com/influxdb/releases/influxdb2-client-2.6.1-linux-amd64.tar.gz 解压 Influx CLI # tar xf influxd 阅读全文
摘要:
部署 InfluxDB APT方式部署 # wget -q https://repos.influxdata.com/influxdata-archive_compat.key # echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b 阅读全文
摘要:
Influxdb # Influxdb --help Start up the daemon configured with flags/env vars/config file. The order of precedence for config options are as follows ( 阅读全文
摘要:
{ "registry-mirrors":["https://fv50tv30.mirror.aliyuncs.com","https://reg-mirror.qiniu.com"], "dns":["114.114.114.114","8.8.8.8"], "data-root": "/data 阅读全文
摘要:
创建grafana用户 # groupadd -g 1025 -o -r grafana # useradd -M -N -g grafana -o -r -d /data/apps/grafana -s /bin/false -c "grafana Server" -u 1025 grafana 阅读全文