后台启动命令:
nohup /opt/openoffice4/program/soffice -headless -accept="socket,host=127.0.0.1,port=8301;urp;" -nofirststartwizard &
1 openoffice在centos启动时报以下错误:
/opt/openoffice4/program/soffice.bin: error while loading shared libraries: libXext.so.6: cannot open shared object file: No such file or directory
解决(下载缺少的依赖):
yum install libXext.x86_64
2. 启动报以下错误
no suitable windowing system found, exiting.
解决:
yum groupinstall "X Window System"
————————————————
版权声明:本文为CSDN博主「提笔忘字的帝国」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_38238956/article/details/127745772
如何解决centos中openoffice 乱码?
1.查看linux系统的字体存放位置:cat /etc/fonts/fonts.conf
2.将字体上传到/usr/share/fonts中。simhei.ttf 黑体、simsun.ttc 宋体(在windows系统的C:\Windows\Fonts中寻找)
3.执行以下命令:
mkfontscale #生成fonts.scale文件 (如果提示-bash: mkfontscale: command not found 需要安装:yum install mkfontscale)
mkfontdir #生成fonts.dir文件
fc-cache
4.重启openoffice
openoffice 中文乱码和启动报错解决
最新推荐文章于 2024-07-30 20:50:32 发布