2022-05-05
1、下载
wolf@ubuntu:~$ sudo docker pull apache/openmeetings:6.2.0
[sudo] wolf 的密码:
6.2.0: Pulling from apache/openmeetings
284055322776: Pull complete
8ebba8f32ff5: Pull complete
e293d51644c4: Pull complete
97908d5a9c1d: Pull complete
e9661584963c: Pull complete
Digest: sha256:4ffcf151ae2722dad56d06048599bd09e856b73f22387fef3161de058b5490ec
Status: Downloaded newer image for apache/openmeetings:6.2.0
docker.io/apache/openmeetings:6.2.0
2、查看
root@ubuntu:/home/wolf# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
apache/openmeetings 6.2.0 047cd507e153 6 months ago 2.16GB
启动
root@ubuntu:/home/wolf# docker run 047cd507e153
usermod: no changes
- Stopping MySQL database server mysqld
...done. - Starting MySQL database server mysqld
...done.
OM server of type full will be run - Start Kurento Media Server
- Directory '/var/log/kurento-media-server' does not exist
- Created directory '/var/log/kurento-media-server'
- File '/var/log/kurento-media-server/errors.log' does not exist
- Created file '/var/log/kurento-media-server/errors.log'
- Set Kernel resource limits for Kurento Media Server
...done.
Current max open files is 16384
NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
05-May-2022 04:43:19.516 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match [Server/Service/Connector/SSLHostConfig/Certificate] failed to set property [certificateVerification] to [false]
05-May-2022 04:43:19.522 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match [Server/Service/Connector/SSLHostConfig/Certificate] failed to set property [sslProtocol] to [TLS]
05-May-2022 04:43:19.641 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/9.0.54
05-May-2022 04:43:19.641 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Sep 28 2021 13:51:49 UTC
05-May-2022 04:43:19.642 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.54.0
05-May-2022 04:43:19.642 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
05-May-2022 04:43:19.642 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 5.13.0-41-generic
05-May-2022 04:43:19.643 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
05-May-2022 04:43:19.644 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /usr/lib/jvm/java-11-openjdk-amd64
05-May-2022 04:43:19.644 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 11.0.11+9-Ubuntu-0ubuntu2.18.04
05-May-2022 04:43:19.645 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Ubuntu
05-May-2022 04:43:19.645 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /opt/openmeetings
05-May-2022 04:43:19.646 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /opt/openmeetings
05-May-2022 04:43:19.693 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
05-May-2022 04:43:19.693 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
05-May-2022 04:43:19.693 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util=ALL-UNNAMED
05-May-2022 04:43:19.694 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
05-May-2022 04:43:19.694 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
05-May-2022 04:43:19.695 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/opt/openmeetings/conf/logging.properties
05-May-2022 04:43:19.696 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
05-May-2022 04:43:19.699 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
05-May-2022 04:43:19.701 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
05-May-2022 04:43:19.702 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
05-May-2022 04:43:19.704 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
05-May-2022 04:43:19.705 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/opt/openmeetings
05-May-2022 04:43:19.706 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/opt/openmeetings
05-May-2022 04:43:19.706 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/opt/openmeetings/temp
05-May-2022 04:43:19.714 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [/usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib]
05-May-2022 04:43:20.389 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-5080"]
05-May-2022 04:43:20.453 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio-5443"]
05-May-2022 04:43:21.282 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [2389] milliseconds
05-May-2022 04:43:21.379 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
05-May-2022 04:43:21.379 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.54]
05-May-2022 04:43:21.406 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/opt/openmeetings/webapps/openmeetings]
05-May-2022 04:43:36.496 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
^C05-May-2022 04:43:43.483 INFO [main] com.hazelcast.internal.config.AbstractConfigLocator.null Loading 'hazelcast.xml' from the classpath.
05-May-2022 04:43:44.122 WARNING [main] com.hazelcast.instance.impl.HazelcastInstanceFactory.null Hazelcast is starting in a Java modular environment (Java 9 and newer) but without proper access to required Java packages. Use additional Java arguments to provide Hazelcast access to Java internal API. The internal API access is used to get the best performance results. Arguments to be used:
--add-modules java.se --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.management/sun.management=ALL-UNNAMED --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.hazelcast.internal.networking.nio.SelectorOptimizer (file:/opt/openmeetings/webapps/openmeetings/WEB-INF/lib/hazelcast-4.2.1.jar) to field sun.nio.ch.SelectorImpl.selectedKeys
WARNING: Please consider reporting this to the maintainers of com.hazelcast.internal.networking.nio.SelectorOptimizer
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
05-May-2022 04:43:55.210 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/opt/openmeetings/webapps/openmeetings] has finished in [33,802] ms
05-May-2022 04:43:55.211 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/opt/openmeetings/webapps/ROOT]
05-May-2022 04:43:55.256 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/opt/openmeetings/webapps/ROOT] has finished in [45] ms
05-May-2022 04:43:55.279 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-5080"]
05-May-2022 04:43:55.326 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio-5443"]
05-May-2022 04:43:55.332 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [34049] milliseconds
3、访问 https://127.0.0.1:5443/openmeetings/
打开不开页面
4、查看配置
root@ubuntu:/home/wolf# docker inspect 903226c83cfb.
[]
Error: No such object: 903226c83cfb.
root@ubuntu:/home/wolf# docker inspect 903226c83cfb
[
{
"Id": "903226c83cfbd60329333b45fcaf72723fffd19076ba78ebf037609f2c8e76ff",
"Created": "2022-05-05T05:08:13.901011022Z",
"Path": "bash",
"Args": [
"-c",
"{work}/om.sh"
],
"OnBuild": null,
"Labels": {
"maintainer": "dev@openmeetings.apache.org",
"vendor": "Apache OpenMeetings dev team",
"version": "6.2.0"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "d8a61b4cd0b5e9635325d00bd1bfa8be917e7b3219e4ac1a6bed78070e29c822",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"5443/tcp": null
},
"SandboxKey": "/var/run/docker/netns/d8a61b4cd0b5",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "0da0315e63390458f0b0f6b4207688ef9dfda81d1610fb763d48d4f9eeacf2dd",
"Gateway": "172.17.0.1",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"MacAddress": "02:42:ac:11:00:02",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "37c70abc0074de4219727eacb7f5c481915648151e7e429adaee1b69915483b2",
"EndpointID": "0da0315e63390458f0b0f6b4207688ef9dfda81d1610fb763d48d4f9eeacf2dd",
"Gateway": "172.17.0.1",
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:11:00:02",
"DriverOpts": null
}
}
}
}
]
root@ubuntu:/home/wolf#
发现问题: 默认是172.17.0.2
5、再次访问:
提示用户名密码不对。
6、注册用户
用户名不少于4位
密码不能包含用户名,密码要数字字母大小写。
验证码区分大小写。
7、登陆进主页
8、查看数据密码
数据用户名:om_admin ,密码: 123456
9、查看默认管理员用户名
use openmeetings 数据库
select * from om_user;
om_admin
10、中文汉化问题
openmeetings 使用wicket框架来实现动态语言。 基本原理是用wicket定义key,获取key的值显示在页面。