linux下安装kkFileView4

kkFileView为文件文档在线预览解决方案,该项目使用流行的spring boot搭建,易上手和部署,基本支持主流办公文档的在线预览,如doc,docx,xls,xlsx,ppt,pptx,pdf,txt,zip,rar,图片,视频,音频等等

安装kkFileView前需要安装LibreOffice

一、安装 LibreOffice7.1

1、创建文件夹

mkdir kkFileView

2、通过get或者上传自己下载好的安装包

wget https://kkfileview.keking.cn/LibreOffice_7.1.4_Linux_x86-64_rpm.tar.gz

在这里插入图片描述

3、进行解压

tar -zxvf LibreOffice_7.1.4_Linux_x86-64_rpm.tar.gz

在这里插入图片描述
在这里插入图片描述

4、切换到LibreOffice_7.1.4.2_Linux_x86-64_rpm/RPMS目录下

cd  /kkFileView/LibreOffice_7.1.4.2_Linux_x86-64_rpm/RPMS

5、安装LibreOffice

yum localinstall *.rpm

[root@localhost RPMS]# yum localinstall *.rpm
Loaded plugins:
fastestmirror Examining libobasis7.1-base-7.1.4.2-2.x86_64.rpm:
libobasis7.1-base-7.1.4.2-2.x86_64 Marking
libobasis7.1-base-7.1.4.2-2.x86_64.rpm to be installed Examining
libobasis7.1-calc-7.1.4.2-2.x86_64.rpm:
libobasis7.1-calc-7.1.4.2-2.x86_64 Marking
libobasis7.1-calc-7.1.4.2-2.x86_64.rpm to be installed Examining
libobasis7.1-core-7.1.4.2-2.x86_64.rpm:
libobasis7.1-core-7.1.4.2-2.x86_64 Marking
libobasis7.1-core-7.1.4.2-2.x86_64.rpm to be installed Examining
libobasis7.1-draw-7.1.4.2-2.x86_64.rpm:
libobasis7.1-draw-7.1.4.2-2.x86_64 Marking
libobasis7.1-draw-7.1.4.2-2.x86_64.rpm to be installed Examining
libobasis7.1-en-US-7.1.4.2-2.x86_64.rpm:
libobasis7.1-en-US-7.1.4.2-2.x86_64 Marking
libobasis7.1-en-US-7.1.4.2-2.x86_64.rpm to be installed Examining
libobasis7.1-extension-beanshell-script-provider-7.1.4.2-2.x86_64.rpm:
libobasis7.1-extension-beanshell-script-provider-7.1.4.2-2.x86_64
Marking
libobasis7.1-extension-beanshell-script-provider-7.1.4.2-2.x86_64.rpm
to be installed Examining
libobasis7.1-extension-javascript-script-provider-7.1.4.2-2.x86_64.rpm:
libobasis7.1-extension-javascript-script-provider-7.1.4.2-2.x86_64
Marking
libobasis7.1-extension-javascript-script-provider-7.1.4.2-2.x86_64.rpm
to be installed Examining
libobasis7.1-extension-mediawiki-publisher-7.1.4.2-2.x86_64.rpm:
libobasis7.1-extension-mediawiki-publisher-7.1.4.2-2.x86_64 Marking
libobasis7.1-extension-mediawiki-publisher-7.1.4.2-2.x86_64.rpm to be
installed Examining
libobasis7.1-extension-nlpsolver-7.1.4.2-2.x86_64.rpm:
libobasis7.1-extension-nlpsolver-7.1.4.2-2.x86_64 Marking
libobasis7.1-extension-nlpsolver-7.1.4.2-2.x86_64.rpm to be installed
Examining libobasis7.1-extension-pdf-import-7.1.4.2-2.x86_64.rpm:
libobasis7.1-extension-pdf-import-7.1.4.2-2.x86_64 Marking
libobasis7.1-extension-pdf-import-7.1.4.2-2.x86_64.rpm to be installed
Examining libobasis7.1-extension-report-builder-7.1.4.2-2.x86_64.rpm:
libobasis7.1-extension-report-builder-7.1.4.2-2.x86_64 Marking
libobasis7.1-extension-report-builder-7.1.4.2-2.x86_64.rpm to be
installed Examining libobasis7.1-firebird-7.1.4.2-2.x86_64.rpm:
libobasis7.1-firebird-7.1.4.2-2.x86_64 Marking
libobasis7.1-firebird-7.1.4.2-2.x86_64.rpm to be installed Examining
libobasis7.1-gnome-integration-7.1.4.2-2.x86_64.rpm:
libobasis7.1-gnome-integration-7.1.4.2-2.x86_64 Marking
libobasis7.1-gnome-integration-7.1.4.2-2.x86_64.rpm to be installed
Examining libobasis7.1-graphicfilter-7.1.4.2-2.x86_64.rpm:
libobasis7.1-graphicfilter-7.1.4.2-2.x86_64 Marking
libobasis7.1-graphicfilter-7.1.4.2-2.x86_64.rpm to be installed
Examining libobasis7.1-images-7.1.4.2-2.x86_64.rpm:
libobasis7.1-images-7.1.4.2-2.x86_64 Marking
libobasis7.1-images-7.1.4.2-2.x86_64.rpm to be installed Examining
libobasis7.1-impress-7.1.4.2-2.x86_64.rpm:
libobasis7.1-impress-7.1.4.2-2.x86_64 Marking
libobasis7.1-impress-7.1.4.2-2.x86_64.rpm to be installed Examining
libobasis7.1-kde-integration-7.1.4.2-2.x86_64.rpm:
libobasis7.1-kde-integration-7.1.4.2-2.x86_64 Marking
libobasis7.1-kde-integration-7.1.4.2-2.x86_64.rpm to be installed
Examining libobasis7.1-librelogo-7.1.4.2-2.x86_64.rpm:
libobasis7.1-librelogo-7.1.4.2-2.x86_64 Marking
libobasis7.1-librelogo-7.1.4.2-2.x86_64.rpm to be installed Examining
libobasis7.1-libreofficekit-data-7.1.4.2-2.x86_64.rpm:
libobasis7.1-libreofficekit-data-7.1.4.2-2.x86_64 Marking
libobasis7.1-libreofficekit-data-7.1.4.2-2.x86_64.rpm to be installed
Examining libobasis7.1-math-7.1.4.2-2.x86_64.rpm:
libobasis7.1-math-7.1.4.2-2.x86_64 Marking
libobasis7.1-math-7.1.4.2-2.x86_64.rpm to be installed Examining
libobasis7.1-ogltrans-7.1.4.2-2.x86_64.rpm:
libobasis7.1-ogltrans-7.1.4.2-2.x86_64 Marking
libobasis7.1-ogltrans-7.1.4.2-2.x86_64.rpm to be installed Examining
libobasis7.1-onlineupdate-7.1.4.2-2.x86_64.rpm:
libobasis7.1-onlineupdate-7.1.4.2-2.x86_64 Marking
libobasis7.1-onlineupdate-7.1.4.2-2.x86_64.rpm to be installed
Examining libobasis7.1-ooofonts-7.1.4.2-2.x86_64.rpm:
libobasis7.1-ooofonts-7.1.4.2-2.x86_64 Marking
libobasis7.1-ooofonts-7.1.4.2-2.x86_64.rpm to be installed Examining
libobasis7.1-ooolinguistic-7.1.4.2-2.x86_64.rpm:
libobasis7.1-ooolinguistic-7.1.4.2-2.x86_64 Marking
libobasis7.1-ooolinguistic-7.1.4.2-2.x86_64.rpm to be installed
Examining libobasis7.1-postgresql-sdbc-7.1.4.2-2.x86_64.rpm:
libobasis7.1-postgresql-sdbc-7.1.4.2-2.x86_64 Marking
libobasis7.1-postgresql-sdbc-7.1.4.2-2.x86_64.rpm to be installed
Examining libobasis7.1-python-script-provider-7.1.4.2-2.x86_64.rpm:
libobasis7.1-python-script-provider-7.1.4.2-2.x86_64 Marking
libobasis7.1-python-script-provider-7.1.4.2-2.x86_64.rpm to be
installed Examining libobasis7.1-pyuno-7.1.4.2-2.x86_64.rpm:
libobasis7.1-pyuno-7.1.4.2-2.x86_64 Marking
libobasis7.1-pyuno-7.1.4.2-2.x86_64.rpm to be installed Examining
libobasis7.1-writer-7.1.4.2-2.x86_64.rpm:
libobasis7.1-writer-7.1.4.2-2.x86_64 Marking
libobasis7.1-writer-7.1.4.2-2.x86_64.rpm to be installed Examining
libobasis7.1-xsltfilter-7.1.4.2-2.x86_64.rpm:
libobasis7.1-xsltfilter-7.1.4.2-2.x86_64 Marking
libobasis7.1-xsltfilter-7.1.4.2-2.x86_64.rpm to be installed Examining
libreoffice7.1-7.1.4.2-2.x86_64.rpm: libreoffice7.1-7.1.4.2-2.x86_64
Marking libreoffice7.1-7.1.4.2-2.x86_64.rpm to be installed Examining
libreoffice7.1-base-7.1.4.2-2.x86_64.rpm:
libreoffice7.1-base-7.1.4.2-2.x86_64 Marking
libreoffice7.1-base-7.1.4.2-2.x86_64.rpm to be installed Examining
libreoffice7.1-calc-7.1.4.2-2.x86_64.rpm:
libreoffice7.1-calc-7.1.4.2-2.x86_64 Marking
libreoffice7.1-calc-7.1.4.2-2.x86_64.rpm to be installed Examining
libreoffice7.1-dict-en-7.1.4.2-2.x86_64.rpm:
libreoffice7.1-dict-en-7.1.4.2-2.x86_64 Marking
libreoffice7.1-dict-en-7.1.4.2-2.x86_64.rpm to be installed Examining
libreoffice7.1-dict-es-7.1.4.2-2.x86_64.rpm:
libreoffice7.1-dict-es-7.1.4.2-2.x86_64 Marking
libreoffice7.1-dict-es-7.1.4.2-2.x86_64.rpm to be installed Examining
libreoffice7.1-dict-fr-7.1.4.2-2.x86_64.rpm:
libreoffice7.1-dict-fr-7.1.4.2-2.x86_64 Marking
libreoffice7.1-dict-fr-7.1.4.2-2.x86_64.rpm to be installed Examining
libreoffice7.1-draw-7.1.4.2-2.x86_64.rpm:
libreoffice7.1-draw-7.1.4.2-2.x86_64 Marking
libreoffice7.1-draw-7.1.4.2-2.x86_64.rpm to be installed Examining
libreoffice7.1-en-US-7.1.4.2-2.x86_64.rpm:
libreoffice7.1-en-US-7.1.4.2-2.x86_64 Marking
libreoffice7.1-en-US-7.1.4.2-2.x86_64.rpm to be installed Examining
libreoffice7.1-freedesktop-menus-7.1.4-2.noarch.rpm:
libreoffice7.1-freedesktop-menus-7.1.4-2.noarch Marking
libreoffice7.1-freedesktop-menus-7.1.4-2.noarch.rpm to be installed
Examining libreoffice7.1-impress-7.1.4.2-2.x86_64.rpm:
libreoffice7.1-impress-7.1.4.2-2.x86_64 Marking
libreoffice7.1-impress-7.1.4.2-2.x86_64.rpm to be installed Examining
libreoffice7.1-math-7.1.4.2-2.x86_64.rpm:
libreoffice7.1-math-7.1.4.2-2.x86_64 Marking
libreoffice7.1-math-7.1.4.2-2.x86_64.rpm to be installed Examining
libreoffice7.1-ure-7.1.4.2-2.x86_64.rpm:
libreoffice7.1-ure-7.1.4.2-2.x86_64 Marking
libreoffice7.1-ure-7.1.4.2-2.x86_64.rpm to be installed Examining
libreoffice7.1-writer-7.1.4.2-2.x86_64.rpm:
libreoffice7.1-writer-7.1.4.2-2.x86_64 Marking
libreoffice7.1-writer-7.1.4.2-2.x86_64.rpm to be installed Resolving
Dependencies
–> Running transaction check
—> Package libobasis7.1-base.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-calc.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-core.x86_64 0:7.1.4.2-2 will be installed
–> Processing Dependency: libXinerama.so.1()(64bit) for package: libobasis7.1-core-7.1.4.2-2.x86_64 Determining fastest mirrors *
base: ftp.sjtu.edu.cn * extras: ftp.sjtu.edu.cn * updates:
ftp.sjtu.edu.cn base
| 3.6 kB 00:00:00 extras
| 2.9 kB 00:00:00 updates
| 2.9 kB 00:00:00 (1/4): base/7/x86_64/group_gz
| 153 kB 00:00:02 (2/4): extras/7/x86_64/primary_db
| 253 kB 00:00:04 (3/4): base/7/x86_64/primary_db
| 6.1 MB 00:00:27 (4/4): updates/7/x86_64/primary_db
| 27 MB 00:01:00
—> Package libobasis7.1-draw.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-en-US.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-extension-beanshell-script-provider.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-extension-javascript-script-provider.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-extension-mediawiki-publisher.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-extension-nlpsolver.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-extension-pdf-import.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-extension-report-builder.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-firebird.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-gnome-integration.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-graphicfilter.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-images.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-impress.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-kde-integration.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-librelogo.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-libreofficekit-data.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-math.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-ogltrans.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-onlineupdate.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-ooofonts.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-ooolinguistic.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-postgresql-sdbc.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-python-script-provider.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-pyuno.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-writer.x86_64 0:7.1.4.2-2 will be installed
—> Package libobasis7.1-xsltfilter.x86_64 0:7.1.4.2-2 will be installed
—> Package libreoffice7.1.x86_64 0:7.1.4.2-2 will be installed
—> Package libreoffice7.1-base.x86_64 0:7.1.4.2-2 will be installed
—> Package libreoffice7.1-calc.x86_64 0:7.1.4.2-2 will be installed
—> Package libreoffice7.1-dict-en.x86_64 0:7.1.4.2-2 will be installed
—> Package libreoffice7.1-dict-es.x86_64 0:7.1.4.2-2 will be installed
—> Package libreoffice7.1-dict-fr.x86_64 0:7.1.4.2-2 will be installed
—> Package libreoffice7.1-draw.x86_64 0:7.1.4.2-2 will be installed
—> Package libreoffice7.1-en-US.x86_64 0:7.1.4.2-2 will be installed
—> Package libreoffice7.1-freedesktop-menus.noarch 0:7.1.4-2 will be installed
—> Package libreoffice7.1-impress.x86_64 0:7.1.4.2-2 will be installed
—> Package libreoffice7.1-math.x86_64 0:7.1.4.2-2 will be installed
—> Package libreoffice7.1-ure.x86_64 0:7.1.4.2-2 will be installed
—> Package libreoffice7.1-writer.x86_64 0:7.1.4.2-2 will be installed
–> Running transaction check
—> Package libXinerama.x86_64 0:1.1.3-2.1.el7 will be installed
–> Processing Dependency: libX11 >= 1.5.99.902 for package: libXinerama-1.1.3-2.1.el7.x86_64
–> Processing Dependency: libXext.so.6()(64bit) for package: libXinerama-1.1.3-2.1.el7.x86_64
–> Processing Dependency: libX11.so.6()(64bit) for package: libXinerama-1.1.3-2.1.el7.x86_64
–> Running transaction check
—> Package libX11.x86_64 0:1.6.7-5.el7_9 will be installed
–> Processing Dependency: libX11-common >= 1.6.7-5.el7_9 for package: libX11-1.6.7-5.el7_9.x86_64
–> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.7-5.el7_9.x86_64
—> Package libXext.x86_64 0:1.3.3-3.el7 will be installed
–> Running transaction check
—> Package libX11-common.noarch 0:1.6.7-5.el7_9 will be installed
—> Package libxcb.x86_64 0:1.13-1.el7 will be installed
–> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.13-1.el7.x86_64
–> Running transaction check
—> Package libXau.x86_64 0:1.0.8-2.1.el7 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================== Package Arch Version Repository
Size
=================================================================================================================================== Installing: libobasis7.1-base x86_64 7.1.4.2-2
/libobasis7.1-base-7.1.4.2-2.x86_64 5.0
M libobasis7.1-calc x86_64 7.1.4.2-2
/libobasis7.1-calc-7.1.4.2-2.x86_64 26
M libobasis7.1-core x86_64 7.1.4.2-2
/libobasis7.1-core-7.1.4.2-2.x86_64 291
M libobasis7.1-draw x86_64 7.1.4.2-2
/libobasis7.1-draw-7.1.4.2-2.x86_64 49
k libobasis7.1-en-US x86_64 7.1.4.2-2
/libobasis7.1-en-US-7.1.4.2-2.x86_64 164
k libobasis7.1-extension-beanshell-script-provider
x86_64 7.1.4.2-2 /libobasis7.1-extension-beanshell-script-provider-7.1.4.2-2.x86_64 414
k libobasis7.1-extension-javascript-script-provider
x86_64 7.1.4.2-2 /libobasis7.1-extension-javascript-script-provider-7.1.4.2-2.x86_64
656 k libobasis7.1-extension-mediawiki-publisher
x86_64 7.1.4.2-2 /libobasis7.1-extension-mediawiki-publisher-7.1.4.2-2.x86_64 4.4
M libobasis7.1-extension-nlpsolver x86_64 7.1.4.2-2
/libobasis7.1-extension-nlpsolver-7.1.4.2-2.x86_64 2.2
M libobasis7.1-extension-pdf-import x86_64 7.1.4.2-2
/libobasis7.1-extension-pdf-import-7.1.4.2-2.x86_64 2.8
M libobasis7.1-extension-report-builder
x86_64 7.1.4.2-2 /libobasis7.1-extension-report-builder-7.1.4.2-2.x86_64 5.8
M libobasis7.1-firebird x86_64 7.1.4.2-2
/libobasis7.1-firebird-7.1.4.2-2.x86_64 10
M libobasis7.1-gnome-integration x86_64 7.1.4.2-2
/libobasis7.1-gnome-integration-7.1.4.2-2.x86_64 2.7
M libobasis7.1-graphicfilter x86_64 7.1.4.2-2
/libobasis7.1-graphicfilter-7.1.4.2-2.x86_64 3.9
M libobasis7.1-images x86_64 7.1.4.2-2
/libobasis7.1-images-7.1.4.2-2.x86_64 59
M libobasis7.1-impress x86_64 7.1.4.2-2
/libobasis7.1-impress-7.1.4.2-2.x86_64 2.4
M libobasis7.1-kde-integration x86_64 7.1.4.2-2
/libobasis7.1-kde-integration-7.1.4.2-2.x86_64 5.8
M libobasis7.1-librelogo x86_64 7.1.4.2-2
/libobasis7.1-librelogo-7.1.4.2-2.x86_64 773
k libobasis7.1-libreofficekit-data x86_64 7.1.4.2-2
/libobasis7.1-libreofficekit-data-7.1.4.2-2.x86_64 1.4
k libobasis7.1-math x86_64 7.1.4.2-2
/libobasis7.1-math-7.1.4.2-2.x86_64 1.5
M libobasis7.1-ogltrans x86_64 7.1.4.2-2
/libobasis7.1-ogltrans-7.1.4.2-2.x86_64 370
k libobasis7.1-onlineupdate x86_64 7.1.4.2-2
/libobasis7.1-onlineupdate-7.1.4.2-2.x86_64 567
k libobasis7.1-ooofonts x86_64 7.1.4.2-2
/libobasis7.1-ooofonts-7.1.4.2-2.x86_64 69
M libobasis7.1-ooolinguistic x86_64 7.1.4.2-2
/libobasis7.1-ooolinguistic-7.1.4.2-2.x86_64 1.4
k libobasis7.1-postgresql-sdbc x86_64 7.1.4.2-2
/libobasis7.1-postgresql-sdbc-7.1.4.2-2.x86_64 4.5
M libobasis7.1-python-script-provider x86_64 7.1.4.2-2
/libobasis7.1-python-script-provider-7.1.4.2-2.x86_64 43
k libobasis7.1-pyuno x86_64 7.1.4.2-2
/libobasis7.1-pyuno-7.1.4.2-2.x86_64 25
M libobasis7.1-writer x86_64 7.1.4.2-2
/libobasis7.1-writer-7.1.4.2-2.x86_64 13
M libobasis7.1-xsltfilter x86_64 7.1.4.2-2
/libobasis7.1-xsltfilter-7.1.4.2-2.x86_64 4.3
M libreoffice7.1 x86_64 7.1.4.2-2
/libreoffice7.1-7.1.4.2-2.x86_64 3.5
M libreoffice7.1-base x86_64 7.1.4.2-2
/libreoffice7.1-base-7.1.4.2-2.x86_64 63
libreoffice7.1-calc x86_64 7.1.4.2-2
/libreoffice7.1-calc-7.1.4.2-2.x86_64 63
libreoffice7.1-dict-en x86_64 7.1.4.2-2
/libreoffice7.1-dict-en-7.1.4.2-2.x86_64 25
M libreoffice7.1-dict-es x86_64 7.1.4.2-2
/libreoffice7.1-dict-es-7.1.4.2-2.x86_64 23
M libreoffice7.1-dict-fr x86_64 7.1.4.2-2
/libreoffice7.1-dict-fr-7.1.4.2-2.x86_64 6.4
M libreoffice7.1-draw x86_64 7.1.4.2-2
/libreoffice7.1-draw-7.1.4.2-2.x86_64 63
libreoffice7.1-en-US x86_64 7.1.4.2-2
/libreoffice7.1-en-US-7.1.4.2-2.x86_64 16
k libreoffice7.1-freedesktop-menus noarch 7.1.4-2
/libreoffice7.1-freedesktop-menus-7.1.4-2.noarch 1.4
M libreoffice7.1-impress x86_64 7.1.4.2-2
/libreoffice7.1-impress-7.1.4.2-2.x86_64 66
libreoffice7.1-math x86_64 7.1.4.2-2
/libreoffice7.1-math-7.1.4.2-2.x86_64 63
libreoffice7.1-ure x86_64 7.1.4.2-2
/libreoffice7.1-ure-7.1.4.2-2.x86_64 41
M libreoffice7.1-writer x86_64 7.1.4.2-2
/libreoffice7.1-writer-7.1.4.2-2.x86_64 65
Installing for dependencies: libX11
x86_64 1.6.7-5.el7_9 updates
607 k libX11-common noarch 1.6.7-5.el7_9
updates 165
k libXau x86_64 1.0.8-2.1.el7 base
29 k libXext x86_64 1.3.3-3.el7 base
39 k libXinerama x86_64 1.1.3-2.1.el7 base
14 k libxcb x86_64 1.13-1.el7 base
214 k

