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 officekill -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/,进行访问,大功告成

在这里插入图片描述

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

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

昇思MindSpore学习总结二——张量

1、张量 张量tensor表示的是一个多维的矩阵,比如零维就是一个点,一维就是向量,二维就是一般的矩阵,多维就相当于一个多维的数组,这和numpy是对应的,而且PyTorch的Tensor和numpy的ndarray可以相互转换&#…

Python | Leetcode Python题解之第200题岛屿数量

题目&#xff1a; 题解&#xff1a; class Solution:def dfs(self, grid, r, c):grid[r][c] 0nr, nc len(grid), len(grid[0])for x, y in [(r - 1, c), (r 1, c), (r, c - 1), (r, c 1)]:if 0 < x < nr and 0 < y < nc and grid[x][y] "1":self.d…

【论文速读】|MEDFUZZ:探索大语言模型在医学问题回答中的鲁棒性

本次分享论文&#xff1a;MEDFUZZ: EXPLORING THE ROBUSTNESS OF LARGE LANGUAGE MODELS IN MEDICAL QUESTION ANSWERING 基本信息 原文作者&#xff1a;Robert Osazuwa Ness, Katie Matton, Hayden Helm, Sheng Zhang, Junaid Bajwa, Carey E. Priebe, Eric Horvitz 作者单…

Lua博客网站支持搜索、评论、登录注册

该简易博客示例用于学习网站的基础知识与MySQL数据库。 简述&#xff1a;开源Lua网站开发服务(FastWeb)支持&#xff1a;注册、登录、文章分页、评论分页、简易权限管理和搜索功能。发帖功能支持Markdown(支持记忆功能)图示&#xff1a;

Java之线程相关应用实现

后台线程 一个进程中只有后台进程运行&#xff0c;该进程将会结束。 新创建的线程默认为前台线程&#xff0c;Java中只要有一个前台线程运行&#xff0c;就不会结束程序&#xff0c;如果只有后台线程运行&#xff0c;程序就会结束&#xff0c;可以在线程对象启动前执行setDae…

【js + ckeditor】插入base64格式的图片

一、需求说明 直接把图片转成base64插入到富文本 二、需求分析 1、富文本图片格式处理位置 在ckeidtor的目录下有个plugins文件夹&#xff0c;在plugins下新建一个文件夹&#xff08;自己命名&#xff0c;如simpleupload&#xff09;&#xff0c;进入simpleupload文件夹&…

微服务和kafka

一、微服务简介 1.单体架构 分布式--微服务--云原生 传统架构&#xff08;单机系统&#xff09;&#xff0c;一个项目一个工程&#xff1a;比如商品、订单、支付、库存、登录、注册等等&#xff0c;统一部署&#xff0c;一个进程 all in one的架构方式&#xff0c;把所有的…

深入探讨C++的高级反射机制(2):写个能用的反射库

在现代软件开发中&#xff0c;反射是一种强大的特性&#xff0c;它可以支持程序在运行时查询和调用对象的属性和方法。 但是在C中&#xff0c;没有内置的反射机制。我们可以通过一些巧妙的技术模拟反射的部分功能。 上一篇文章写了个简单的反射功能&#xff0c;这回完善一下&a…

3.PyQt6常用基本控件

目录 常用控件 1.文本类控件 1.QLable标签控件 1.设置标签文本 2.设置标签文本和对齐方式 3.换行显示 4.添加超链接 5.为标签设置图片 6.获取标签文本 2.QLineEdit单行文本控件 3.QTextEdit多行富文本控件 4.QPlainTextEdit纯文本控件 5.QSpinBox整数数字选择控件 …

开发板以电脑为跳板连接互联网

标题 开发板以电脑为跳板连接互联网网络共享方式桥接方式 开发板以电脑为跳板连接互联网 分享下用网线直连电脑的开发板如何以电脑为跳板连接互联网的两个方法。 网络共享方式桥接方式 补充下&#xff0c;我的电脑连接的是无线网络&#xff0c;开发板和电脑是用网线进行连接的…

Python 高级编程:文件操作与错误处理

