Getting Started with Web Console
The configuration for the Web Console is managed through an environment variable file. When starting with the systemctl start ovenstudio command, it loads the environment variables from the following path:
/usr/share/ovenmediaengine/ovenstudio/system.envConfiguring system.env
system.envThe default configuration of the environment variable file is as follows:
OS_SERVER_PORT=8080
LOG_DIR=/var/log/ovenmediaengine/ovenstudio
JAVA_HOME=/usr/share/ovenmediaengine/ovenstudio/jvm/jdk-17.0.10+7-jreEnvironment Variables
OS_SERVER_PORT
Service port where Web Console will run: 8080
LOG_DIR
Log storage path of Web Console: /var/log/ovenmediaengine/ovenstudio
JAVA_HOME
JAVA installation path: /usr/share/ovenmediaengine/ovenstudio/jvm/jdk-17.0.10+7-jre
OME_HOST_IP
Host IP of OvenMediaEngine
Admin Password
The admin password for the Web Console is managed in a file. If the .admin-password file does not exist when the Web Console starts, it will be automatically generated, and the default password will be ovenstudio.
$ cat /usr/share/ovenmediaengine/ovenstudio/conf/.admin-password
ovenstudio
$Change password
You can directly modify the .admin-password file to change the password as follows. The updated password will be applied immediately without restarting the Web Console.
$ echo 'new-password' > /usr/share/ovenmediaengine/ovenstudio/conf/.admin-password
$ cat /usr/share/ovenmediaengine/ovenstudio/conf/.admin-password
new-password
$Apply Changes
If the Environment Variables are changed, you must restart the Web Console (ovenstudio) for the changes to take effect. You can restart the Web Console using the following command:
$ sudo systemctl restart ovenstudioWas this helpful?