Transaction Summary
=================================================================================================================================== Install 42 Packages (+6 Dependent packages)

Total size: 644 M Total download size: 1.0 M Installed size: 647 M Is
this ok [y/d/N]: y Downloading packages: warning:
/var/cache/yum/x86_64/7/base/packages/libXau-1.0.8-2.1.el7.x86_64.rpm:
Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY Public key for
libXau-1.0.8-2.1.el7.x86_64.rpm is not installed (1/6):
libXau-1.0.8-2.1.el7.x86_64.rpm
| 29 kB 00:00:00 (2/6): libXinerama-1.1.3-2.1.el7.x86_64.rpm
| 14 kB 00:00:00 (3/6): libXext-1.3.3-3.el7.x86_64.rpm
| 39 kB 00:00:00 Public key for
libX11-common-1.6.7-5.el7_9.noarch.rpm is not installed
] 95 kB/s | 354 kB 00:00:07 ETA (4/6):
libX11-common-1.6.7-5.el7_9.noarch.rpm
| 165 kB 00:00:01 (5/6): libxcb-1.13-1.el7.x86_64.rpm
| 214 kB 00:00:01 (6/6): libX11-1.6.7-5.el7_9.x86_64.rpm
| 607 kB 00:00:32
----------------------------------------------------------------------------------------------------------------------------------- Total
33 kB/s | 1.0 MB 00:00:32 Retrieving key from
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 Importing GPG key
0xF4A80EB5: Userid : “CentOS-7 Key (CentOS 7 Official Signing
Key) security@centos.org” Fingerprint: 6341 ab27 53d7 8a78 a7c2
7bb1 24c6 a8a7 f4a8 0eb5 Package :
centos-release-7-9.2009.0.el7.centos.x86_64 (@anaconda) From :
/etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 Is this ok [y/N]: y Running
transaction check Running transaction test Transaction test succeeded
Running transaction Warning: RPMDB altered outside of yum.
Installing : libreoffice7.1-ure-7.1.4.2-2.x86_64
1/48 Installing : libXau-1.0.8-2.1.el7.x86_64
2/48 Installing : libxcb-1.13-1.el7.x86_64
3/48 Installing : libobasis7.1-ooofonts-7.1.4.2-2.x86_64
4/48 Installing : libX11-common-1.6.7-5.el7_9.noarch
5/48 Installing : libX11-1.6.7-5.el7_9.x86_64
6/48 Installing : libXext-1.3.3-3.el7.x86_64
7/48 Installing : libXinerama-1.1.3-2.1.el7.x86_64
8/48 Installing : libobasis7.1-core-7.1.4.2-2.x86_64
9/48 Installing : libobasis7.1-base-7.1.4.2-2.x86_64
10/48 Installing : libobasis7.1-impress-7.1.4.2-2.x86_64
11/48 Installing : libobasis7.1-writer-7.1.4.2-2.x86_64
12/48 Installing : libobasis7.1-images-7.1.4.2-2.x86_64
13/48 Installing : libreoffice7.1-7.1.4.2-2.x86_64
14/48 Installing : libobasis7.1-calc-7.1.4.2-2.x86_64
15/48 Installing : libobasis7.1-math-7.1.4.2-2.x86_64
16/48 Installing : libobasis7.1-en-US-7.1.4.2-2.x86_64
17/48 Installing : libobasis7.1-pyuno-7.1.4.2-2.x86_64
18/48 Installing : libobasis7.1-draw-7.1.4.2-2.x86_64
19/48 Installing : libreoffice7.1-draw-7.1.4.2-2.x86_64
20/48 Installing : libobasis7.1-librelogo-7.1.4.2-2.x86_64
21/48 Installing : libreoffice7.1-en-US-7.1.4.2-2.x86_64
22/48 Installing : libreoffice7.1-math-7.1.4.2-2.x86_64
23/48 Installing : libreoffice7.1-calc-7.1.4.2-2.x86_64
24/48 Installing : libreoffice7.1-writer-7.1.4.2-2.x86_64
25/48 Installing : libreoffice7.1-impress-7.1.4.2-2.x86_64
26/48 Installing : libreoffice7.1-dict-es-7.1.4.2-2.x86_64
27/48 Installing : libreoffice7.1-dict-en-7.1.4.2-2.x86_64
28/48 Installing : libreoffice7.1-base-7.1.4.2-2.x86_64
29/48 Installing : libreoffice7.1-dict-fr-7.1.4.2-2.x86_64
30/48 Installing : libobasis7.1-ogltrans-7.1.4.2-2.x86_64
31/48 Installing : libobasis7.1-postgresql-sdbc-7.1.4.2-2.x86_64
32/48 Installing : libobasis7.1-onlineupdate-7.1.4.2-2.x86_64
33/48 Installing :
libobasis7.1-extension-nlpsolver-7.1.4.2-2.x86_64
34/48 Installing : libobasis7.1-gnome-integration-7.1.4.2-2.x86_64
35/48 Installing :
libobasis7.1-extension-mediawiki-publisher-7.1.4.2-2.x86_64
36/48 Installing :
libobasis7.1-extension-report-builder-7.1.4.2-2.x86_64
37/48 Installing : libobasis7.1-xsltfilter-7.1.4.2-2.x86_64
38/48 Installing : libobasis7.1-kde-integration-7.1.4.2-2.x86_64
39/48 Installing :
libobasis7.1-extension-javascript-script-provider-7.1.4.2-2.x86_64
40/48 Installing :
libobasis7.1-extension-beanshell-script-provider-7.1.4.2-2.x86_64
41/48 Installing : libobasis7.1-graphicfilter-7.1.4.2-2.x86_64
42/48 Installing :
libobasis7.1-libreofficekit-data-7.1.4.2-2.x86_64
43/48 Installing :
libobasis7.1-python-script-provider-7.1.4.2-2.x86_64
44/48 Installing : libobasis7.1-firebird-7.1.4.2-2.x86_64
45/48 Installing : libobasis7.1-ooolinguistic-7.1.4.2-2.x86_64
46/48 Installing :
libobasis7.1-extension-pdf-import-7.1.4.2-2.x86_64
47/48 Installing : libreoffice7.1-freedesktop-menus-7.1.4-2.noarch
48/48 which: no update-desktop-database in
(/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin)
/bin/update-mime-database which: no update-desktop-database in
(/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin) which: no
update-desktop-database in
(/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin) Verifying :
libXext-1.3.3-3.el7.x86_64
1/48 Verifying : libX11-common-1.6.7-5.el7_9.noarch
2/48 Verifying : libobasis7.1-base-7.1.4.2-2.x86_64
3/48 Verifying : libobasis7.1-onlineupdate-7.1.4.2-2.x86_64
4/48 Verifying : libXinerama-1.1.3-2.1.el7.x86_64
5/48 Verifying : libobasis7.1-images-7.1.4.2-2.x86_64
6/48 Verifying : libreoffice7.1-ure-7.1.4.2-2.x86_64
7/48 Verifying : libobasis7.1-extension-nlpsolver-7.1.4.2-2.x86_64
8/48 Verifying : libreoffice7.1-en-US-7.1.4.2-2.x86_64
9/48 Verifying : libreoffice7.1-writer-7.1.4.2-2.x86_64
10/48 Verifying : libreoffice7.1-7.1.4.2-2.x86_64
11/48 Verifying : libobasis7.1-calc-7.1.4.2-2.x86_64
12/48 Verifying : libobasis7.1-gnome-integration-7.1.4.2-2.x86_64
13/48 Verifying :
libobasis7.1-extension-mediawiki-publisher-7.1.4.2-2.x86_64
14/48 Verifying : libobasis7.1-core-7.1.4.2-2.x86_64
15/48 Verifying :
libobasis7.1-extension-report-builder-7.1.4.2-2.x86_64
16/48 Verifying : libreoffice7.1-math-7.1.4.2-2.x86_64
17/48 Verifying : libobasis7.1-librelogo-7.1.4.2-2.x86_64
18/48 Verifying : libX11-1.6.7-5.el7_9.x86_64
19/48 Verifying : libobasis7.1-xsltfilter-7.1.4.2-2.x86_64
20/48 Verifying : libreoffice7.1-calc-7.1.4.2-2.x86_64
21/48 Verifying : libxcb-1.13-1.el7.x86_64
22/48 Verifying : libobasis7.1-kde-integration-7.1.4.2-2.x86_64
23/48 Verifying :
libobasis7.1-extension-javascript-script-provider-7.1.4.2-2.x86_64
24/48 Verifying : libobasis7.1-ooofonts-7.1.4.2-2.x86_64
25/48 Verifying :
libobasis7.1-extension-beanshell-script-provider-7.1.4.2-2.x86_64
26/48 Verifying : libobasis7.1-impress-7.1.4.2-2.x86_64
27/48 Verifying : libreoffice7.1-freedesktop-menus-7.1.4-2.noarch
28/48 Verifying : libobasis7.1-ogltrans-7.1.4.2-2.x86_64
29/48 Verifying : libobasis7.1-math-7.1.4.2-2.x86_64
30/48 Verifying : libobasis7.1-en-US-7.1.4.2-2.x86_64
31/48 Verifying : libreoffice7.1-impress-7.1.4.2-2.x86_64
32/48 Verifying : libobasis7.1-postgresql-sdbc-7.1.4.2-2.x86_64
33/48 Verifying : libobasis7.1-graphicfilter-7.1.4.2-2.x86_64
34/48 Verifying : libobasis7.1-pyuno-7.1.4.2-2.x86_64
35/48 Verifying :
libobasis7.1-libreofficekit-data-7.1.4.2-2.x86_64
36/48 Verifying : libreoffice7.1-dict-es-7.1.4.2-2.x86_64
37/48 Verifying : libreoffice7.1-dict-en-7.1.4.2-2.x86_64
38/48 Verifying : libreoffice7.1-draw-7.1.4.2-2.x86_64
39/48 Verifying :
libobasis7.1-python-script-provider-7.1.4.2-2.x86_64
40/48 Verifying : libobasis7.1-firebird-7.1.4.2-2.x86_64
41/48 Verifying : libreoffice7.1-base-7.1.4.2-2.x86_64
42/48 Verifying : libreoffice7.1-dict-fr-7.1.4.2-2.x86_64
43/48 Verifying : libobasis7.1-ooolinguistic-7.1.4.2-2.x86_64
44/48 Verifying : libobasis7.1-draw-7.1.4.2-2.x86_64
45/48 Verifying : libXau-1.0.8-2.1.el7.x86_64
46/48 Verifying : libobasis7.1-writer-7.1.4.2-2.x86_64
47/48 Verifying :
libobasis7.1-extension-pdf-import-7.1.4.2-2.x86_64
48/48

