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.ini file and find the Administration section.
  • Configure the password for administrator as shown below:
[Administration]
administrator_password = XXXXXX
  • Please replace XXXXXX with 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.ini file and find the Security section.
  • Configure the security mode as shown below:
[Security]
security_mode = 3
  • Please replace 3 with 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.ini file and find the Storage section.
  • Configure the data storage as shown below:
[Storage]
storage_type = 0
  • Please replace 0 with 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.ini file and find the Logging and Monitoring sections.
  • Configure logging and monitoring as shown below:
[Logging]
log_level = 0
[Monitoring]
enable = true
  • Please replace 0 with the actual logging level you are using (0: debug, 1: info, 2: warn, 3: error).
  • Please replace true/false with 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.ini file and find the Logging section.
  • Configure system logging and alerts as shown below:
[Logging]
log_level = 1
[Security]
alert_level = 2
  • Please replace 1 and 2 with the actual logging level and alert level you are using (0: debug, 1: info, 2: warn, 3: error).