(Optional) Enabling the Background Data Management Page
This function is used only to display the load, task execution, and tuning information in the OmniAdvisor 2.0 database. If you do not perform the operations in this section, OmniAdvisor 2.0 can still be used properly.
- Create an administrator.
cd $OMNIADVISOR_HOME/BoostKit-omniadvisor_2.0.0/src python init.pyc createsuperuser
Set the user name and password, for example, advisortest and 123456. The default user name is advisortest, which is the same as the current OS user name. You do not need to set Email address. Therefore, when the system prompts you to enter the user name and email address, you can press Enter directly.
Check that the password meets the following requirements:
- Contains at least eight characters.
- Contains at least two types of the following characters:
- Lowercase letters
- Uppercase letters
- Digits
- Spaces or the following special characters:`~!@#$%^&*()-_=+\|[{}];:'",<.>/?
- Differs from the account name.

- Start the Django web service.
- When using the admin service, ensure that it is hosted in another domain and that it can be accessed only through an internal network or a VPN. Disable the admin service from connecting to an external network. This prevents security risks caused by improper settings of the admin service.
- Do not start the service as the root user account. If you use the root user account, an intrusion or attack could allow attackers to leverage elevated execution permissions on the program to damage the entire system.
cd $OMNIADVISOR_HOME/BoostKit-omniadvisor_2.0.0/src python init.pyc runsslserver host-ip:8000

- View data on the UI.
Visit https://host-ip:8000/admin and enter the user name and password as prompted.

If the login is successful, the following information is displayed:

Parent topic: Using OmniAdvisor 2.0