docker 部署openmeetings 6.2

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" ], "State": { "Status": "running", "Running": true, "Paused": false, "Restarting": false, "OOMKilled": false, "Dead": false, "Pid": 10033, "ExitCode": 0, "Error": "", "StartedAt": "2022-05-05T05:08:14.400860324Z", "FinishedAt": "0001-01-01T00:00:00Z" }, "Image": "sha256:047cd507e1538cc0837ce9a72faf833e156f06bb7d69c99b74d9f5c53e922caf", "ResolvConfPath": "/var/lib/docker/containers/903226c83cfbd60329333b45fcaf72723fffd19076ba78ebf037609f2c8e76ff/resolv.conf", "HostnamePath": "/var/lib/docker/containers/903226c83cfbd60329333b45fcaf72723fffd19076ba78ebf037609f2c8e76ff/hostname", "HostsPath": "/var/lib/docker/containers/903226c83cfbd60329333b45fcaf72723fffd19076ba78ebf037609f2c8e76ff/hosts", "LogPath": "/var/lib/docker/containers/903226c83cfbd60329333b45fcaf72723fffd19076ba78ebf037609f2c8e76ff/903226c83cfbd60329333b45fcaf72723fffd19076ba78ebf037609f2c8e76ff-json.log", "Name": "/vibrant_rosalind", "RestartCount": 0, "Driver": "overlay2", "Platform": "linux", "MountLabel": "", "ProcessLabel": "", "AppArmorProfile": "docker-default", "ExecIDs": null, "HostConfig": { "Binds": null, "ContainerIDFile": "", "LogConfig": { "Type": "json-file", "Config": {} }, "NetworkMode": "default", "PortBindings": {}, "RestartPolicy": { "Name": "no", "MaximumRetryCount": 0 }, "AutoRemove": true, "VolumeDriver": "", "VolumesFrom": null, "CapAdd": null, "CapDrop": null, "CgroupnsMode": "host", "Dns": [], "DnsOptions": [], "DnsSearch": [], "ExtraHosts": null, "GroupAdd": null, "IpcMode": "private", "Cgroup": "", "Links": null, "OomScoreAdj": 0, "PidMode": "", "Privileged": false, "PublishAllPorts": false, "ReadonlyRootfs": false, "SecurityOpt": null, "UTSMode": "", "UsernsMode": "", "ShmSize": 67108864, "Runtime": "runc", "ConsoleSize": [ 0, 0 ], "Isolation": "", "CpuShares": 0, "Memory": 0, "NanoCpus": 0, "CgroupParent": "", "BlkioWeight": 0, "BlkioWeightDevice": [], "BlkioDeviceReadBps": null, "BlkioDeviceWriteBps": null, "BlkioDeviceReadIOps": null, "BlkioDeviceWriteIOps": null, "CpuPeriod": 0, "CpuQuota": 0, "CpuRealtimePeriod": 0, "CpuRealtimeRuntime": 0, "CpusetCpus": "", "CpusetMems": "", "Devices": [], "DeviceCgroupRules": null, "DeviceRequests": null, "KernelMemory": 0, "KernelMemoryTCP": 0, "MemoryReservation": 0, "MemorySwap": 0, "MemorySwappiness": null, "OomKillDisable": false, "PidsLimit": null, "Ulimits": null, "CpuCount": 0, "CpuPercent": 0, "IOMaximumIOps": 0, "IOMaximumBandwidth": 0, "MaskedPaths": [ "/proc/asound", "/proc/acpi", "/proc/kcore", "/proc/keys", "/proc/latency_stats", "/proc/timer_list", "/proc/timer_stats", "/proc/sched_debug", "/proc/scsi", "/sys/firmware" ], "ReadonlyPaths": [ "/proc/bus", "/proc/fs", "/proc/irq", "/proc/sys", "/proc/sysrq-trigger" ] }, "GraphDriver": { "Data": { "LowerDir": "/var/lib/docker/overlay2/b5d2dcccaa93aa0e54af394be8d2bb17a5a5cb488b78dfe938a003b5481f9a8c-init/diff:/var/lib/docker/overlay2/aa5fd53a1ec0a40121fa52b4aef28c234bc3e1614c18acd2f5e7f554ce4867f8/diff:/var/lib/docker/overlay2/30058c038249243565212e14b79f47b76b535668b207241f8161c41b6983262a/diff:/var/lib/docker/overlay2/30e96c2eb1ba173e86604a5a51fe76fbb6b8eae3828601fa2ce914b4b84cf1ad/diff:/var/lib/docker/overlay2/22b3b1c26617d1c265e92cb9ea8f61ca7bf5745eea1a32b427f55da647de8e18/diff:/var/lib/docker/overlay2/52147875dbc7e30f130c330b47423ae1b8b1cb2d6bba1149a32b4907939e4290/diff", "MergedDir": "/var/lib/docker/overlay2/b5d2dcccaa93aa0e54af394be8d2bb17a5a5cb488b78dfe938a003b5481f9a8c/merged", "UpperDir": "/var/lib/docker/overlay2/b5d2dcccaa93aa0e54af394be8d2bb17a5a5cb488b78dfe938a003b5481f9a8c/diff", "WorkDir": "/var/lib/docker/overlay2/b5d2dcccaa93aa0e54af394be8d2bb17a5a5cb488b78dfe938a003b5481f9a8c/work" }, "Name": "overlay2" }, "Mounts": [], "Config": { "Hostname": "903226c83cfb", "Domainname": "", "User": "", "AttachStdin": true, "AttachStdout": true, "AttachStderr": true, "ExposedPorts": { "5443/tcp": {} }, "Tty": false, "OpenStdin": true, "StdinOnce": true, "Env": [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "OM_VER_MAJ=6", "OM_VER_MIN=2", "OM_VER_MIC=0", "OM_VERSION=6.2.0", "OM_TYPE=full", "DB_ROOT_PASS=12345", "OM_USER=om_admin", "OM_PASS=1Q2w3e4r5t^y", "DAEMON_USER=nobody", "DAEMON_UID=65534", "OM_DB_NAME=openmeetings", "OM_DB_TYPE=mysql", "OM_DB_HOST=localhost", "OM_DB_PORT=3306", "OM_DB_USER=om_admin", "OM_DB_PASS=12345", "OM_KURENTO_WS_URL=ws://127.0.0.1:8888/kurento", "TURN_URL=", "TURN_USER=", "TURN_PASS=", "OM_DATA_DIR=/opt/omdata", "work=/opt", "OM_HOME=/opt/openmeetings", "MYSQL_J_VER=8.0.27", "DB2_J_VER=11.5.6.0", "PORTS=5443", "SERVER_TZ=UTC" ], "Cmd": null, "Image": "047cd507e153", "Volumes": null, "WorkingDir": "/opt", "Entrypoint": [ "bash", "-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、再次访问:

image.png

提示用户名密码不对。

6、注册用户

用户名不少于4位
密码不能包含用户名,密码要数字字母大小写。
验证码区分大小写。

7、登陆进主页

image.png

8、查看数据密码

image.png

数据用户名:om_admin ,密码: 123456

9、查看默认管理员用户名

use openmeetings 数据库

select * from om_user;


image.png

om_admin

image.png

10、中文汉化问题

openmeetings 使用wicket框架来实现动态语言。 基本原理是用wicket定义key,获取key的值显示在页面。

image.png
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 216,125评论 6 498
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 92,293评论 3 392
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 162,054评论 0 351
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 58,077评论 1 291
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 67,096评论 6 388
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 51,062评论 1 295
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 39,988评论 3 417
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 38,817评论 0 273
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 45,266评论 1 310
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 37,486评论 2 331
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 39,646评论 1 347
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 35,375评论 5 342
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 40,974评论 3 325
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 31,621评论 0 21
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 32,796评论 1 268
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 47,642评论 2 368
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 44,538评论 2 352

推荐阅读更多精彩内容