Installed: libobasis7.1-base.x86_64 0:7.1.4.2-2
libobasis7.1-calc.x86_64 0:7.1.4.2-2
libobasis7.1-core.x86_64 0:7.1.4.2-2
libobasis7.1-draw.x86_64 0:7.1.4.2-2
libobasis7.1-en-US.x86_64 0:7.1.4.2-2
libobasis7.1-extension-beanshell-script-provider.x86_64 0:7.1.4.2-2
libobasis7.1-extension-javascript-script-provider.x86_64 0:7.1.4.2-2
libobasis7.1-extension-mediawiki-publisher.x86_64 0:7.1.4.2-2
libobasis7.1-extension-nlpsolver.x86_64 0:7.1.4.2-2
libobasis7.1-extension-pdf-import.x86_64 0:7.1.4.2-2
libobasis7.1-extension-report-builder.x86_64 0:7.1.4.2-2
libobasis7.1-firebird.x86_64 0:7.1.4.2-2
libobasis7.1-gnome-integration.x86_64 0:7.1.4.2-2
libobasis7.1-graphicfilter.x86_64 0:7.1.4.2-2
libobasis7.1-images.x86_64 0:7.1.4.2-2
libobasis7.1-impress.x86_64 0:7.1.4.2-2
libobasis7.1-kde-integration.x86_64 0:7.1.4.2-2
libobasis7.1-librelogo.x86_64 0:7.1.4.2-2
libobasis7.1-libreofficekit-data.x86_64 0:7.1.4.2-2
libobasis7.1-math.x86_64 0:7.1.4.2-2
libobasis7.1-ogltrans.x86_64 0:7.1.4.2-2
libobasis7.1-onlineupdate.x86_64 0:7.1.4.2-2
libobasis7.1-ooofonts.x86_64 0:7.1.4.2-2
libobasis7.1-ooolinguistic.x86_64 0:7.1.4.2-2
libobasis7.1-postgresql-sdbc.x86_64 0:7.1.4.2-2
libobasis7.1-python-script-provider.x86_64 0:7.1.4.2-2
libobasis7.1-pyuno.x86_64 0:7.1.4.2-2
libobasis7.1-writer.x86_64 0:7.1.4.2-2
libobasis7.1-xsltfilter.x86_64 0:7.1.4.2-2
libreoffice7.1.x86_64 0:7.1.4.2-2
libreoffice7.1-base.x86_64 0:7.1.4.2-2
libreoffice7.1-calc.x86_64 0:7.1.4.2-2
libreoffice7.1-dict-en.x86_64 0:7.1.4.2-2
libreoffice7.1-dict-es.x86_64 0:7.1.4.2-2
libreoffice7.1-dict-fr.x86_64 0:7.1.4.2-2
libreoffice7.1-draw.x86_64 0:7.1.4.2-2
libreoffice7.1-en-US.x86_64 0:7.1.4.2-2
libreoffice7.1-freedesktop-menus.noarch 0:7.1.4-2
libreoffice7.1-impress.x86_64 0:7.1.4.2-2
libreoffice7.1-math.x86_64 0:7.1.4.2-2
libreoffice7.1-ure.x86_64 0:7.1.4.2-2
libreoffice7.1-writer.x86_64 0:7.1.4.2-2