在前几篇文章中&#xff0c;我们介绍了Python的基本语法、函数和模块以及面向对象编程。这些知识对于大部分日常编程问题已经足够&#xff0c;但对于需要分析大数据的人来说&#xff0c;这些还不够。本章将介绍Python的文件操作以及错误处理与调试。 目录 文件操作读文件写文…

C语言单链表的算法之插入节点

一&#xff1a;访问各个节点中的数据 &#xff08;1&#xff09;访问链表中的各个节点的有效数据&#xff0c;这个访问必须注意不能使用p、p1、p2&#xff0c;而只能使用phead &#xff08;2&#xff09;只能用头指针不能用各个节点自己的指针。因为在实际当中我们保存链表的时…

【嵌入式Linux】i.MX6ULL GPIO 中断服务函数注册与编写

文章目录 1 外部中断初始化与中断服务函数1.2 外部中断初始化函数 exti_init1.2.1 GPIO引脚配置1.2.2 中断使能与注册1.2.3 GIC_EnableIRQ()函数的分析 1.3 中断服务函数 gpio1_io20_irqhandler1.3.1 消抖处理1.3.2 中断事件处理1.3.3 清除中断标志 2 BUG处理2.1 问题描述2.2 解…

网易Filmly网盘影片播放器安卓TV版

我们在观看网盘内的影视时&#xff0c;想要高清/原画质观看视频&#xff0c;甚至倍速功能往往都需要开通网盘会员才可以&#xff0c;否则你只能使用”马赛克”画质观看。 最近网易上线了一款播放器&#xff1a;Filmly &#xff0c;它支持直连网盘影视资源&#xff0c;可以高速…

深入理解计算机系统 CSAPP 家庭作业7.12

A:refptr (unsigned)(ADDR(r.symbol) r.addend - refaddr) 0x4004f8 (-4) - 0x4004ea 0xa B:refaddr 0x4004d0 0xa 0x4004da refptr 0x400500 (-4) - 0x4004da 0x22 ​​​​​​​

Python24 机器学习之决策树

1.什么是机器学习&#xff1f; 机器学习是人工智能&#xff08;AI&#xff09;的一个分支&#xff0c;它使计算机系统能够从经验中学习并根据这些学习的数据做出决策或预测&#xff0c;而无需进行明确的编程。简而言之&#xff0c;机器学习涉及算法和统计模型的使用&#xff0…

Hugo Barra对Apple Vision Pro 硬件和软件的详细评述

原文&#xff1a;hugo.blog/2024/03/11/vision-pro 这篇文章的作者是Hugo Barra。Hugo Barra曾是Meta公司&#xff08;前身为Facebook&#xff09;旗下Oculus VR/AR团队的负责人。他在2017年至2020年期间领导了Oculus的团队&#xff0c;参与了多个VR头显的开发和发布。Hugo Bar…

使用提示词调教AI

“AI 是我们的数字员工&#xff0c;了解员工的秉性 &#xff0c; 从调教提示词开始。” 网上流传最广的提示词方法论&#xff0c;是“你需要给大模型一个角色”。这确实是一个好的策略&#xff0c;因为小学老师&#xff0c;大学老师这样的角色&#xff0c;预设很多背景信息。这…

【数学建模】 函数极值与规划模型

文章目录 函数极值与规划模型1. 线性代数和线性规划的联系1.1 线性代数的基本概念1.2 线性规划的基本概念1.3 线性代数与线性规划的联系矩阵和向量线性方程组单纯形法内点法凸优化 1.4 例子 2. Numpy有关矩阵运算示例2.1 矩阵的创建2.2 矩阵的基本运算2.3 矩阵的合并2.4 矩阵的…

Linux系统之nice命令的基本使用

Linux系统之nice命令的基本使用 一、nice命令介绍1.1 nice命令简介1.2 进程优先级介绍 二、nice命令基本语法2.1 nice命令的help帮助信息2.2 nice命令选项解释 三、nice命令的基本使用3.1 查看进程优先级3.2 使用nice启动进程3.3 提高优先级 四、注意事项 一、nice命令介绍 1.…