Difference between revisions of "ODF@WWW"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (OpenSolaris 200805)
m
Line 9: Line 9:
  
 
<pre>
 
<pre>
gzcat odf-at-www.tgz | tar -xvf -
+
# Allow X connect from the localhost.
 +
> xhost + localhost
 +
 
 +
# Become root ...
 +
> sudo -i
 +
 
 +
# 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.
 +
> 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
 
</pre>
 
</pre>
  
Line 21: Line 49:
 
> sudo -i
 
> sudo -i
  
# Install Apache, OpenJDK and an Emacs :-)
+
# Install Apache, OpenJDK.
> apt-get install apache2 openjdk-6-jre-headless emacs
+
> apt-get install apache2 openjdk-6-jre-headless
  
 
# Get odf-at-www installed.
 
# Get odf-at-www installed.

Revision as of 08:32, 21 July 2008

Blogs

An ODF Wiki

Installation Instructions

OpenSolaris 200805

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

# Become root ...
> sudo -i

# 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.
> 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

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