Dependency Installed: libX11.x86_64 0:1.6.7-5.el7_9
libX11-common.noarch 0:1.6.7-5.el7_9 libXau.x86_64
0:1.0.8-2.1.el7 libXext.x86_64 0:1.3.3-3.el7
libXinerama.x86_64 0:1.1.3-2.1.el7 libxcb.x86_64
0:1.13-1.el7

Complete!

6、切换到/opt/libreoffice7.1/program目录下

 cd  /opt/libreoffice7.1/program

7、执行./soffice --version

./soffice --version

8、这时会出现报错:

在这里插入图片描述
在这里插入图片描述

/opt/libreoffice7.1/program/soffice.bin: error while loading shared
libraries: libcairo.so.2: cannot open shared object file: No such file
or directory

/opt/libreoffice7.1/program/soffice.bin: error while loading shared
libraries: libSM.so.6: cannot open shared object file: No such file or
directory

解决办法:

yum install cairo -y
yum install cups-libs -y
yum install libSM -y

8、接着更新依赖

yum install -y libreoffice-headless

9、最后执行./soffice --version,发现已经安装成功!
在这里插入图片描述
在这里插入图片描述

2、安装 kkFileView

1、下载或者上传安装包

wget https://kkfileview.keking.cn/kkFileView-4.0.0.tar.gz

