在这里插入代码片
…c
[root@localhost fonts]# ffmgpeg -version
bash: ffmgpeg: 未找到命令...
[root@localhost fonts]# sox -version
sox FAIL sox: Volume value `ersion' is not a number
[root@localhost fonts]# sox --version
sox: SoX v14.4.2
[root@localhost fonts]# systemctl stop firewalld
[root@localhost fonts]# systemctl disable firewalld.service
Removed /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
[root@localhost fonts]# docker run -d --name kms -p 8888:8888 --mounttype=bind,source=/opt/om_data,target=/opt/om_data kurento/kurento-media-server
unknown flag: --mounttype
See 'docker run --help'.
[root@localhost fonts]# sudo run -d --name kms -p 8888:8888 --mount type=bind,source=/opt/om_data,target=/opt/om_data kurento/kurento-media-server
sudo: run:找不到命令
[root@localhost fonts]# sudo docker run -d --name kms -p 8888:8888 --mount type=bind,source=/opt/om_data,target=/opt/om_data kurento/kurento-media-server
docker: Error response from daemon: Conflict. The container name "/kms" is already in use by container "15500409d7f0a0ea897dc15727cb2afaec4b81cc6fa6704e38e2a619098fe33e". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
[root@localhost fonts]# docker start kms
Error response from daemon: driver failed programming external connectivity on endpoint kms (84f78fa6a9b113f382523760817b6065b15633f162323094b7ec760dbe9fad7d): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 8888 -j DNAT --to-destination 172.17.0.3:8888 ! -i docker0: iptables: No chain/target/match by that name.
(exit status 1))
Error: failed to start containers: kms
[root@localhost fonts]# docker -q
unknown shorthand flag: 'q' in -q
See 'docker --help'.
Usage: docker [OPTIONS] COMMAND
A self-sufficient runtime for containers
Options:
--config string Location of client config files (default "/root/.docker")
-c, --context string Name of the context to use to connect to the daemon (overrides DOCKER_HOST
env var and default context set with "docker context use")
-D, --debug Enable debug mode
-H, --host list Daemon socket(s) to connect to
-l, --log-level string Set the logging level ("debug"|"info"|"warn"|"error"|"fatal") (default "info")
--tls Use TLS; implied by --tlsverify
--tlscacert string Trust certs signed only by this CA (default "/root/.docker/ca.pem")
--tlscert string Path to TLS certificate file (default "/root/.docker/cert.pem")
--tlskey string Path to TLS key file (default "/root/.docker/key.pem")
--tlsverify Use TLS and verify the remote
-v, --version Print version information and quit
Management Commands:
app* Docker App (Docker Inc., v0.9.1-beta3)
builder Manage builds
buildx* Docker Buildx (Docker Inc., v0.8.1-docker)
config Manage Docker configs
container Manage containers
context Manage contexts
image Manage images
manifest Manage Docker image manifests and manifest lists
network Manage networks
node Manage Swarm nodes
plugin Manage plugins
scan* Docker Scan (Docker Inc., v0.17.0)
secret Manage Docker secrets
service Manage services
stack Manage Docker stacks
swarm Manage Swarm
system Manage Docker
trust Manage trust on Docker images
volume Manage volumes
Commands:
attach Attach local standard input, output, and error streams to a running container
build Build an image from a Dockerfile
commit Create a new image from a container's changes
cp Copy files/folders between a container and the local filesystem
create Create a new container
diff Inspect changes to files or directories on a container's filesystem
events Get real time events from the server
exec Run a command in a running container
export Export a container's filesystem as a tar archive
history Show the history of an image
images List images
import Import the contents from a tarball to create a filesystem image
info Display system-wide information
inspect Return low-level information on Docker objects
kill Kill one or more running containers
load Load an image from a tar archive or STDIN
login Log in to a Docker registry
logout Log out from a Docker registry
logs Fetch the logs of a container
pause Pause all processes within one or more containers
port List port mappings or a specific mapping for the container
ps List containers
pull Pull an image or a repository from a registry
push Push an image or a repository to a registry
rename Rename a container
restart Restart one or more containers
rm Remove one or more containers
rmi Remove one or more images
run Run a command in a new container
save Save one or more images to a tar archive (streamed to STDOUT by default)
search Search the Docker Hub for images
start Start one or more stopped containers
stats Display a live stream of container(s) resource usage statistics
stop Stop one or more running containers
tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
top Display the running processes of a container
unpause Unpause all processes within one or more containers
update Update configuration of one or more containers
version Show the Docker version information
wait Block until one or more containers stop, then print their exit codes
Run 'docker COMMAND --help' for more information on a command.
To get more help with docker, check out our guides at https://docs.docker.com/go/guides/
[root@localhost fonts]# docker -q ps
unknown shorthand flag: 'q' in -q
See 'docker --help'.
Usage: docker [OPTIONS] COMMAND
A self-sufficient runtime for containers
Options:
--config string Location of client config files (default "/root/.docker")
-c, --context string Name of the context to use to connect to the daemon (overrides DOCKER_HOST
env var and default context set with "docker context use")
-D, --debug Enable debug mode
-H, --host list Daemon socket(s) to connect to
-l, --log-level string Set the logging level ("debug"|"info"|"warn"|"error"|"fatal") (default "info")
--tls Use TLS; implied by --tlsverify
--tlscacert string Trust certs signed only by this CA (default "/root/.docker/ca.pem")
--tlscert string Path to TLS certificate file (default "/root/.docker/cert.pem")
--tlskey string Path to TLS key file (default "/root/.docker/key.pem")
--tlsverify Use TLS and verify the remote
-v, --version Print version information and quit
Management Commands:
app* Docker App (Docker Inc., v0.9.1-beta3)
builder Manage builds
buildx* Docker Buildx (Docker Inc., v0.8.1-docker)
config Manage Docker configs
container Manage containers
context Manage contexts
image Manage images
manifest Manage Docker image manifests and manifest lists
network Manage networks
node Manage Swarm nodes
plugin Manage plugins
scan* Docker Scan (Docker Inc., v0.17.0)
secret Manage Docker secrets
service Manage services
stack Manage Docker stacks
swarm Manage Swarm
system Manage Docker
trust Manage trust on Docker images
volume Manage volumes
Commands:
attach Attach local standard input, output, and error streams to a running container
build Build an image from a Dockerfile
commit Create a new image from a container's changes
cp Copy files/folders between a container and the local filesystem
create Create a new container
diff Inspect changes to files or directories on a container's filesystem
events Get real time events from the server
exec Run a command in a running container
export Export a container's filesystem as a tar archive
history Show the history of an image
images List images
import Import the contents from a tarball to create a filesystem image
info Display system-wide information
inspect Return low-level information on Docker objects
kill Kill one or more running containers
load Load an image from a tar archive or STDIN
login Log in to a Docker registry
logout Log out from a Docker registry
logs Fetch the logs of a container
pause Pause all processes within one or more containers
port List port mappings or a specific mapping for the container
ps List containers
pull Pull an image or a repository from a registry
push Push an image or a repository to a registry
rename Rename a container
restart Restart one or more containers
rm Remove one or more containers
rmi Remove one or more images
run Run a command in a new container
save Save one or more images to a tar archive (streamed to STDOUT by default)
search Search the Docker Hub for images
start Start one or more stopped containers
stats Display a live stream of container(s) resource usage statistics
stop Stop one or more running containers
tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
top Display the running processes of a container
unpause Unpause all processes within one or more containers
update Update configuration of one or more containers
version Show the Docker version information
wait Block until one or more containers stop, then print their exit codes
Run 'docker COMMAND --help' for more information on a command.
To get more help with docker, check out our guides at https://docs.docker.com/go/guides/
[root@localhost fonts]# docker -q a
unknown shorthand flag: 'q' in -q
See 'docker --help'.
Usage: docker [OPTIONS] COMMAND
A self-sufficient runtime for containers
Options:
--config string Location of client config files (default "/root/.docker")
-c, --context string Name of the context to use to connect to the daemon (overrides DOCKER_HOST
env var and default context set with "docker context use")
-D, --debug Enable debug mode
-H, --host list Daemon socket(s) to connect to
-l, --log-level string Set the logging level ("debug"|"info"|"warn"|"error"|"fatal") (default "info")
--tls Use TLS; implied by --tlsverify
--tlscacert string Trust certs signed only by this CA (default "/root/.docker/ca.pem")
--tlscert string Path to TLS certificate file (default "/root/.docker/cert.pem")
--tlskey string Path to TLS key file (default "/root/.docker/key.pem")
--tlsverify Use TLS and verify the remote
-v, --version Print version information and quit
Management Commands:
app* Docker App (Docker Inc., v0.9.1-beta3)
builder Manage builds
buildx* Docker Buildx (Docker Inc., v0.8.1-docker)
config Manage Docker configs
container Manage containers
context Manage contexts
image Manage images
manifest Manage Docker image manifests and manifest lists
network Manage networks
node Manage Swarm nodes
plugin Manage plugins
scan* Docker Scan (Docker Inc., v0.17.0)
secret Manage Docker secrets
service Manage services
stack Manage Docker stacks
swarm Manage Swarm
system Manage Docker
trust Manage trust on Docker images
volume Manage volumes
Commands:
attach Attach local standard input, output, and error streams to a running container
build Build an image from a Dockerfile
commit Create a new image from a container's changes
cp Copy files/folders between a container and the local filesystem
create Create a new container
diff Inspect changes to files or directories on a container's filesystem
events Get real time events from the server
exec Run a command in a running container
export Export a container's filesystem as a tar archive
history Show the history of an image
images List images
import Import the contents from a tarball to create a filesystem image
info Display system-wide information
inspect Return low-level information on Docker objects
kill Kill one or more running containers
load Load an image from a tar archive or STDIN
login Log in to a Docker registry
logout Log out from a Docker registry
logs Fetch the logs of a container
pause Pause all processes within one or more containers
port List port mappings or a specific mapping for the container
ps List containers
pull Pull an image or a repository from a registry
push Push an image or a repository to a registry
rename Rename a container
restart Restart one or more containers
rm Remove one or more containers
rmi Remove one or more images
run Run a command in a new container
save Save one or more images to a tar archive (streamed to STDOUT by default)
search Search the Docker Hub for images
start Start one or more stopped containers
stats Display a live stream of container(s) resource usage statistics
stop Stop one or more running containers
tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
top Display the running processes of a container
unpause Unpause all processes within one or more containers
update Update configuration of one or more containers
version Show the Docker version information
wait Block until one or more containers stop, then print their exit codes
Run 'docker COMMAND --help' for more information on a command.
To get more help with docker, check out our guides at https://docs.docker.com/go/guides/
[root@localhost fonts]# sysctl stop mysqld
sysctl: cannot stat /proc/sys/stop: 没有那个文件或目录
sysctl: cannot stat /proc/sys/mysqld: 没有那个文件或目录
[root@localhost fonts]# systemctl stop mysqld
[root@localhost fonts]# /etc/init.d/tomcat34 stop
Using CATALINA_BASE: /opt/open620
Using CATALINA_HOME: /opt/open620
Using CATALINA_TMPDIR: /opt/open620/temp
Using JRE_HOME: /usr
Using CLASSPATH: /opt/open620/bin/bootstrap.jar:/opt/open620/bin/tomcat-juli.jar
Using CATALINA_OPTS:
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
...Tomcat stopped.
[root@localhost fonts]# systemctl stop docker
Warning: Stopping docker.service, but it can still be activated by:
docker.socket
[root@localhost fonts]# sudo docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
kurento/kurento-media-server latest c4fa918066a6 3 weeks ago 739MB
onlyoffice/documentserver 7.0.1.37 d08ace600ec4 2 months ago 2.78GB
onlyoffice/documentserver latest d08ace600ec4 2 months ago 2.78GB
[root@localhost fonts]# sudo netstat -lnp |grep 8888
[root@localhost fonts]# sudo docker run -d --name kms --network host \
> kurento/kurento-media-server:latest
docker: Error response from daemon: Conflict. The container name "/kms" is already in use by container "15500409d7f0a0ea897dc15727cb2afaec4b81cc6fa6704e38e2a619098fe33e". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
[root@localhost fonts]# dockerrun -d --name kms -p 8888:8888 --mounttype=bind,source=/opt/om_data,target=/opt/om_data kurento/kurento-media-server^C
[root@localhost fonts]# docker run -d --name kms -p 8888:8888 --mounttype=bind,source=/opt/om_data,target=/opt/om_data kurento/kurento-media-server
unknown flag: --mounttype
See 'docker run --help'.
[root@localhost fonts]#
[root@localhost fonts]# docker run -d --name kms -p 8888:8888 --mount type=bind,source=/opt/om_data,target=/opt/om_data kurento/kurento-media-server
docker: Error response from daemon: Conflict. The container name "/kms" is already in use by container "15500409d7f0a0ea897dc15727cb2afaec4b81cc6fa6704e38e2a619098fe33e". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
[root@localhost fonts]# docker run -d --name kms -p 888^C8888 --mount type=bind,source=/opt/om_data,target=/opt/om_data kurento/kurento-media-server
[root@localhost fonts]# systemctl start docker
[root@localhost fonts]# docker version
Client: Docker Engine - Community
Version: 20.10.14
API version: 1.41
Go version: go1.16.15
Git commit: a224086
Built: Thu Mar 24 01:47:44 2022
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.14
API version: 1.41 (minimum version 1.12)
Go version: go1.16.15
Git commit: 87a90dc
Built: Thu Mar 24 01:46:10 2022
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.5.11
GitCommit: 3df54a852345ae127d1fa3092b95168e4a88e2f8
runc:
Version: 1.0.3
GitCommit: v1.0.3-0-gf46b6ba
docker-init:
Version: 0.19.0
GitCommit: de40ad0
[root@localhost fonts]# docker images;
REPOSITORY TAG IMAGE ID CREATED SIZE
kurento/kurento-media-server latest c4fa918066a6 3 weeks ago 739MB
onlyoffice/documentserver 7.0.1.37 d08ace600ec4 2 months ago 2.78GB
onlyoffice/documentserver latest d08ace600ec4 2 months ago 2.78GB
[root@localhost fonts]# sudo netstat -lnp |grep 8888
[root@localhost fonts]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
32e5c6127217 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Up 6 minutes 0.0.0.0:8080->80/tcp, :::8080->80/tcp, 0.0.0.0:8443->443/tcp, :::8443->443/tcp loving_wiles
[root@localhost fonts]# docker run -d --name kms -p 8888:8888 kurento/kurento-media-server:xenial-latest
Unable to find image 'kurento/kurento-media-server:xenial-latest' locally
docker: Error response from daemon: manifest for kurento/kurento-media-server:xenial-latest not found: manifest unknown: manifest unknown.
See 'docker run --help'.
[root@localhost fonts]# cd /tmp/openmeetings/
[root@localhost openmeetings]# ls
apache-openmeetings-6.0.0.tar.gz kms.tar.gz
apache-openmeetings-6.2.0.tar.gz LibreOffice_7.3.2.2_Linux_x86-64_rpm
containerd.io-1.5.11-3.1.el8.x86_64.rpm LibreOffice_7.3.2_Linux_x86-64_rpm.tar.gz
device-mapper-persistent-data-0.9.0-4.el8.x86_64.rpm logs
Docker mysql-connector-java-8.0.26.jar
docker-ce-20.10.14-3.el8.x86_64.rpm SDL2-2.0.10-2.el8.x86_64.rpm
docker-ce-cli-20.10.14-3.el8.x86_64.rpm sox-14.4.2.tar.gz
docker-ce.repo swftools-0.9.2.tar.gz
ghostscript-9.02.tar.gz tomcat34
kms.tar
[root@localhost openmeetings]# cd /var/lib/docker/
[root@localhost docker]# ls
buildkit containers image network overlay2 plugins runtimes swarm tmp trust volumes
[root@localhost docker]# docker run -d --name kms -p 8888:8888 kurento/kurento-media-server:xenial-latest
Unable to find image 'kurento/kurento-media-server:xenial-latest' locally
docker: Error response from daemon: manifest for kurento/kurento-media-server:xenial-latest not found: manifest unknown: manifest unknown.
See 'docker run --help'.
[root@localhost docker]# docker run -d --name kms -p 8888:8888 kurento/kurento-media-server
docker: Error response from daemon: Conflict. The container name "/kms" is already in use by container "15500409d7f0a0ea897dc15727cb2afaec4b81cc6fa6704e38e2a619098fe33e". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
[root@localhost docker]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
15500409d7f0 kurento/kurento-media-server "/entrypoint.sh" 4 hours ago Exited (128) 3 hours ago kms
4b7c7246cd4d onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Exited (137) 8 days ago compassionate_bassi
9327f6ab19a5 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created xenodochial_moore
32e5c6127217 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Up 11 minutes 0.0.0.0:8080->80/tcp, :::8080->80/tcp, 0.0.0.0:8443->443/tcp, :::8443->443/tcp loving_wiles
49e49aff68e0 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Exited (137) 8 days ago relaxed_mayer
fdd15e327aca onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created flamboyant_mahavira
408216bb8944 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Exited (137) 8 days ago confident_liskov
7ce48828cc59 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created boring_gates
0599c4e82583 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created inspiring_elbakyan
6bc1fc602f0e onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created naughty_jones
3b5097a61684 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created lucid_sanderson
b28539b4bda0 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created kind_booth
5223f4bcc0e8 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created xenodochial_ganguly
f187fa7b7df6 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created great_mendel
05d0d62d2fb7 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created 67b4ab8e469f
c0b186d03b48 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created office
67b4ab8e469f onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Exited (137) 8 days ago nice_carson
818a8d84f851 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created objective_margulis
f20582db7467 onlyoffice/documentserver:7.0.1.37 "/app/ds/run-documen…" 8 days ago Created admiring_galileo
b93067479361 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Exited (137) 8 days ago laughing_nobel
1e7a4fa60001 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created great_bose
dd9a5cbd7b37 onlyoffice/documentserver:7.0.1.37 "/app/ds/run-documen…" 3 weeks ago Created blissful_feynman
[root@localhost docker]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
[root@localhost docker]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
15500409d7f0 kurento/kurento-media-server "/entrypoint.sh" 4 hours ago Exited (128) 3 hours ago kms
4b7c7246cd4d onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Exited (137) 8 days ago compassionate_bassi
9327f6ab19a5 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created xenodochial_moore
32e5c6127217 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Up 12 minutes 0.0.0.0:8080->80/tcp, :::8080->80/tcp, 0.0.0.0:8443->443/tcp, :::8443->443/tcp loving_wiles
49e49aff68e0 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Exited (137) 8 days ago relaxed_mayer
fdd15e327aca onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created flamboyant_mahavira
408216bb8944 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Exited (137) 8 days ago confident_liskov
7ce48828cc59 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created boring_gates
0599c4e82583 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created inspiring_elbakyan
6bc1fc602f0e onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created naughty_jones
3b5097a61684 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created lucid_sanderson
b28539b4bda0 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created kind_booth
5223f4bcc0e8 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created xenodochial_ganguly
f187fa7b7df6 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created great_mendel
05d0d62d2fb7 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created 67b4ab8e469f
c0b186d03b48 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created office
67b4ab8e469f onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Exited (137) 8 days ago nice_carson
818a8d84f851 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created objective_margulis
f20582db7467 onlyoffice/documentserver:7.0.1.37 "/app/ds/run-documen…" 8 days ago Created admiring_galileo
b93067479361 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Exited (137) 8 days ago laughing_nobel
1e7a4fa60001 onlyoffice/documentserver "/app/ds/run-documen…" 8 days ago Created great_bose
dd9a5cbd7b37 onlyoffice/documentserver:7.0.1.37 "/app/ds/run-documen…" 3 weeks ago Created blissful_feynman
[root@localhost docker]# docker rm 15500409d7f0
15500409d7f0
[root@localhost docker]# docker run -d --name kms -p 8888:8888 --mount type=bind,source=/opt/om_data,target=/opt/om_data kurento/kurento-media-server
8de7b1962ff80f4a059a02c099047698a7972a47c467022bd48b7866b407bb4f
[root@localhost docker]# systemctl start mysql
[root@localhost docker]# /etc/init.d/tomcat34 start
Using CATALINA_BASE: /opt/open620
Using CATALINA_HOME: /opt/open620
Using CATALINA_TMPDIR: /opt/open620/temp
Using JRE_HOME: /usr
Using CLASSPATH: /opt/open620/bin/bootstrap.jar:/opt/open620/bin/tomcat-juli.jar
Using CATALINA_OPTS:
Tomcat started.
[root@localhost docker]# convert --version
Version: ImageMagick 6.9.10-86 Q16 x86_64 2020-01-13 https://imagemagick.org
Copyright: © 1999-2020 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC Modules OpenMP(4.5)
Delegates (built-in): bzlib cairo fftw fontconfig freetype gslib gvc jbig jng jp2 jpeg lcms ltdl lzma openexr pangocairo png ps raqm raw rsvg tiff webp wmf x xml zlib
[root@localhost docker]#
login as: root
root@192.168.20.14's password:
Activate the web console with: systemctl enable --now cockpit.socket
Last login: Thu Apr 28 19:42:39 2022
[root@localhost ~]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8de7b1962ff8 kurento/kurento-media-server "/entrypoint.sh" 23 hours ago Exited (0) 4 hours ago kms
4b7c7246cd4d onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Exited (137) 9 days ago compassionate_bassi
9327f6ab19a5 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created xenodochial_moore
32e5c6127217 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Up 10 minutes 0.0.0.0:8080->80/tcp, :::8080->80/tcp, 0.0.0.0:8443->443/tcp, :::8443->443/tcp loving_wiles
49e49aff68e0 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Exited (137) 9 days ago relaxed_mayer
fdd15e327aca onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created flamboyant_mahavira
408216bb8944 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Exited (137) 9 days ago confident_liskov
7ce48828cc59 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created boring_gates
0599c4e82583 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created inspiring_elbakyan
6bc1fc602f0e onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created naughty_jones
3b5097a61684 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created lucid_sanderson
b28539b4bda0 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created kind_booth
5223f4bcc0e8 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created xenodochial_ganguly
f187fa7b7df6 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created great_mendel
05d0d62d2fb7 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created 67b4ab8e469f
c0b186d03b48 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created office
67b4ab8e469f onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Exited (137) 9 days ago nice_carson
818a8d84f851 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created objective_margulis
f20582db7467 onlyoffice/documentserver:7.0.1.37 "/app/ds/run-documen…" 9 days ago Created admiring_galileo
b93067479361 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Exited (137) 9 days ago laughing_nobel
1e7a4fa60001 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created great_bose
dd9a5cbd7b37 onlyoffice/documentserver:7.0.1.37 "/app/ds/run-documen…" 4 weeks ago Created blissful_feynman
[root@localhost ~]# docker imanges
docker: 'imanges' is not a docker command.
See 'docker --help'
[root@localhost ~]# docker imange
docker: 'imange' is not a docker command.
See 'docker --help'
[root@localhost ~]#
[root@localhost ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
kurento/kurento-media-server latest c4fa918066a6 3 weeks ago 739MB
onlyoffice/documentserver 7.0.1.37 d08ace600ec4 2 months ago 2.78GB
onlyoffice/documentserver latest d08ace600ec4 2 months ago 2.78GB
[root@localhost ~]# crul localhost :8888
bash: crul: 未找到命令...
相似命令是: 'curl'
[root@localhost ~]# curl localhost :8888
curl: (7) Failed to connect to localhost port 80: 拒绝连接
curl: (3) Bad URL, colon is first character
[root@localhost ~]# curl localhost:8888
curl: (7) Failed to connect to localhost port 8888: 拒绝连接
[root@localhost ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
32e5c6127217 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Up 15 minutes 0.0.0.0:8080->80/tcp, :::8080->80/tcp, 0.0.0.0:8443->443/tcp, :::8443->443/tcp loving_wiles
[root@localhost ~]# docker start c4fa918066a6
Error response from daemon: No such container: c4fa918066a6
Error: failed to start containers: c4fa918066a6
[root@localhost ~]# docker start c4fa918066a6
Error response from daemon: No such container: c4fa918066a6
Error: failed to start containers: c4fa918066a6
[root@localhost ~]# systemctl start docker
[root@localhost ~]# docker start c4fa918066a6
Error response from daemon: No such container: c4fa918066a6
Error: failed to start containers: c4fa918066a6
[root@localhost ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
32e5c6127217 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Up 19 minutes 0.0.0.0:8080->80/tcp, :::8080->80/tcp, 0.0.0.0:8443->443/tcp, :::8443->443/tcp loving_wiles
[root@localhost ~]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8de7b1962ff8 kurento/kurento-media-server "/entrypoint.sh" 23 hours ago Exited (0) 4 hours ago kms
4b7c7246cd4d onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Exited (137) 9 days ago compassionate_bassi
9327f6ab19a5 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created xenodochial_moore
32e5c6127217 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Up 19 minutes 0.0.0.0:8080->80/tcp, :::8080->80/tcp, 0.0.0.0:8443->443/tcp, :::8443->443/tcp loving_wiles
49e49aff68e0 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Exited (137) 9 days ago relaxed_mayer
fdd15e327aca onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created flamboyant_mahavira
408216bb8944 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Exited (137) 9 days ago confident_liskov
7ce48828cc59 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created boring_gates
0599c4e82583 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created inspiring_elbakyan
6bc1fc602f0e onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created naughty_jones
3b5097a61684 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created lucid_sanderson
b28539b4bda0 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created kind_booth
5223f4bcc0e8 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created xenodochial_ganguly
f187fa7b7df6 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created great_mendel
05d0d62d2fb7 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created 67b4ab8e469f
c0b186d03b48 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created office
67b4ab8e469f onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Exited (137) 9 days ago nice_carson
818a8d84f851 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created objective_margulis
f20582db7467 onlyoffice/documentserver:7.0.1.37 "/app/ds/run-documen…" 9 days ago Created admiring_galileo
b93067479361 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Exited (137) 9 days ago laughing_nobel
1e7a4fa60001 onlyoffice/documentserver "/app/ds/run-documen…" 9 days ago Created great_bose
dd9a5cbd7b37 onlyoffice/documentserver:7.0.1.37 "/app/ds/run-documen…" 4 weeks ago Created blissful_feynman
[root@localhost ~]# docker start 8de7b1962ff8
8de7b1962ff8
[root@localhost ~]# systemctl status mysql
● mariadb.service - MariaDB 10.3 database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2022-04-28 19:39:46 CST; 20min ago
Docs: man:mysqld(8)
https://mariadb.com/kb/en/library/systemd/
Process: 1383 ExecStartPost=/usr/libexec/mysql-check-upgrade (code=exited, status=0/SUCCESS)
Process: 1084 ExecStartPre=/usr/libexec/mysql-prepare-db-dir mariadb.service (code=exited, status=0/SUCCES>
Process: 1022 ExecStartPre=/usr/libexec/mysql-check-socket (code=exited, status=0/SUCCESS)
Main PID: 1158 (mysqld)
Status: "Taking your SQL requests now..."
Tasks: 30 (limit: 23384)
Memory: 97.9M
CGroup: /system.slice/mariadb.service
└─1158 /usr/libexec/mysqld --basedir=/usr
4月 28 19:39:45 localhost.localdomain systemd[1]: Starting MariaDB 10.3 database server...
4月 28 19:39:46 localhost.localdomain mysql-prepare-db-dir[1084]: Database MariaDB is probably initialized i>
4月 28 19:39:46 localhost.localdomain mysql-prepare-db-dir[1084]: If this is not the case, make sure the /va>
4月 28 19:39:46 localhost.localdomain mysqld[1158]: 2022-04-28 19:39:46 0 [Note] /usr/libexec/mysqld (mysqld>
4月 28 19:39:46 localhost.localdomain systemd[1]: Started MariaDB 10.3 database server.
[root@localhost ~]# /etc/init.d/tomcat34 start
Using CATALINA_BASE: /opt/open620
Using CATALINA_HOME: /opt/open620
Using CATALINA_TMPDIR: /opt/open620/temp
Using JRE_HOME: /usr
Using CLASSPATH: /opt/open620/bin/bootstrap.jar:/opt/open620/bin/tomcat-juli.jar
Using CATALINA_OPTS:
Tomcat started.
[root@localhost ~]# /etc/init.d/tomcat34 start
Using CATALINA_BASE: /opt/open620
Using CATALINA_HOME: /opt/open620
Using CATALINA_TMPDIR: /opt/open620/temp
Using JRE_HOME: /usr
Using CLASSPATH: /opt/open620/bin/bootstrap.jar:/opt/open620/bin/tomcat-juli.jar
Using CATALINA_OPTS:
Tomcat started.
[root@localhost ~]# docker restart 8de7b1962ff8
8de7b1962ff8
[root@localhost ~]# systemctl restart mysql
[root@localhost ~]# /etc/init.d/tomcat34 restart
Using CATALINA_BASE: /opt/open620
Using CATALINA_HOME: /opt/open620
Using CATALINA_TMPDIR: /opt/open620/temp
Using JRE_HOME: /usr
Using CLASSPATH: /opt/open620/bin/bootstrap.jar:/opt/open620/bin/tomcat-juli.jar
Using CATALINA_OPTS:
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
...Tomcat stopped.
...Restarting...
Using CATALINA_BASE: /opt/open620
Using CATALINA_HOME: /opt/open620
Using CATALINA_TMPDIR: /opt/open620/temp
Using JRE_HOME: /usr
Using CLASSPATH: /opt/open620/bin/bootstrap.jar:/opt/open620/bin/tomcat-juli.jar
Using CATALINA_OPTS:
Tomcat started.
[root@localhost ~]#
login as: root
root@192.168.20.14's password:
Activate the web console with: systemctl enable --now cockpit.socket
Last login: Thu Apr 28 19:51:12 2022 from 192.168.20.1
[root@localhost ~]# yum install certbot
上次元数据过期检查:1:14:00 前,执行于 2022年04月29日 星期五 10时52分22秒。
依赖关系解决。
=============================================================================================================
软件包 架构 版本 仓库 大小
=============================================================================================================
安装:
certbot noarch 1.22.0-1.el8 epel 54 k
安装依赖关系:
python3-acme noarch 1.22.0-1.el8 epel 96 k
python3-certbot noarch 1.22.0-1.el8 epel 426 k
python3-cffi x86_64 1.11.5-5.el8 base 237 k
python3-configargparse noarch 0.14.0-6.el8 epel 36 k
python3-cryptography x86_64 3.2.1-5.el8 base 559 k
python3-distro noarch 1.4.0-2.module_el8.5.0+761+faacb0fb AppStream 37 k
python3-josepy noarch 1.9.0-1.el8 epel 103 k
python3-parsedatetime noarch 2.5-1.el8 epel 79 k
python3-pyOpenSSL noarch 19.0.0-1.el8 AppStream 103 k
python3-pycparser noarch 2.14-14.el8 base 109 k
python3-pyrfc3339 noarch 1.1-1.el8 epel 19 k
python3-requests-toolbelt noarch 0.9.1-4.el8 epel 91 k
python3-zope-component noarch 4.3.0-8.el8 epel 313 k
python3-zope-event noarch 4.2.0-12.el8 epel 210 k
python3-zope-interface x86_64 4.6.0-1.el8 epel 158 k
安装弱的依赖:
python-josepy-doc noarch 1.9.0-1.el8 epel 23 k
事务概要
=============================================================================================================
安装 17 软件包
总下载:2.6 M
安装大小:11 M
确定吗?[y/N]: y
下载软件包:
(1/17): python3-pycparser-2.14-14.el8.noarch.rpm 1.4 MB/s | 109 kB 00:00
(2/17): python3-cffi-1.11.5-5.el8.x86_64.rpm 2.1 MB/s | 237 kB 00:00
(3/17): python3-pyOpenSSL-19.0.0-1.el8.noarch.rpm 2.2 MB/s | 103 kB 00:00
(4/17): python3-cryptography-3.2.1-5.el8.x86_64.rpm 2.8 MB/s | 559 kB 00:00
(5/17): certbot-1.22.0-1.el8.noarch.rpm 217 kB/s | 54 kB 00:00
(6/17): python3-distro-1.4.0-2.module_el8.5.0+761+faacb0fb.noarch.rpm 105 kB/s | 37 kB 00:00
(7/17): python3-acme-1.22.0-1.el8.noarch.rpm 261 kB/s | 96 kB 00:00
(8/17): python3-configargparse-0.14.0-6.el8.noarch.rpm 392 kB/s | 36 kB 00:00
(9/17): python3-josepy-1.9.0-1.el8.noarch.rpm 1.0 MB/s | 103 kB 00:00
(10/17): python3-certbot-1.22.0-1.el8.noarch.rpm 690 kB/s | 426 kB 00:00
(11/17): python3-parsedatetime-2.5-1.el8.noarch.rpm 663 kB/s | 79 kB 00:00
(12/17): python3-pyrfc3339-1.1-1.el8.noarch.rpm 248 kB/s | 19 kB 00:00
(13/17): python3-requests-toolbelt-0.9.1-4.el8.noarch.rpm 755 kB/s | 91 kB 00:00
(14/17): python3-zope-component-4.3.0-8.el8.noarch.rpm 719 kB/s | 313 kB 00:00
(15/17): python-josepy-doc-1.9.0-1.el8.noarch.rpm 16 kB/s | 23 kB 00:01
(16/17): python3-zope-interface-4.6.0-1.el8.x86_64.rpm 1.6 MB/s | 158 kB 00:00
(17/17): python3-zope-event-4.2.0-12.el8.noarch.rpm 223 kB/s | 210 kB 00:00
-------------------------------------------------------------------------------------------------------------
总计 858 kB/s | 2.6 MB 00:03
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
准备中 : 1/1
安装 : python3-zope-event-4.2.0-12.el8.noarch 1/17
安装 : python3-zope-interface-4.6.0-1.el8.x86_64 2/17
安装 : python3-pyrfc3339-1.1-1.el8.noarch 3/17
安装 : python3-zope-component-4.3.0-8.el8.noarch 4/17
安装 : python3-requests-toolbelt-0.9.1-4.el8.noarch 5/17
安装 : python3-parsedatetime-2.5-1.el8.noarch 6/17
安装 : python3-configargparse-0.14.0-6.el8.noarch 7/17
安装 : python-josepy-doc-1.9.0-1.el8.noarch 8/17
安装 : python3-distro-1.4.0-2.module_el8.5.0+761+faacb0fb.noarch 9/17
安装 : python3-pycparser-2.14-14.el8.noarch 10/17
安装 : python3-cffi-1.11.5-5.el8.x86_64 11/17
安装 : python3-cryptography-3.2.1-5.el8.x86_64 12/17
安装 : python3-pyOpenSSL-19.0.0-1.el8.noarch 13/17
安装 : python3-josepy-1.9.0-1.el8.noarch 14/17
安装 : python3-acme-1.22.0-1.el8.noarch 15/17
安装 : python3-certbot-1.22.0-1.el8.noarch 16/17
安装 : certbot-1.22.0-1.el8.noarch 17/17
运行脚本: certbot-1.22.0-1.el8.noarch 17/17
验证 : python3-cffi-1.11.5-5.el8.x86_64 1/17
验证 : python3-cryptography-3.2.1-5.el8.x86_64 2/17
验证 : python3-pycparser-2.14-14.el8.noarch 3/17
验证 : python3-distro-1.4.0-2.module_el8.5.0+761+faacb0fb.noarch 4/17
验证 : python3-pyOpenSSL-19.0.0-1.el8.noarch 5/17
验证 : certbot-1.22.0-1.el8.noarch 6/17
验证 : python-josepy-doc-1.9.0-1.el8.noarch 7/17
验证 : python3-acme-1.22.0-1.el8.noarch 8/17
验证 : python3-certbot-1.22.0-1.el8.noarch 9/17
验证 : python3-configargparse-0.14.0-6.el8.noarch 10/17
验证 : python3-josepy-1.9.0-1.el8.noarch 11/17
验证 : python3-parsedatetime-2.5-1.el8.noarch 12/17
验证 : python3-pyrfc3339-1.1-1.el8.noarch 13/17
验证 : python3-requests-toolbelt-0.9.1-4.el8.noarch 14/17
验证 : python3-zope-component-4.3.0-8.el8.noarch 15/17
验证 : python3-zope-event-4.2.0-12.el8.noarch 16/17
验证 : python3-zope-interface-4.6.0-1.el8.x86_64 17/17
已安装:
certbot-1.22.0-1.el8.noarch python-josepy-doc-1.9.0-1.el8.noarch
python3-acme-1.22.0-1.el8.noarch python3-certbot-1.22.0-1.el8.noarch
python3-cffi-1.11.5-5.el8.x86_64 python3-configargparse-0.14.0-6.el8.noarch
python3-cryptography-3.2.1-5.el8.x86_64 python3-distro-1.4.0-2.module_el8.5.0+761+faacb0fb.noarch
python3-josepy-1.9.0-1.el8.noarch python3-parsedatetime-2.5-1.el8.noarch
python3-pyOpenSSL-19.0.0-1.el8.noarch python3-pycparser-2.14-14.el8.noarch
python3-pyrfc3339-1.1-1.el8.noarch python3-requests-toolbelt-0.9.1-4.el8.noarch
python3-zope-component-4.3.0-8.el8.noarch python3-zope-event-4.2.0-12.el8.noarch
python3-zope-interface-4.6.0-1.el8.x86_64
完毕!
[root@localhost ~]# netstat -ntulp | grep 80
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 2305/docker-proxy
tcp6 0 0 :::8080 :::* LISTEN 2311/docker-proxy
[root@localhost ~]# netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 1067/redis-server 1
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1/systemd
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 2305/docker-proxy
tcp 0 0 192.168.122.1:53 0.0.0.0:* LISTEN 1936/dnsmasq
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1064/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1201/cupsd
tcp 0 0 0.0.0.0:8443 0.0.0.0:* LISTEN 2286/docker-proxy
tcp6 0 0 :::111 :::* LISTEN 1/systemd
tcp6 0 0 :::8080 :::* LISTEN 2311/docker-proxy
tcp6 0 0 :::22 :::* LISTEN 1064/sshd
tcp6 0 0 ::1:631 :::* LISTEN 1201/cupsd
tcp6 0 0 :::8443 :::* LISTEN 2292/docker-proxy
tcp6 0 0 :::3306 :::* LISTEN 1279/mysqld
[root@localhost ~]# vi /etc/hosts
[root@localhost ~]# service network restart
Redirecting to /bin/systemctl restart network.service
Failed to restart network.service: Unit network.service not found.
[root@localhost ~]# systemctl restart network
Failed to restart network.service: Unit network.service not found.
[root@localhost ~]# hostnameclt set-hostname eaglezsx
bash: hostnameclt: 未找到命令...
相似命令是: 'hostnamectl'
[root@localhost ~]# hostnamectl set-hostname eaglezsx
[root@localhost ~]# certbot certonly --standalone -d openmeetings.com -d www.openmeetings.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Enter email address (used for urgent renewal and security notices)
(Enter 'c' to cancel): wqbboy@163.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please read the Terms of Service at
https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf. You must
agree in order to register with the ACME server. Do you agree?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: y
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Would you be willing, once your first certificate is successfully issued, to
share your email address with the Electronic Frontier Foundation, a founding
partner of the Let's Encrypt project and the non-profit organization that
develops Certbot? We'd like to send you email about our work encrypting the web,
EFF news, campaigns, and ways to support digital freedom.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: n
Account registered.
Requesting a certificate for openmeetings.com and www.openmeetings.com
Certbot failed to authenticate some domains (authenticator: standalone). The Certificate Authority reported these problems:
Domain: openmeetings.com
Type: unauthorized
Detail: 62.233.121.5: Invalid response from http://openmeetings.com/.well-known/acme-challenge/OeH9H7ofAFaeKg4R6V6Z2vli_K93LjBGg_ZyhhtrMo8: 404
Domain: www.openmeetings.com
Type: unauthorized
Detail: 62.233.121.5: Invalid response from http://www.openmeetings.com/.well-known/acme-challenge/Nhk0eN0QxaEhOszfWBYGF5tU_hyb-xPocQzpEJZSapI: 404
Hint: The Certificate Authority failed to download the challenge files from the temporary standalone webserver started by Certbot on port 80. Ensure that the listed domains point to this machine and that it can accept inbound connections from the internet.
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
[root@localhost ~]# ls /etc/letsencrypt/live
ls: 无法访问'/etc/letsencrypt/live': 没有那个文件或目录
[root@localhost ~]# certbot renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
No renewals were attempted.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[root@localhost ~]# ps -ef |grep openssl
root 17000 14015 0 12:48 pts/0 00:00:00 grep --color=auto openssl
[root@localhost ~]# yum install openssl
上次元数据过期检查:1:56:05 前,执行于 2022年04月29日 星期五 10时52分22秒。
软件包 openssl-1:1.1.1k-5.el8_5.x86_64 已安装。
依赖关系解决。
无需任何处理。
完毕!
[root@localhost ~]# mkdir /etc/letsencrypt/live
[root@localhost ~]# openssl pkcs12 -export -out /tmp/openmeetings.com_fullchain_and_key.p12 -in /etc/letsencrypt/live/openmeetings.com/fullchain.pem -inkey /etc/letsencrypt/live/openmeetings.com/privkey.pem -name tomcat
Can't open /etc/letsencrypt/live/openmeetings.com/privkey.pem for reading, No such file or directory
140551391954752:error:02001002:system library:fopen:No such file or directory:crypto/bio/bss_file.c:69:fopen('/etc/letsencrypt/live/openmeetings.com/privkey.pem','r')
140551391954752:error:2006D080:BIO routines:BIO_new_file:no such file:crypto/bio/bss_file.c:76:
unable to load private key
[root@localhost ~]# openssl pkcs12 -export -out /tmp/openmeetings.com_fullchain_and_key.p12 -in /etc/letsencrypt/live/fullchain.pem -inkey /etc/letsencrypt/live/privkey.pem -name tomcat Can't open /etc/letsencrypt/live/privkey.pem for reading, No such file or directory
139873474430784:error:02001002:system library:fopen:No such file or directory:crypto/bio/bss_file.c:69:fopen('/etc/letsencrypt/live/privkey.pem','r')
139873474430784:error:2006D080:BIO routines:BIO_new_file:no such file:crypto/bio/bss_file.c:76:
unable to load private key
[root@localhost ~]# openssl genrsa -des3 -out /etc/letsencrypt/live/privkey.pem 2048
Generating RSA private key, 2048 bit long modulus (2 primes)
....................+++++
................+++++
e is 65537 (0x010001)
Enter pass phrase for /etc/letsencrypt/live/privkey.pem:
Verifying - Enter pass phrase for /etc/letsencrypt/live/privkey.pem:
[root@localhost ~]# openssl req -new -key /data/ssl/server/server.key -out /data/ssl/server/server.csr
Enter pass phrase for /data/ssl/server/server.key:
aborted!
unable to load Private Key
140065965336384:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:crypto/evp/evp_enc.c:643:
140065965336384:error:0906A065:PEM routines:PEM_do_header:bad decrypt:crypto/pem/pem_lib.c:461:
[root@localhost ~]# openssl req -new -key /data/ssl/server/server.key -out /data/ssl/server/server.csr
Enter pass phrase for /data/ssl/server/server.key:
aborted!
unable to load Private Key
140235137967936:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:crypto/evp/evp_enc.c:643:
140235137967936:error:0906A065:PEM routines:PEM_do_header:bad decrypt:crypto/pem/pem_lib.c:461:
[root@localhost ~]# openssl req -new -key /etc/letsencrypt/live/privkey.pem -out /etc/letsencrypt/live/privkey.csr
Enter pass phrase for /etc/letsencrypt/live/privkey.pem:
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [XX]:ch
State or Province Name (full name) []:hb
Locality Name (eg, city) [Default City]:xg
Organization Name (eg, company) [Default Company Ltd]:zf
Organizational Unit Name (eg, section) []:wqb
Common Name (eg, your name or your server's hostname) []:openmeetings.com
Email Address []:wqbboy@163.com
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:
[root@localhost ~]# openssl x509 -req -days 3650 -CA /data/ssl/ca/ca.pem -CAkey /data/ssl/ca/ca.key -CAcreateserial -in /data/ssl/server/server.csr -out /data/ssl/server/server.pem
Signature ok
subject=C = ch, ST = hb, L = xg, O = zf, OU = wqb, CN = 192.168.20.14, emailAddress = wqbboy@163.com
Getting CA Private Key
Enter pass phrase for /data/ssl/ca/ca.key:
aborted!
unable to load CA Private Key
139790756341568:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:crypto/evp/evp_enc.c:643:
139790756341568:error:0906A065:PEM routines:PEM_do_header:bad decrypt:crypto/pem/pem_lib.c:461:
[root@localhost ~]# openssl x509 -req -days 3650 -CA /data/ssl/ca/ca.pem -CAkey /data/ssl/ca/ca.key -CAcreateserial -in /data/ssl/server/server.csr -out /data/ssl/server/server.pem
版权声明:本文为CSDN博主「cd_sc」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/cd_sc/article/details/122254240Signature ok
subject=C = ch, ST = hb, L = xg, O = zf, OU = wqb, CN = 192.168.20.14, emailAddress = wqbboy@163.com
Getting CA Private Key
Enter pass phrase for /data/ssl/ca/ca.key:
unable to load CA Private Key
139932980094784:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:crypto/evp/evp_enc.c:643:
139932980094784:error:0906A065:PEM routines:PEM_do_header:bad decrypt:crypto/pem/pem_lib.c:461:
[root@localhost ~]# 原文链接:https://blog.csdn.net/cd_sc/article/details/122254240^C
[root@localhost ~]# openssl x509 -req -days 3650 -CA /etc/letsencrypt/live/fullchain.pem -CAkey /etc/letsencrypt/live/privkey.pem -CAcreateserial in /etc/letsencrypt/live/privkey.csr -out /etc/letsencrypt/live/privkey.pem
x509: Unknown parameter in
x509: Use -help for summary.
[root@localhost ~]# openssl x509 -req -days 3650 -signkey /etc/letsencrypt/live/privkey.pem -in /etc/letsencrypt/live/privkey.csr -out /etc/letsencrypt/live/fullchain^Cem [root@localhost ~]# cd /data/ssl/ca/
[root@localhost ca]# ls
ca.csr ca.key ca.p12 ca.pem ca.srl
[root@localhost ca]# cd ..
[root@localhost ssl]# ls
ca client server
[root@localhost ssl]# cd ca
[root@localhost ca]# ls
ca.csr ca.key ca.p12 ca.pem ca.srl
[root@localhost ca]# cd ..
[root@localhost ssl]# cp ca/ /etc/letsencrypt/live/
cp: 未指定 -r;略过目录'ca/'
[root@localhost ssl]# cp ca/ /etc/letsencrypt/live/ -r
[root@localhost ssl]# cd /etc/letsencrypt/live/
[root@localhost live]# ls
ca privkey.csr privkey.pem
[root@localhost live]# openssl x509 -req -days 3650 -CA /etc/letsencrypt/live/ca/ca.p -CAkey /etc/letsencrypt/live/privkey.pem -CAcreateserial in /etc/letsencrypt/live/privkey.csr -out /etc/letsencrypt/live/privkey.pem
ca.p12 ca.pem
[root@localhost live]# openssl x509 -req -days 3650 -CA /etc/letsencrypt/live/ca/ca.pem -CAkey /etc/letsencrypt/live/privkey.pem -CAcreateserial in /etc/letsencrypt/live/privkey.csr -out /etc/letsencrypt/live/fullchain.pem
x509: Unknown parameter in
x509: Use -help for summary.
[root@localhost live]# openssl x509 -req -days 3650 -CA /etc/letsencrypt/live/ca/ca.pem -CAkey /etc/letsencrypt/live/ca/ca.key -CAcreateserial in /etc/letsencrypt/live/privkey.csr -out /etc/letsencrypt/live/fullchain.pem
x509: Unknown parameter in
x509: Use -help for summary.
[root@localhost live]# openssl x509 -req -days 3650 -CA /etc/letsencrypt/live/ca/ca.pem -CAkey /etc/letsencrypt/live/ca/ca.key -CAcreateserial -in /etc/letsencrypt/live/privkey.csr -out /etc/letsencrypt/live/fullchain.pem
Signature ok
subject=C = ch, ST = hb, L = xg, O = zf, OU = wqb, CN = openmeetings.com, emailAddress = wqbboy@163.com
Getting CA Private Key
Enter pass phrase for /etc/letsencrypt/live/ca/ca.key:
[root@localhost live]# openssl pkcs12 -export -out /tmp/openmeetings.com_fullchain_and_key.p12 -in /etc/letsencrypt/live/fullchain.pem -inkey /etc/letsencrypt/live/privkey.pem -name tomcat
Enter pass phrase for /etc/letsencrypt/live/privkey.pem:
Enter Export Password:
Verifying - Enter Export Password:
[root@localhost live]# keytool -importkeystore -deststorepass master -destkeypass master -destkeystore /tmp/openmeetings.com.jks -srckeystore /tmp/openmeetings.com_fullchain_and_key.p12 -srcstoretype PKCS12 -srcstorepass master -alias tomcat
正在将密钥库 /tmp/openmeetings.com_fullchain_and_key.p12 导入到 /tmp/openmeetings.com.jks...
[root@localhost live]# cp /tmp/openmeetings.com.jks /opt/open620/conf/
[root@localhost live]# nano /opt/open620/conf/server.xml
[root@localhost live]# /etc/init.d/tomcat34 restart
Using CATALINA_BASE: /opt/open620
Using CATALINA_HOME: /opt/open620
Using CATALINA_TMPDIR: /opt/open620/temp
Using JRE_HOME: /usr
Using CLASSPATH: /opt/open620/bin/bootstrap.jar:/opt/open620/bin/tomcat-juli.jar
Using CATALINA_OPTS:
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
4月 29, 2022 2:57:50 下午 org.apache.catalina.startup.Catalina stopServer
严重: 无法联系[localhost:8005](基端口[8005]和偏移量[0])。Tomcat可能不在运行。
4月 29, 2022 2:57:50 下午 org.apache.catalina.startup.Catalina stopServer
严重: 停止 Catalina 时出错
java.net.ConnectException: 拒绝连接 (Connection refused)
at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.base/java.net.Socket.connect(Socket.java:609)
at java.base/java.net.Socket.connect(Socket.java:558)
at java.base/java.net.Socket.<init>(Socket.java:454)
at java.base/java.net.Socket.<init>(Socket.java:231)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:667)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:388)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:478)
...Tomcat stopped.
...Restarting...
Using CATALINA_BASE: /opt/open620
Using CATALINA_HOME: /opt/open620
Using CATALINA_TMPDIR: /opt/open620/temp
Using JRE_HOME: /usr
Using CLASSPATH: /opt/open620/bin/bootstrap.jar:/opt/open620/bin/tomcat-juli.jar
Using CATALINA_OPTS:
Tomcat started.
[root@localhost live]# yum install coturn
上次元数据过期检查:0:49:58 前,执行于 2022年04月29日 星期五 14时10分00秒。
依赖关系解决。
=============================================================================================================
软件包 架构 版本 仓库 大小
=============================================================================================================
安装:
coturn x86_64 4.5.2-1.el8 epel 269 k
安装依赖关系:
hiredis x86_64 0.13.3-13.el8 epel 37 k
libpq x86_64 13.3-1.el8_4 AppStream 197 k
perl-Compress-Raw-Bzip2 x86_64 2.081-1.el8 base 40 k
perl-Compress-Raw-Zlib x86_64 2.081-1.el8 base 68 k
perl-Encode-Locale noarch 1.05-10.module_el8.3.0+416+dee7bcef AppStream 22 k
perl-HTTP-Date noarch 6.02-19.module_el8.3.0+416+dee7bcef AppStream 19 k
perl-IO-Compress noarch 2.081-1.el8 base 258 k
perl-IO-HTML noarch 1.001-11.module_el8.3.0+416+dee7bcef AppStream 28 k
perl-LWP-MediaTypes noarch 6.02-15.module_el8.3.0+416+dee7bcef AppStream 29 k
perl-TimeDate noarch 1:2.30-15.module_el8.3.0+416+dee7bcef AppStream 53 k
安装弱的依赖:
perl-HTTP-Message noarch 6.18-1.module_el8.3.0+416+dee7bcef AppStream 100 k
telnet x86_64 1:0.17-76.el8 AppStream 72 k
事务概要
=============================================================================================================
安装 13 软件包
总下载:1.2 M
安装大小:3.5 M
确定吗?[y/N]: y
下载软件包:
(1/13): perl-Compress-Raw-Bzip2-2.081-1.el8.x86_64.rpm 540 kB/s | 40 kB 00:00
(2/13): perl-Compress-Raw-Zlib-2.081-1.el8.x86_64.rpm 500 kB/s | 68 kB 00:00
(3/13): perl-Encode-Locale-1.05-10.module_el8.3.0+416+dee7bcef.noarch.rpm 356 kB/s | 22 kB 00:00
(4/13): perl-HTTP-Date-6.02-19.module_el8.3.0+416+dee7bcef.noarch.rpm 451 kB/s | 19 kB 00:00
(5/13): libpq-13.3-1.el8_4.x86_64.rpm 721 kB/s | 197 kB 00:00
(6/13): perl-IO-HTML-1.001-11.module_el8.3.0+416+dee7bcef.noarch.rpm 662 kB/s | 28 kB 00:00
(7/13): perl-LWP-MediaTypes-6.02-15.module_el8.3.0+416+dee7bcef.noarch.rpm 717 kB/s | 29 kB 00:00
(8/13): perl-IO-Compress-2.081-1.el8.noarch.rpm 532 kB/s | 258 kB 00:00
(9/13): perl-TimeDate-2.30-15.module_el8.3.0+416+dee7bcef.noarch.rpm 466 kB/s | 53 kB 00:00
(10/13): telnet-0.17-76.el8.x86_64.rpm 858 kB/s | 72 kB 00:00
(11/13): perl-HTTP-Message-6.18-1.module_el8.3.0+416+dee7bcef.noarch.rpm 234 kB/s | 100 kB 00:00
(12/13): hiredis-0.13.3-13.el8.x86_64.rpm 165 kB/s | 37 kB 00:00
(13/13): coturn-4.5.2-1.el8.x86_64.rpm 635 kB/s | 269 kB 00:00
-------------------------------------------------------------------------------------------------------------
总计 907 kB/s | 1.2 MB 00:01
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
准备中 : 1/1
安装 : perl-Compress-Raw-Zlib-2.081-1.el8.x86_64 1/13
安装 : hiredis-0.13.3-13.el8.x86_64 2/13
安装 : telnet-1:0.17-76.el8.x86_64 3/13
安装 : perl-TimeDate-1:2.30-15.module_el8.3.0+416+dee7bcef.noarch 4/13
安装 : perl-HTTP-Date-6.02-19.module_el8.3.0+416+dee7bcef.noarch 5/13
安装 : perl-LWP-MediaTypes-6.02-15.module_el8.3.0+416+dee7bcef.noarch 6/13
安装 : perl-IO-HTML-1.001-11.module_el8.3.0+416+dee7bcef.noarch 7/13
安装 : perl-Encode-Locale-1.05-10.module_el8.3.0+416+dee7bcef.noarch 8/13
安装 : libpq-13.3-1.el8_4.x86_64 9/13
安装 : perl-Compress-Raw-Bzip2-2.081-1.el8.x86_64 10/13
安装 : perl-IO-Compress-2.081-1.el8.noarch 11/13
安装 : perl-HTTP-Message-6.18-1.module_el8.3.0+416+dee7bcef.noarch 12/13
运行脚本: coturn-4.5.2-1.el8.x86_64 13/13
安装 : coturn-4.5.2-1.el8.x86_64 13/13
运行脚本: coturn-4.5.2-1.el8.x86_64 13/13
验证 : perl-Compress-Raw-Bzip2-2.081-1.el8.x86_64 1/13
验证 : perl-Compress-Raw-Zlib-2.081-1.el8.x86_64 2/13
验证 : perl-IO-Compress-2.081-1.el8.noarch 3/13
验证 : libpq-13.3-1.el8_4.x86_64 4/13
验证 : perl-Encode-Locale-1.05-10.module_el8.3.0+416+dee7bcef.noarch 5/13
验证 : perl-HTTP-Date-6.02-19.module_el8.3.0+416+dee7bcef.noarch 6/13
验证 : perl-HTTP-Message-6.18-1.module_el8.3.0+416+dee7bcef.noarch 7/13
验证 : perl-IO-HTML-1.001-11.module_el8.3.0+416+dee7bcef.noarch 8/13
验证 : perl-LWP-MediaTypes-6.02-15.module_el8.3.0+416+dee7bcef.noarch 9/13
验证 : perl-TimeDate-1:2.30-15.module_el8.3.0+416+dee7bcef.noarch 10/13
验证 : telnet-1:0.17-76.el8.x86_64 11/13
验证 : coturn-4.5.2-1.el8.x86_64 12/13
验证 : hiredis-0.13.3-13.el8.x86_64 13/13
已安装:
coturn-4.5.2-1.el8.x86_64
hiredis-0.13.3-13.el8.x86_64
libpq-13.3-1.el8_4.x86_64
perl-Compress-Raw-Bzip2-2.081-1.el8.x86_64
perl-Compress-Raw-Zlib-2.081-1.el8.x86_64
perl-Encode-Locale-1.05-10.module_el8.3.0+416+dee7bcef.noarch
perl-HTTP-Date-6.02-19.module_el8.3.0+416+dee7bcef.noarch
perl-HTTP-Message-6.18-1.module_el8.3.0+416+dee7bcef.noarch
perl-IO-Compress-2.081-1.el8.noarch
perl-IO-HTML-1.001-11.module_el8.3.0+416+dee7bcef.noarch
perl-LWP-MediaTypes-6.02-15.module_el8.3.0+416+dee7bcef.noarch
perl-TimeDate-1:2.30-15.module_el8.3.0+416+dee7bcef.noarch
telnet-1:0.17-76.el8.x86_64
完毕!
[root@localhost live]# openssl rand -hex 32
01b45f6b72f0cde9252f85170270afff339ca55db48feca42630812ba2ef8556
[root@localhost live]# 01b45f6b72f0cde9252f85170270afff339ca55db48feca42630812ba2ef8556
bash: 01b45f6b72f0cde9252f85170270afff339ca55db48feca42630812ba2ef8556: 未找到命令...
[root@localhost live]# nano /etc/coturn/turnserver.conf
[root@localhost live]# nano /etc/coturn/turnserver.conf
[root@localhost live]# vi /etc/coturn/turnserver.conf
[root@localhost live]# vi /etc/coturn/turnserver.conf
[root@localhost live]# vi /etc/coturn/turnserver.conf
[root@localhost live]# nano /opt/open620/webapps/openmeetings/WEB-INF/classes/openmeetings.properties
[root@localhost live]# nano /opt/open620/webapps/openmeetings/WEB-INF/classes/openmeetings.properties
[root@localhost live]# systemctl stop mariadb.service
[root@localhost live]# docker stop kms
kms
[root@localhost live]# systemctl stop coturn.service
[root@localhost live]# /etc/init.d/tomcat34 stop
Using CATALINA_BASE: /opt/open620
Using CATALINA_HOME: /opt/open620
Using CATALINA_TMPDIR: /opt/open620/temp
Using JRE_HOME: /usr
Using CLASSPATH: /opt/open620/bin/bootstrap.jar:/opt/open620/bin/tomcat-juli.jar
Using CATALINA_OPTS:
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
...Tomcat stopped.
[root@localhost live]# reboot
login as: root
root@192.168.20.14's password:
Access denied
root@192.168.20.14's password:
Activate the web console with: systemctl enable --now cockpit.socket
Last failed login: Fri Apr 29 15:16:14 CST 2022 from 192.168.20.1 on ssh:notty
There was 1 failed login attempt since the last successful login.
Last login: Fri Apr 29 12:06:08 2022 from 192.168.20.1
[root@eaglezsx ~]# systemctl start mariadb.service
[root@eaglezsx ~]# docker start kms
kms
[root@eaglezsx ~]# systemctl start coturn.service
[root@eaglezsx ~]# /etc/init.d/tomcat34 start
Using CATALINA_BASE: /opt/open620
Using CATALINA_HOME: /opt/open620
Using CATALINA_TMPDIR: /opt/open620/temp
Using JRE_HOME: /usr
Using CLASSPATH: /opt/open620/bin/bootstrap.jar:/opt/open620/bin/tomcat-juli.jar
Using CATALINA_OPTS:
Tomcat started.
[root@eaglezsx ~]# shutdown 0
Shutdown scheduled for Fri 2022-04-29 15:21:50 CST, use 'shutdown -c' to cancel.
[root@eaglezsx ~]#
...
在这里插入代码片