tidb Prometheus登录默认用户名和密码是啥?

是tiup安装的,我自己指定了目录。
[root@hdty-dmdca /]# export TIUP_HOME=/data
[root@hdty-dmdca /]# echo $TIUP_HOME
/data
[root@hdty-dmdca /]# curl --proto ‘=https’ --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7385k 100 7385k 0 0 7363k 0 0:00:01 0:00:01 --:–:-- 7363k
WARN: adding root certificate via internet: https://tiup-mirrors.pingcap.com/root.json
You can revoke this by remove /data/bin/7b8e153f2e2d0928.root.json
Successfully set mirror to https://tiup-mirrors.pingcap.com
Detected shell: bash
Shell profile: /root/.bash_profile
/root/.bash_profile has been modified to add tiup to PATH
open a new terminal or source /root/.bash_profile to use it
Installed path: /data/bin/tiup

Have a try: tiup playground

[root@hdty-dmdca /]# source .bash_profile
-bash: .bash_profile: 没有那个文件或目录
[root@hdty-dmdca /]# source /root/.bash_profile

1 个赞