在这里插入图片描述

(我这里用的版本4.2.1的,也可以用4.0.0)

2、进行解压

tar -zxvf kkFileView-4.0.0.tar.gz  或者我的版本: tar -zxvf kkFileView-4.2.1.tar.gz 

在这里插入图片描述
3、把office.home改成自己安装的libreoffice7.1

vi kkFileView-4.0.0/config/application.properties

#把office.home改成自己安装的libreoffice7.1

office.home = /opt/libreoffice7.1
在这里插入图片描述

4、检查是否启动LibreOffice,启动kkfileview之前要保证LibreOffice没有启动,为了确保查出所有office进程

ps -ef|grep office
 
kill -9 {pid}

上面并没有启动LibreOffice,无需查杀.

5、进行启动:

cd   /kkFileView/kkFileView-4.2.1/bin
./startup.sh

在这里插入图片描述
6、查看启动日志

cd  /kkFileView/kkFileView-4.2.1/log
 cat kkFileView.log 

在这里插入图片描述
7、开放端口:

firewall-cmd --zone=public --add-port=8012/tcp --permanent
#重新加载防火墙
firewall-cmd --reload
#查询是否开通
firewall-cmd --query-port=8012/tcp

在这里插入图片描述

8、输入ip:8012/,进行访问,大功告成

