Difference between revisions of "ODF@WWW"

From Apache OpenOffice Wiki
Jump to: navigation, search
m
m (OpenSolaris 200805)
Line 13: Line 13:
  
 
# Become root ...
 
# Become root ...
> sudo -i
+
> su -
  
 
# Install OpenOffice.org suite, Apache and GNU make.
 
# Install OpenOffice.org suite, Apache and GNU make.
Line 30: Line 30:
  
 
# Some rights and directories.
 
# Some rights and directories.
> mkdir /var/apache2
 
 
> chown -R www-data:www-data /var/www /var/apache2
 
> chown -R www-data:www-data /var/www /var/apache2
 
> rm /var/www/index.html
 
> rm /var/www/index.html

Revision as of 08:58, 21 July 2008

Blogs

An ODF Wiki

Installation Instructions

OpenSolaris 200805

# Allow X connect from the localhost.
> xhost + localhost

# Become root ...
> su -

# Install OpenOffice.org suite, Apache and GNU make.
> pkg install openoffice SUNWapch22 SUNWgmake

# Get odf-at-www installed.
> cd /
> wget http://mediacast.sun.com/users/Kay.Ramme/media/odf-at-www.tgz
> gzcat odf-at-www.tgz | tar -xvf -

# Install the JODConverter.
> cd /usr/lib/cgi-bin
> wget http://mesh.dl.sourceforge.net/sourceforge/jodconverter/jodconverter-2.2.1.zip
> unzip jodconverter-2.2.1.zip
> cd /

# Some rights and directories.
> chown -R www-data:www-data /var/www /var/apache2
> rm /var/www/index.html

# Finally get it running.
> export SAL_USE_VCLPLUGIN=gen
> export DISPLAY=:0
> soffice -accept="socket,port=8100;urp;"
> apache2ctl restart

Ubuntu 8.04.1

# Allow X connect from the localhost.
> xhost + localhost

# Become root ...
> sudo -i

# Install Apache, OpenJDK.
> apt-get install apache2 openjdk-6-jre-headless

# Get odf-at-www installed.
> cd /
> wget http://mediacast.sun.com/users/Kay.Ramme/media/odf-at-www.tgz
> tar -xvzf odf-at-www.tgz

# Install the JODConverter.
> cd /usr/lib/cgi-bin
> wget http://mesh.dl.sourceforge.net/sourceforge/jodconverter/jodconverter-2.2.1.zip
> unzip jodconverter-2.2.1.zip
> cd /

# Some rights and directories.
> mkdir /var/apache2
> chown -R www-data:www-data /var/www /var/apache2
> rm /var/www/index.html

# Finally get it running.
> export SAL_USE_VCLPLUGIN=gen
> export DISPLAY=:0
> soffice -accept="socket,port=8100;urp;"
> apache2ctl restart
Personal tools