Difference between revisions of "ODF@WWW"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (OpenSolaris 200805)
m (Ubuntu 8.04.1)
Line 59: Line 59:
  
 
# Install the JODConverter.
 
# Install the JODConverter.
> cd /usr/lib/cgi-bin
+
> cd /opt/odf-at-www/cgi-bin
 
> wget http://mesh.dl.sourceforge.net/sourceforge/jodconverter/jodconverter-2.2.1.zip
 
> wget http://mesh.dl.sourceforge.net/sourceforge/jodconverter/jodconverter-2.2.1.zip
 
> unzip jodconverter-2.2.1.zip
 
> unzip jodconverter-2.2.1.zip
Line 66: Line 66:
 
# Some rights and directories.
 
# Some rights and directories.
 
> mkdir /var/apache2
 
> mkdir /var/apache2
> chown -R www-data:www-data /var/www /var/apache2
+
> chown -R www-data:www-data /var/odf-at-www
> rm /var/www/index.html
+
  
 
# Finally get it running.
 
# Finally get it running.

Revision as of 14:30, 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
> svccfg import /var/svc/manifest/network/http-apache22.xml
> svcadm enable network/http:apache22

# 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 /opt/odf-at-www/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/odf-at-www

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