在这里插入图片描述

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:/a/748282.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

螺栓常用的防松方法

螺栓防松原理可以分为三种:摩擦防松、机械防松和永久防松。摩擦防松与机械防松为可拆卸防松,而永久防松为不可拆卸防松。 永久防松平常接触较少,这里只简单介绍一下常用的永久防松方法有:点焊、铆接、粘合等。这些方法在拆卸时大多要破坏螺纹紧固件&…

SAP ERP公有云(全称 SAP S/4HANA Cloud Public Edition),赋能企业成为智能可持续的企业

在数字化浪潮中,每一家企业都需要应对快速的市场变化,不断追求降本增效,为创新提供资源,发展新的业务模式,安全无忧地完成关键任务系统的转型。 10年前,SAP进入云领域,用云ERP和覆盖全线业务的云…

【C++题解】1714. 输出满足条件的整数4

问题:1714. 输出满足条件的整数4 类型&#xff1a;简单循环 题目描述&#xff1a; 输出 1∼n 中含有数字 3 或者含有数字 5 &#xff0c;且因数有 2 &#xff08;即能被 2 整除&#xff09;的所有整数。&#xff08;n<1000&#xff09; 输入&#xff1a; 从键盘输入一个…

使用深度远程启动管理器配置BMC DHCP管理地址的方法

