Doris Initial Security Configuration (such as setting the administrator password)
1. Configure System Administrator Password
After installing Doris, you need to configure the system administrator password to facilitate subsequent management and monitoring.
- Locate the Doris
config.inifile and find theAdministrationsection. - Configure the password for
administratoras shown below:
[Administration]
administrator_password = XXXXXX
- Please replace
XXXXXXwith your actual administrator password.
2. Configure Security Mode
Doris supports multiple security modes, including asymmetric encryption, symmetric encryption, and hybrid encryption. Select an appropriate security mode to ensure data security.
- Locate the Doris
config.inifile and find theSecuritysection. - Configure the security mode as shown below:
[Security]
security_mode = 3
- Please replace
3with the actual security mode you are using (0: Asymmetric Encryption, 1: Symmetric Encryption, 2: Hybrid Encryption).
3. Configure Data Storage
Doris supports multiple data storage types, including relational databases and NoSQL, etc. When configuring security settings, determine which storage type you want to use.
- Locate the Doris
config.inifile and find theStoragesection. - Configure the data storage as shown below:
[Storage]
storage_type = 0
- Please replace
0with the actual data storage type you are using (0: Relational Database, 1: NoSQL, etc.).
4. Configure Logging and Monitoring
Doris supports various logging and monitoring settings. When configuring security settings, determine which settings you want to use.
- Locate the Doris
config.inifile and find theLoggingandMonitoringsections. - Configure logging and monitoring as shown below:
[Logging]
log_level = 0
[Monitoring]
enable = true
- Please replace
0with the actual logging level you are using (0: debug, 1: info, 2: warn, 3: error). - Please replace
true/falsewith your actual monitoring status.
5. Configure System Logging and Alerts
Configure system logging and alerts to facilitate the detection and prevention of potential security vulnerabilities.
- Locate the Doris
config.inifile and find theLoggingsection. - Configure system logging and alerts as shown below:
[Logging]
log_level = 1
[Security]
alert_level = 2
- Please replace
1and2with the actual logging level and alert level you are using (0: debug, 1: info, 2: warn, 3: error).