how to download and install OpenOffice 3.1 in headless mode on my CentOS server...I am working with a java app that needs OpenOffice as just a service for form generation....I am having a difficult time...any head on what steps to take would be great...
Asked
Active
Viewed 7,364 times
3 Answers
2
yum install openoffice.org-<package>
Examples:
yum install openoffice.org-base
yum install openoffice.org-calc
yum install openoffice.org-writer
Massimo
- 72,827
1
yum install openoffice.org-base
yum install openoffice.org-calc
yum install openoffice.org-writer
yum install openoffice.org-headless
You also need the last command to be able to run in headless mode. Otherwise you'll be getting:
/usr/lib64/openoffice.org3/program/soffice.bin X11 error: Can't open display:
Set DISPLAY environment variable, use -display option
or check permissions of your X-Server
(See "man X" resp. "man xhost" for details)
cherouvim
- 904