本节描述如何安装DMServer。
说明:
- 部分插件通过sudo命令在集群内部调用OS命令。需确保已在集群节点上为集群用户禁用了requiretty。
- 安装时,密码不允许包含特殊字符('")和空格。
关于安装前检查事项,请参见预安装检查。
- 执行以下命令安装DMServer:
python install.py install
输入主数据库和指标数据库的密码。
-
例如:
Enter password for Primary & Metric Database:
再次输入密码。
-
例如:
Retype password:
Note:Remember the Primary & Metric Database password, it helps to
1. Resetting Admin Password.
2. Unlocking Admin User.说明:用户需记住主数据库和指标数据库的密码,以便后续进行以下操作:
- 重置Admin密码。
- 解锁Admin用户。
-
通过以下方式创建Database Manager管理员账户admin的密码:
- 如果选择输入yes,则继续输入Database Manager管理员账户admin的密码,并再次输入该密码进行确认。
Database Manager安装成功后,系统显示信息如下:
[dminstalluser@blrlabvm_171_29 ~]$ python install.py install
Enter password for Primary & Metric Database:
Retype password:
Note:Remember the Primary & Metric Database password, it helps to
1. Resetting Admin Password.
2. Unlocking Admin User.
Do you want create Database Manager Admin password (Yes/No)? Yes
Enter Database Manager Admin password:
Retype password:
[27/27] Pre Check for installation - COMPLETED
[27/27] Preparing installation - COMPLETED
[27/27] Deploying - COMPLETED
[27/27] Configuring - COMPLETED
[27/27] Starting - COMPLETED
[27/27] Verify Start - COMPLETED
[27/27] Cleaning up temporary files - COMPLETED
Registering services...
. . . . . . . . .
Database Manager has been installed successfully.
Access the below URL to start...
https://10.X.X.X:7070/APW - 如果选择输入no,则系统将使用admin的默认密码,并在安装完成后提示用户立即修改默认密码。
安装成功后,显示如下信息(以默认设置安装为例)。
[dminstalluser@blrlabvm_171_29 ~]$ python install.py install
Enter password for Primary & Metric Database:
Retype password:
Note:Remember the Primary & Metric Database password, it helps to
1. Resetting Admin Password.
2. Unlocking Admin User.
Do you want create Database Manager Admin password (Yes/No)? No
System will be using default password for admin. Please change the password after installation.
[27/27] Pre Check for installation - COMPLETED
[27/27] Preparing installation - COMPLETED
[27/27] Deploying - COMPLETED
[27/27] Configuring - COMPLETED
[27/27] Starting - COMPLETED
[27/27] Verify Start - COMPLETED
[27/27] Cleaning up temporary files - COMPLETED
Registering services...
. . . . . . . . .
Database Manager has been installed successfully.
Access the below URL to start...
https://10.X.X.X:7070/APW
说明:默认密码为Admin@123。
- 如果选择输入yes,则继续输入Database Manager管理员账户admin的密码,并再次输入该密码进行确认。
注意:
如果要在系统资源较少的计算机上安装DMServer用于调试或演示,执行以下命令跳过磁盘和内存检查:
python install.py install --config install-default.conf --skip-disk-check --skip-memory-check
说明:
如果管理员密码包含特殊字符,需要给该字符前添加一个反斜杠(\)。否则,系统将显示“-bash:< given password>: event not found”错误消息。
错误输入:Admin!123
错误消息:-bash:Admin!123: event not found
正确输入:Admin@123