目录 1.请确保服务器BMC是DHCP状态&#xff0c;才可以使用深度工具分配地址&#xff1b;若BMC配置过静态地址&#xff0c;请使用静态地址登录&#xff1b; 2.配置好自己笔记本的 ip&#xff08;例如&#xff1a;192.168.78.1&#xff09;&#xff0c;用网线与 ipmi 独立管理口…

结构冒险,控制冒险,数据冒险实例分析

目录 1.结构冒险&#xff1a; 2.数据冒险&#xff1a; 3.控制冒险&#xff1a; 指令执行过程&#xff1a; 取指(IF)&#xff1a;从指令存储器或 Cache 中取指令。 译码/读寄存器(ID)&#xff1a;操作控制器对指令进行译码&#xff0c;同时从寄存器堆中取操作数。 执行/计算地…

获取个人免费版Ubuntu Pro

首先上官网地址&#xff1a;Ubuntu Pro | Ubuntu 点击页面中的"Get Ubuntu Pro now" 将用途选为“Myself”&#xff0c;在此页面中Ubuntu说明了该版本只面向个人开发者&#xff0c;且最终只允许5台设备免费使用&#xff1b;因而部署设备的抉择就不得不慎重考虑了&am…

39 - 安全技术与防火墙

39、安全技术和防火墙 一、安全技术 入侵检测系统&#xff1a;特点是不阻断网络访问&#xff0c;主要是提供报警和事后监督。不主动介入&#xff0c;默默看着你&#xff08;监控&#xff09;。 入侵防御系统&#xff1a;透明模式工作&#xff0c;数据包&#xff0c;网络监控…

