这是出现的内容:
[user@localhost ~]$ cd Kiwi
[user@localhost Kiwi]$ sudo service docker start
[sudo] password for user:
Redirecting to /bin/systemctl start docker.service
[user@localhost Kiwi]$ docker-compose up -d
kiwi_db is up-to-date
kiwi_web is up-to-date
[user@localhost Kiwi]$ list containers
bash: list: command not found...
[user@localhost Kiwi]$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d33eab4718e7 kiwitcms/kiwi:latest "/bin/sh -c /httpd-f…" 28 hours ago Up 12 minutes 8080/tcp, 8443/tcp, 0.0.0.0:32769->80/tcp, 0.0.0.0:32768->443/tcp kiwi_web
309ae0cb6331 centos/mariadb "/docker-entrypoint.…" 29 hours ago Up 12 minutes 3306/tcp kiwi_db
[user@localhost Kiwi]$ dir
CHANGELOG.rst docker-compose_orig.yml Dockerfile etc httpd-foreground LICENSE manage.py README.rst requirements setup.py tests
crowdin.yml docker-compose.yml docs greenkeeper.json kiwi_lint Makefile MANIFEST.in readthedocs.yml setup.cfg tcms
[user@localhost Kiwi]$ firewall-cmd --state
running
禁用防火墙似乎没有帮助。
另外,我不是Kiwi TCMS或linux / centos的专家,我只是试图安装/运行它来进行试运行,看它是否能帮助我日复一日。所以,如果答案很明显,但我不知道......请善待!并告诉我该怎么做。谢谢!
来自@ Prome88
a)您是否尝试使用localhost和127.0.0.1来访问该应用程序? b)你能详细说明“没有显示” - 空白页,某种错误信息? c)docker日志d33eab4718e7显示什么?
@ Prome88
a)是的,
b)localhost和127.0.0.1都显示“Testing 1 2 3 ...”和“此页面用于测试Apache HTTP服务器安装后的正常运行。如果你能阅读这个页面,就意味着这个网站工作正常。该服务器由CentOS提供支持。“
c)上面提到的日志内容粘贴在下面;谢谢你的帮助。
[user@localhost Kiwi]$ docker logs d33eab4718e7
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
[Sun Apr 07 20:53:50.270107 2019] [ssl:warn] [pid 8] AH01909: RSA certificate configured for 172.18.0.3:443 does NOT include an ID which matches the server name
[Sun Apr 07 20:53:50.330582 2019] [ssl:warn] [pid 8] AH01909: RSA certificate configured for 172.18.0.3:8443 does NOT include an ID which matches the server name
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
[Sun Apr 07 20:53:50.389143 2019] [auth_digest:notice] [pid 8] AH01757: generating secret for digest authentication ...
[Sun Apr 07 20:53:50.390700 2019] [lbmethod_heartbeat:notice] [pid 8] AH02282: No slotmem from mod_heartmonitor
[Sun Apr 07 20:53:50.391698 2019] [ssl:warn] [pid 8] AH01909: RSA certificate configured for 172.18.0.3:443 does NOT include an ID which matches the server name
[Sun Apr 07 20:53:50.391934 2019] [ssl:warn] [pid 8] AH01909: RSA certificate configured for 172.18.0.3:8443 does NOT include an ID which matches the server name
[Sun Apr 07 20:53:50.395131 2019] [mpm_prefork:notice] [pid 8] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_wsgi/4.6.5 Python/3.6 configured -- resuming normal operations
[Sun Apr 07 20:53:50.395159 2019] [core:notice] [pid 8] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
[Sun Apr 07 21:23:26.304161 2019] [ssl:warn] [pid 8] AH01909: RSA certificate configured for 172.18.0.3:443 does NOT include an ID which matches the server name
[Sun Apr 07 21:23:26.304430 2019] [ssl:warn] [pid 8] AH01909: RSA certificate configured for 172.18.0.3:8443 does NOT include an ID which matches the server name
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
[Sun Apr 07 21:23:26.325046 2019] [auth_digest:notice] [pid 8] AH01757: generating secret for digest authentication ...
[Sun Apr 07 21:23:26.326151 2019] [lbmethod_heartbeat:notice] [pid 8] AH02282: No slotmem from mod_heartmonitor
[Sun Apr 07 21:23:26.326845 2019] [ssl:warn] [pid 8] AH01909: RSA certificate configured for 172.18.0.3:443 does NOT include an ID which matches the server name
[Sun Apr 07 21:23:26.327000 2019] [ssl:warn] [pid 8] AH01909: RSA certificate configured for 172.18.0.3:8443 does NOT include an ID which matches the server name
[Sun Apr 07 21:23:26.329583 2019] [mpm_prefork:notice] [pid 8] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_wsgi/4.6.5 Python/3.6 configured -- resuming normal operations
[Sun Apr 07 21:23:26.329707 2019] [core:notice] [pid 8] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
[Mon Apr 08 22:40:46.735126 2019] [ssl:warn] [pid 8] AH01909: RSA certificate configured for 172.18.0.3:443 does NOT include an ID which matches the server name
[Mon Apr 08 22:40:46.920747 2019] [ssl:warn] [pid 8] AH01909: RSA certificate configured for 172.18.0.3:8443 does NOT include an ID which matches the server name
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
[Mon Apr 08 22:40:46.990842 2019] [auth_digest:notice] [pid 8] AH01757: generating secret for digest authentication ...
[Mon Apr 08 22:40:46.991866 2019] [lbmethod_heartbeat:notice] [pid 8] AH02282: No slotmem from mod_heartmonitor
[Mon Apr 08 22:40:46.992539 2019] [ssl:warn] [pid 8] AH01909: RSA certificate configured for 172.18.0.3:443 does NOT include an ID which matches the server name
[Mon Apr 08 22:40:46.992714 2019] [ssl:warn] [pid 8] AH01909: RSA certificate configured for 172.18.0.3:8443 does NOT include an ID which matches the server name
[Mon Apr 08 22:40:46.994762 2019] [mpm_prefork:notice] [pid 8] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_wsgi/4.6.5 Python/3.6 configured -- resuming normal operations
[Mon Apr 08 22:40:46.994792 2019] [core:notice] [pid 8] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
[Tue Apr 09 00:14:18.769902 2019] [ssl:warn] [pid 9] AH01909: RSA certificate configured for 172.18.0.3:443 does NOT include an ID which matches the server name
[Tue Apr 09 00:14:18.955368 2019] [ssl:warn] [pid 9] AH01909: RSA certificate configured for 172.18.0.3:8443 does NOT include an ID which matches the server name
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
[Tue Apr 09 00:14:19.099396 2019] [auth_digest:notice] [pid 9] AH01757: generating secret for digest authentication ...
[Tue Apr 09 00:14:19.100980 2019] [lbmethod_heartbeat:notice] [pid 9] AH02282: No slotmem from mod_heartmonitor
[Tue Apr 09 00:14:19.102083 2019] [ssl:warn] [pid 9] AH01909: RSA certificate configured for 172.18.0.3:443 does NOT include an ID which matches the server name
[Tue Apr 09 00:14:19.102335 2019] [ssl:warn] [pid 9] AH01909: RSA certificate configured for 172.18.0.3:8443 does NOT include an ID which matches the server name
[Tue Apr 09 00:14:19.105689 2019] [mpm_prefork:notice] [pid 9] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_wsgi/4.6.5 Python/3.6 configured -- resuming normal operations
[Tue Apr 09 00:14:19.105727 2019] [core:notice] [pid 9] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
尝试转到172.18.0.3,看看会发生什么。