5

我正在按照安装指南的说明在 Linux Read Hat Enterprise 7.9 上安装 Qlik Catalog SW。

我在Tomcat安装中遇到了第一个问题。基本上,我无法使用浏览器连接到 Tomcat。

下面是我使用过的命令的详细列表。

我已经使用 Firefox 进行了尝试。

尝试安装 Chrome 时,我遇到了其他问题。

有什么提示吗?

*** Installing Chrome ***
# sudo yum install glib
# sudo yum list glibc
# sudo wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
# sudo yum -y install redhat-lsb libXScrnSaver
# sudo yum -y localinstall google-chrome-stable_current_x86_64.rpm
>>>>>>>>>>>>>>>>>>>>>>>
Error: Package: google-chrome-stable-95.0.4638.54-1.x86_64 (/google-chrome-stable_current_x86_64)
Requires: libc.so.6(GLIBC_2.18)(64bit)
<<<<<<<<<<<<<<<<<<<<<<<
*** Installing Tomcat ***
Install wget (if not already installed):
# sudo yum install -y wget
Become the service account user:
# sudo su - qdcuser
Download Apache Tomcat and extract the file in usr/local/qdc:
$ cd /usr/local/qdc
$ wget https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.38/bin/apache-tomcat-9.0.38.tar.gz
$ tar -xvf apache-tomcat-9.0.38.tar.gz
Overwrite <tomcat home>/conf/server.xml with the version expanded from the Qlik Catalog zip file:
$ cp /tmp/podium/config/tomcat9-server.xml /usr/local/qdc/apache-tomcat-9.0.38/conf/server.xml
Opening ports 8080 and 8443:
# sudo firewall-cmd --zone=public --permanent --add-port=8080/tcp
# sudo firewall-cmd --zone=public --permanent --add-port=8443/tcp
# sudo systemctl restart firewalld.service
Setup Apache Tomcat as a service to automatically start when Linux restarts:
# sudo cp /tmp/podium/config/tomcat.service /etc/systemd/system/
# sudo systemctl daemon-reload
# sudo systemctl enable tomcat.service
Edit the file /etc/systemd/system/tomcat.service to insert the correct user and group names:
# sudo nano /etc/systemd/system/tomcat.service
User=qdcuser
Group=qdcgroup
Start Tomcat manually:
$ cd /usr/local/qdc/apache-tomcat-9.0.38
$ ./bin/startup.sh
Browse to the following URL to verify that Tomcat is running:
https://localhost:8443
>>>>>>>>>>>>>>>>>>>>
Unable to connect
Firefox can’t establish a connection to the server at localhost:8443.
<<<<<<<<<<<<<<<<<<<<<
4

2 回答 2

2

在谷歌解决问题之前,另一种选择是:

sudo yum update --skip-broken

这可以安装所有更新并忽略 chrome

于 2021-10-21T22:33:17.397 回答
2

我也看到了这个问题..这就是我认为可能的原因..

rpm -qf /usr/lib64/libc.so.6 glibc-2.17-325.el7_9.x86_64

glibc 在 RHEL 7.9 上是 2.17 谷歌的开发人员应该知道这一点,这意味着它是一个错误。

或者。他们应该将该库作为其包的一部分提供并静态链接它。

简短的回答。目前,在谷歌解决并修复之前,我可能会删除该软件包,或者跳过该软件包。

跳过..

sudo yum -y update --exclude google-chrome-stable*

删除......好吧......“sudo yum -y remove google-chrome-stable”

于 2021-10-21T12:38:41.680 回答