Linux常见操作问题

1、登录刚创建的用户&#xff0c;无法操作。 注&#xff1a;etc/passwd文件是Linux操作系统中存储用户账户信息的文本文件&#xff0c;包含了系统中所有用户的基本信息&#xff0c;比如用户名、用户ID、用户组ID、用户家目录路径。 注&#xff1a;etc: 这个目录存放所有的系统…

Linux 命令:iftop

1. 写在前面 本文主要介绍 Linux iftop&#xff08;Interface TOP&#xff09; 命令&#xff1a;iftop 是一款小巧、免费且功能强大的网卡实时流量监控工具。监控指定网卡的实时流量、端口连接信息、反向解析 IP 等&#xff0c;还可以精确显示本机网络流量及网络内各主机和本机…

记录待办事项的便签软件哪个好用?

在快节奏的现代生活中&#xff0c;我们经常需要处理各种各样的待办事项&#xff0c;为了更好地管理时间&#xff0c;许多人选择使用便签软件来记录自己的待办事项。那么&#xff0c;记录待办事项的便签软件哪个好用&#xff1f;市面上众多的便签软件中&#xff0c;哪一个才是最…

HashMap第5讲——resize方法扩容源码分析及细节

put方法的源码和相关的细节已经介绍完了&#xff0c;下面我们进入扩容功能的讲解。 一、为什么需要扩容 这个也比较好理解。假设现在HashMap里的元素已经很多了&#xff0c;但是链化比较严重&#xff0c;即便树化了&#xff0c;查询效率也是O(logN)&#xff0c;肯定没有O(1)好…

Proxmox VE(PVE)上手配置指南

Proxmox VE&#xff08;PVE&#xff09;是一款开源虚拟化管理平台&#xff0c;集成了KVM和LXC技术&#xff0c;支持虚拟机和容器管理。它提供了一个基于Web的用户界面&#xff0c;支持高可用性集群、备份和恢复、实时迁移等功能&#xff0c;适用于企业级虚拟化环境。. 以下为安…

安装GroudingDINO RuntimeError: Error compiling objects for extension,如何解决?

&#x1f3c6;本文收录于「Bug调优」专栏&#xff0c;主要记录项目实战过程中的Bug之前因后果及提供真实有效的解决方案&#xff0c;希望能够助你一臂之力&#xff0c;帮你早日登顶实现财富自由&#x1f680;&#xff1b;同时&#xff0c;欢迎大家关注&&收藏&&…

VCS编译bug汇总

‘typedef’ is not expected to be used in this contex 注册前少了分号。 Scope resolution error resolution : 声明指针时 不能与类名同名&#xff0c;即 不能声明为adapter. cannot find member "type_id" 忘记注册了 拼接运算符使用 关键要加上1b&#xff0…

opencascade AIS_InteractiveContext源码学习6 management of active Selection Modes

AIS_InteractiveContext 前言 交互上下文&#xff08;Interactive Context&#xff09;允许您在一个或多个视图器中管理交互对象的图形行为和选择。类方法使这一操作非常透明。需要记住的是&#xff0c;对于已经被交互上下文识别的交互对象&#xff0c;必须使用上下文方法进行…

计算机网络期末复习(大题+小题)

计算机网络期末复习 一、计算机网络概述 Point 1 计算机网络就是以传输信息为基本目的&#xff0c;用通信线路和通信设备将多个计算机连接起来的计算机系统的集合。由自治的计算机互联起来的结合体。 Point 2 按网络的覆盖范围进行分类 &#xff08;1&#xff09;局域网*…

海富泰可直动式比例阀控制器EVRD-03C26SB-C1D24-B00

控制EVOTEK海富泰可直动式及先导式比例方向阀EVRD-03A04SA-C1D24-V00、EVRD-03C08SB-C1D24-B00、EVRD-03A16SA-C1D24-V00、EVRD-03C26SB-C1D24-B00、EVRD-05A30SA-C1D24-V00、EVRD-05C60SB-C1D24-B00、EVRD-P05A80SA-IIC1D24-B00、EVRD-P07C100SB-EEC1D24-V00、EVRD-P07A150SA-…

Appium+python自动化(二十八)- 滑呀滑,滑到奈何桥喝碗孟婆汤 - 高级滑动(超详解)

简介   奈何桥上叹奈何&#xff0c;三生石前憾三生&#xff0c;彼岸花下非彼岸&#xff0c;奈何三生彼岸人。 相传过了鬼门关便上一条路叫黄泉路&#xff0c;路上盛开着只见花&#xff0c;不见叶的彼岸花。花叶生生两不见&#xff0c;相念相惜永相失&#xff0c;路尽头有一条…

JAVA医院绩效考核系统源码:绩效考核的重要性、绩效管理分配实践具体实操,基于B/S架构开发的一套(公立医院绩效考核系统源码)

JAVA医院绩效考核系统源码&#xff1a;绩效考核的重要性、绩效管理分配实践具体实操&#xff0c;基于B/S架构开发的一套&#xff08;公立医院绩效考核系统源码&#xff09; 系统开发环境 开发语言&#xff1a;java 技术架构&#xff1a;B/S架构 开发工具&#xff1a;maven、…

LeetCode 算法:验证二叉搜索树 c++

原题链接&#x1f517;&#xff1a;验证二叉搜索树 难度&#xff1a;中等⭐️⭐️ 题目 给你一个二叉树的根节点 root &#xff0c;判断其是否是一个有效的二叉搜索树。 有效 二叉搜索树定义如下&#xff1a; 节点的左 子树 只包含 小于 当前节点的数。节点的右子树只包含 大于…