Instale openoffice en el sistema Centos en el sistema Linux y Ubuntu (Ubantu) y resuelva los caracteres confusos chinos

Primero verifique si Centos o ubuntu es linux

执行lsb_release -a 命令存在表示为ubuntu系统
cat /etc/redhat-release 文件存在为centos

1. Instalar openoffice

Descarga del sitio web oficial http://www.openoffice.org/zh-cn/download/

El siguiente es el sistema centos:

2. Descomprima e ingrese a la carpeta:

tar -xzvf Apache_OpenOffice_4.1.1_Linux_x86_install-rpm_zh-CN.tar.gz

cd /zh-cn/RPMS
yum localinstall *.rpm
cd desktop-integration
rpm -ivh openoffice4.1.5-redhat-menus-4.1.5-9789.noarch.rpm
3.启动(cd到目录/opt/openoffice4/program/下执行以下命令)

/opt/openoffice4/program/soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard  临时启动
nohup /opt/openoffice4/program/soffice -headless -accept="socket,ho

Supongo que te gusta

Origin blog.csdn.net/weixin_47385625/article/details/114268585
Recomendado
Clasificación