Thread: [ServOO-users] servooserver installation
Status: Beta
Brought to you by:
glodel
From: felipe _ <fel...@ho...> - 2005-06-29 15:37:03
|
<html><div style='background-color:'><DIV class=RTE> <P>Hi,</P> <P>I had a lot of work to do so i let in stand by the installation of servooserver.</P> <P>Now i'm trying to install it, but i have a problem. I can't log on the administration of servoo.</P> <P>I tried to create an account via the DB, but i can't log on with this account to.</P> <P>Here is what i do and the configuration i have. something might be wrong in the config.php file?</P> <P>Thanks for give me a hand.</P> <P lang=en-GB><BR><BR></P> <H1 class=western lang=en-GB>Requirements</H1> <UL> <LI> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">PHP 4.3.x or higher. Not tested with PHP 5.</P> <LI> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">MySQL 3.23, 4.x or higher.</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT size=4>I have xampp installed with php4.3 and MySQL 4.</FONT></FONT></P> <LI> <P style="MARGIN-BOTTOM: 0cm"><SPAN lang=en-GB>Java run-time machine. Tested with J2SE© Sun and JRE for Linux (</SPAN>blackdown.org<SPAN lang=en-GB>)</SPAN></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=4><B>j2sdk1.4.1_08</B></FONT></FONT></FONT></P> <LI> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">OpenOffice.org 1.1.1 or higher.</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT size=4>Oo 1.1.4</FONT></FONT></P> <LI> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">PEAR package: SOAP and its dependencies.</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT size=4>Ok, the package is in servooserver\servoo\include</FONT></FONT></P> <LI> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">Web server. Tested with Apache.</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT size=4>Apache (with xampp)</FONT></FONT></P></LI></UL> <H1 class=western lang=en-GB>Installation</H1> <H2 class=western lang=en-GB>Download</H2> <P style="MARGIN-BOTTOM: 0cm"><SPAN lang=en-GB>The ServOO archive is named servooserver-x.x.tar.gz and is available from </SPAN><A href="http://sourceforge.net/project/showfiles.php?group_id=113878"><SPAN lang=en-GB>Servoo project page</SPAN></A><SPAN lang=en-GB> on SourceForge.net. Download the latest version.</SPAN></P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT size=4>Ok</FONT></FONT></P> <H2 class=western lang=en-GB>Extract the sources</H2> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">Decompress and detar the archive in a temporary directory. Move or copy the servooserver/servoo directory into your web document root (with Mandrake distro it is /var/www/html).</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">tar zxf servooserver-0.0.1.tar.gz</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">cp -r servooserver/servoo /var/www/html</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT size=4>Ok, i have copied all the rpertory servooserver on my web document root</FONT></FONT></P> <H2 class=western>Install java, OpenOffice.org and PEAR/SOAP</H2> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">Download and install a java machine, OpenOffice.org and PEAR/SOAP on the web server.</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">Suggested url for downloading these packages:</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm"><A href="http://java.sun.com/j2se/1.4.2/download.html">http://java.sun.com/j2se/1.4.2/download.html</A></P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm"><A href="http://blackdown.org/">http://blackdown.org</A></P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm"><A href="http://www.openoffice.org/">http://www.openoffice.org/</A></P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm"><A href="http://pear.php.net/package/SOAP">http://pear.php.net/package/SOAP</A></P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">Start the OpenOffice.org program and go to Tools/Options. Look for the Openoffice/Security entry. Select Run macro: Never and disable pluggins and applets. Note that these settings may be insufficient to ensure security. The PEAR packages must be installed in a directory listed in the PHP include_path or installed locally in the servoo/include directory.</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT size=4>ok</FONT></FONT></P> <H2 class=western lang=en-GB>Initialise the database</H2> <P style="MARGIN-BOTTOM: 0cm">Create a new MySQL database named servoodb for instance. As root or as another authorized user:</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">mysqladmin create servoodb</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">Create the tables</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">mysql servoodb <servoo/include/init.sql</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">Create MySQL user for the servoodb database and grant some privileges:</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">GRANT usage ON *.* TO servoouser@localhost IDENTIFIED BY 'chooseapasswd'</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">GRANT all ON servoodb.* TO servoouser@localhost</P> <H2 class=western><FONT color=#800000><SPAN style="FONT-STYLE: normal"><SPAN lang=en-GB>UI created a DB servoodb wich contains 4 table admins, log</SPAN></SPAN>, session, user »</FONT></H2> <H2 class=western lang=en-GB>Configure ServOO</H2> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">Copy the servoo/config-dist.php file into servoo/config.php and edit it:</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">cd /var/www/html/servoo/</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">cp config-dist.php config.php</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">vi config.php</P> <P style="MARGIN-BOTTOM: 0cm">Fill the variables DATABASE, DBUSERNAME, DBPASSWD, DBHOST , <SPAN lang=en-GB>JAVACMD, OOCLASSESPATH, OOFILEMASK and OOTMPDIR </SPAN>accordingly to your settings. </P> <P style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT size=4>My config.php file</FONT></FONT></P> <P style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># perturbate the password encoding.</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>define ("PASSWDSEED","");</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># Database name</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>define("DATABASE","");</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># Database username</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>define("DBUSERNAME","");</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># Database user's password</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>define("DBPASSWD","");</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># Database server hostname or ip</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>define("DBHOST","localhost");</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># Table prefix</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>define("TP","");</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># Webmaster email address to receive subscription information</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>define("WEBMASTER","");</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># JAVA command</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>define("JAVACMD","/usr/java/j2sdk1.4.1_02/bin/java");</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># working directory for OpenOffice.org</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>define("OOTMPDIR","/tmp");</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># mask mode for file exchange between the web server and OOo.</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>define("OOFILEMASK",0777);</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># directory to the OpenOffice JAVA classes.</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>define("OOCLASSESPATH","/usr/local/OpenOffice.org1.1.0/program/classes");</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># timeout for the OO converter.</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>define("EXEC_TIMEOUT",30);</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># log file when the documentconverter fail</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>define("EXEC_LOGFILE","/var/servoo/log");</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># version d'OpenOffice</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>define("OPENOFFICEVERSION","1.1");</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># message renvoie</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>define ("MESSAGEVERSION","Visit http://www.servoo.net");</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># host surlequel est le serveur OpenOffice</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>define("OOHOST","localhost");</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># port du serveur OpenOffice sur le host</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>define("OOPORT","9303");</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># chemin relatif pour le repertoire d'include</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>define("TOINCLUDE","include/");</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># URL contenant les fichiers communs partagés</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># par exemple $shareurl="http://lodel.revues.org/share";</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># la version sera ajoutee sur le dernier repertoire, donc la chaine ne doit pas se terminer par /</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>$shareurl="/share";</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># Nom de la session (cookie)</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>define("SESSIONNAME","sessionservoo");</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># Timeout pour les sessions</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2># en seconde</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>define("LOGINTIMEOUT",120*60);</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>ini_set("log_errors","1");</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>ini_set("display_errors","0");</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>ini_set("error_log","/tmp/servoo.err");</FONT></FONT></FONT></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=fr-FR style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT face="Courier New"><FONT size=2>?></FONT></FONT></FONT></P> <P style="MARGIN-BOTTOM: 0cm"><BR></P> <P style="MARGIN-BOTTOM: 0cm"><BR></P> <P style="MARGIN-BOTTOM: 0cm"><BR></P> <P style="MARGIN-BOTTOM: 0cm"><BR></P> <P style="MARGIN-BOTTOM: 0cm"><BR></P> <P style="MARGIN-BOTTOM: 0cm">Give <SPAN lang=en-GB>write access for the web server user (nobody, apache, or...) to servoo/CACHE and servoo/admin/CACHE directories:</SPAN></P> <P style="MARGIN-BOTTOM: 0cm">chmod 770 servoo/CACHE servoo/admin/CACHE</P> <P style="MARGIN-BOTTOM: 0cm">or</P> <P style="MARGIN-BOTTOM: 0cm">chmod 777 servoo/CACHE servoo/admin/CACHE</P> <P style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT size=4>Under windows, i allow write access</FONT></FONT></P> <P style="MARGIN-BOTTOM: 0cm"><BR></P> <P style="MARGIN-BOTTOM: 0cm">Opening write access may be a security issue. It is recommended to use sudo module for Apache or PHP as a CGI with correct group/users settings. For testing purpose, restrict web server access and use a firewall.</P> <P style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT size=4>???</FONT></FONT></P> <H2 class=western>Testing</H2> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">Test the configuration by creating a proper administrator.</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">A temporary administrator has been automatically created during the MySQL tables creation. Log on http://localhost/servoo/admin/ with username: <I>admintmp</I> and password: <I>admintmp</I>. Enter ServOO Administrator, create your administrator account and <U>delete the admintmp administrator</U>. Create also a first ServOO user, remember the login/password for setting in your web apps.</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm"><FONT color=#800000><FONT size=4>Problem, i can't log on the administration </FONT></FONT></P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">To use Servoo, launch OpenOffice.org in server mode:</P> <P style="MARGIN-BOTTOM: 0cm">soffice -accept="socket,host=localhost,port=9303;urp;StarOffice.ServiceManager"</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">Or use the servooserver/tools/startoo script.</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm">When i run this script i have:</P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm"><BR></P><PRE lang=en-GB><FONT color=#800000># Script for lauching OpenOffice.org in a development context only.</FONT> <FONT color=#800000># See the servoo script for use in operational context.</FONT> <FONT color=#800000>soffice -accept="socket,host=localhost,port=9303;urp;StarOffice.ServiceManager"</FONT></PRE> <P lang=en-GB style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm"><BR></P> <H1 class=western><BR><BR></H1> <P style="MARGIN-BOTTOM: 0cm" align=center><BR></P> <H2 class=western lang=en-GB><BR><BR></H2> <P lang=en-GB style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm"><BR></P> <P lang=en-GB style="MARGIN-BOTTOM: 0cm"><BR></P></DIV></div><br clear=all><hr>250 Mo de stockage <a href="http://g.msn.com/8HMAFRFR/2740??PS=47575" target="_top">avec MSN Hotmail !</a> </html> |
From: Luc S. <luc...@lo...> - 2005-06-30 01:08:19
|
Hi, felipe _ a écrit : > > > Hi, > > I had a lot of work to do so i let in stand by the installation of > servooserver. > > Now i'm trying to install it, but i have a problem. I can't log on the > administration of servoo. > > I tried to create an account via the DB, but i can't log on with this > account to. > > Here is what i do and the configuration i have. something might be wrong > in the config.php file? > > Thanks for give me a hand. > > > > Requirements > > * > > PHP 4.3.x or higher. Not tested with PHP 5. > > * > > MySQL 3.23, 4.x or higher. > > I have xampp installed with php4.3 and MySQL 4. I'm not sure the servooserver works with xampp... we haven't made any test with this platform. > > * > > Java run-time machine. Tested with J2SE© Sun and JRE for Linux > (blackdown.org) > > *j2sdk1.4.1_08* we're using j2sdk1.4.1_02.. > > * > > OpenOffice.org 1.1.1 or higher. > > Oo 1.1.4 > > * > > PEAR package: SOAP and its dependencies. > > Ok, the package is in servooserver\servoo\include > > * > > Web server. Tested with Apache. > > Apache (with xampp) > > > Installation > > > Download > > The ServOO archive is named servooserver-x.x.tar.gz and is available > from Servoo project page > <http://sourceforge.net/project/showfiles.php?group_id=113878> on > SourceForge.net. Download the latest version. > > Ok > > > Extract the sources > > Decompress and detar the archive in a temporary directory. Move or copy > the servooserver/servoo directory into your web document root (with > Mandrake distro it is /var/www/html). > > tar zxf servooserver-0.0.1.tar.gz > > cp -r servooserver/servoo /var/www/html > > Ok, i have copied all the rpertory servooserver on my web document root > > > Install java, OpenOffice.org and PEAR/SOAP > > Download and install a java machine, OpenOffice.org and PEAR/SOAP on the > web server. > > Suggested url for downloading these packages: > > http://java.sun.com/j2se/1.4.2/download.html > > http://blackdown.org <http://blackdown.org/> > > http://www.openoffice.org/ > > http://pear.php.net/package/SOAP > > > Start the OpenOffice.org program and go to Tools/Options. Look for the > Openoffice/Security entry. Select “Run macro: Never” and disable > “pluggins” and “applets”. Note that these settings may be insufficient > to ensure security. The PEAR packages must be installed in a directory > listed in the PHP include_path or installed “locally” in the > servoo/include directory. > > ok > > > Initialise the database > > Create a new MySQL database named servoodb for instance. As root or as > another authorized user: > > mysqladmin create servoodb > > Create the tables > > mysql servoodb <servoo/include/init.sql > > Create MySQL user for the servoodb database and grant some privileges: > > GRANT usage ON *.* TO servoouser@localhost IDENTIFIED BY 'chooseapasswd' > > GRANT all ON servoodb.* TO servoouser@localhost > > > UI created a DB servoodb wich contains 4 table “admins, log, > session, user » > > > Configure ServOO > > Copy the servoo/config-dist.php file into servoo/config.php and edit it: > > cd /var/www/html/servoo/ > > cp config-dist.php config.php > > vi config.php > > Fill the variables DATABASE, DBUSERNAME, DBPASSWD, DBHOST , JAVACMD, > OOCLASSESPATH, OOFILEMASK and OOTMPDIR accordingly to your settings. > > My config.php file > > > # perturbate the password encoding. > > define ("PASSWDSEED",""); > > > # Database name > > define("DATABASE",""); > > > # Database username > > define("DBUSERNAME",""); > > # Database user's password > > define("DBPASSWD",""); > > # Database server hostname or ip > > define("DBHOST","localhost"); > > > # Table prefix > > define("TP",""); > > > # Webmaster email address to receive subscription information > > define("WEBMASTER",""); > > > # JAVA command > > define("JAVACMD","/usr/java/j2sdk1.4.1_02/bin/java"); > > > # working directory for OpenOffice.org > > define("OOTMPDIR","/tmp"); > > # mask mode for file exchange between the web server and OOo. > > define("OOFILEMASK",0777); > > > # directory to the OpenOffice JAVA classes. > > define("OOCLASSESPATH","/usr/local/OpenOffice.org1.1.0/program/classes"); > > > # timeout for the OO converter. > > define("EXEC_TIMEOUT",30); > > > # log file when the documentconverter fail > > define("EXEC_LOGFILE","/var/servoo/log"); > > > # version d'OpenOffice > > define("OPENOFFICEVERSION","1.1"); > > > # message renvoie > > define ("MESSAGEVERSION","Visit http://www.servoo.net"); > > > # host surlequel est le serveur OpenOffice > > define("OOHOST","localhost"); > > > # port du serveur OpenOffice sur le host > > define("OOPORT","9303"); > > > # chemin relatif pour le repertoire d'include > > define("TOINCLUDE","include/"); > > > # URL contenant les fichiers communs partagés > > # par exemple $shareurl="http://lodel.revues.org/share"; > > # la version sera ajoutee sur le dernier repertoire, donc la chaine ne > doit pas se terminer par / > > $shareurl="/share"; > > > > # Nom de la session (cookie) > > define("SESSIONNAME","sessionservoo"); > > > # Timeout pour les sessions > > # en seconde > > define("LOGINTIMEOUT",120*60); > > > > ini_set("log_errors","1"); > > ini_set("display_errors","0"); > > ini_set("error_log","/tmp/servoo.err"); > > > > ?> > > > > > > > Give write access for the web server user (nobody, apache, or...) to > servoo/CACHE and servoo/admin/CACHE directories: > > chmod 770 servoo/CACHE servoo/admin/CACHE > > or > > chmod 777 servoo/CACHE servoo/admin/CACHE > > Under windows, i allow write access > > > Opening write access may be a security issue. It is recommended to use > sudo module for Apache or PHP as a CGI with correct group/users > settings. For testing purpose, restrict web server access and use a > firewall. > > ??? > > > Testing > > Test the configuration by creating a proper administrator. > > A temporary administrator has been automatically created during the > MySQL tables creation. Log on http://localhost/servoo/admin/ with > username: /admintmp/ and password: /admintmp/. Enter “ServOO > Administrator”, create your administrator account and _delete the > admintmp administrator_. Create also a first ServOO user, remember the > login/password for setting in your web apps. > > Problem, i can't log on the administration can you check in your database (tables "users") that you have a user defined what you can do, just for test purpose, is modify the code to accept anybody connecting to the admin interface > To use Servoo, launch OpenOffice.org in server mode: > > soffice > -accept="socket,host=localhost,port=9303;urp;StarOffice.ServiceManager" > > Or use the servooserver/tools/startoo script. > > When i run this script i have: > > > # Script for lauching OpenOffice.org in a development context only. > # See the servoo script for use in operational context. > > soffice -accept="socket,host=localhost,port=9303;urp;StarOffice.ServiceManager" maybe your only problem, is the use of servooserver on a Windows system. ok, it is not written on the requirements, but, we should add this info. Luc |
From: Ghislain <ghi...@lo...> - 2005-06-30 07:04:47
|
Why haven't you filled the DATABASE, DBUSERNAME and DBPASSWD constant= in=20 your config.php ? Ghislain felipe _ wrote: > =20 >=20 > Hi, >=20 > I had a lot of work to do so i let in stand by the installation of= =20 > servooserver. >=20 > Now i'm trying to install it, but i have a problem. I can't log on = the=20 > administration of servoo. >=20 > I tried to create an account via the DB, but i can't log on with th= is=20 > account to. >=20 > Here is what i do and the configuration i have. something might be = wrong=20 > in the config.php file? >=20 > Thanks for give me a hand. >=20 >=20 >=20 > Requirements >=20 > * >=20 > PHP 4.3.x or higher. Not tested with PHP 5. >=20 > * >=20 > MySQL 3.23, 4.x or higher. >=20 > I have xampp installed with php4.3 and MySQL 4. >=20 > * >=20 > Java run-time machine. Tested with J2SE=A9 Sun and JRE for Li= nux > (blackdown.org) >=20 > *j2sdk1.4.1_08* >=20 > * >=20 > OpenOffice.org 1.1.1 or higher. >=20 > Oo 1.1.4 >=20 > * >=20 > PEAR package: SOAP and its dependencies. >=20 > Ok, the package is in servooserver\servoo\include >=20 > * >=20 > Web server. Tested with Apache. >=20 > Apache (with xampp) >=20 >=20 > Installation >=20 >=20 > Download >=20 > The ServOO archive is named servooserver-x.x.tar.gz and is availabl= e=20 > from Servoo project page=20 > <http://sourceforge.net/project/showfiles.php?group_id=3D113878> on= =20 > SourceForge.net. Download the latest version. >=20 > Ok >=20 >=20 > Extract the sources >=20 > Decompress and detar the archive in a temporary directory. Move or = copy=20 > the servooserver/servoo directory into your web document root (with= =20 > Mandrake distro it is /var/www/html). >=20 > tar zxf servooserver-0.0.1.tar.gz >=20 > cp -r servooserver/servoo /var/www/html >=20 > Ok, i have copied all the rpertory servooserver on my web document = root >=20 >=20 > Install java, OpenOffice.org and PEAR/SOAP >=20 > Download and install a java machine, OpenOffice.org and PEAR/SOAP o= n the=20 > web server. >=20 > Suggested url for downloading these packages: >=20 > http://java.sun.com/j2se/1.4.2/download.html >=20 > http://blackdown.org <http://blackdown.org/> >=20 > http://www.openoffice.org/ >=20 > http://pear.php.net/package/SOAP >=20 >=20 > Start the OpenOffice.org program and go to Tools/Options. Look for = the=20 > Openoffice/Security entry. Select =93Run macro: Never=94 and disabl= e=20 > =93pluggins=94 and =93applets=94. Note that these settings may be i= nsufficient=20 > to ensure security. The PEAR packages must be installed in a direct= ory=20 > listed in the PHP include_path or installed =93locally=94 in the= =20 > servoo/include directory. >=20 > ok >=20 >=20 > Initialise the database >=20 > Create a new MySQL database named servoodb for instance. As root or= as=20 > another authorized user: >=20 > mysqladmin create servoodb >=20 > Create the tables >=20 > mysql servoodb <servoo/include/init.sql >=20 > Create MySQL user for the servoodb database and grant some privileg= es: >=20 > GRANT usage ON *.* TO servoouser@localhost IDENTIFIED BY 'chooseapa= sswd' >=20 > GRANT all ON servoodb.* TO servoouser@localhost >=20 >=20 > UI created a DB servoodb wich contains 4 table =93admins, log, > session, user =BB >=20 >=20 > Configure ServOO >=20 > Copy the servoo/config-dist.php file into servoo/config.php and edi= t it: >=20 > cd /var/www/html/servoo/ >=20 > cp config-dist.php config.php >=20 > vi config.php >=20 > Fill the variables DATABASE, DBUSERNAME, DBPASSWD, DBHOST , JAVACMD= ,=20 > OOCLASSESPATH, OOFILEMASK and OOTMPDIR accordingly to your settings= . >=20 > My config.php file >=20 >=20 > # perturbate the password encoding. >=20 > define ("PASSWDSEED",""); >=20 >=20 > # Database name >=20 > define("DATABASE",""); >=20 >=20 > # Database username >=20 > define("DBUSERNAME",""); >=20 > # Database user's password >=20 > define("DBPASSWD",""); >=20 > # Database server hostname or ip >=20 > define("DBHOST","localhost"); >=20 >=20 > # Table prefix >=20 > define("TP",""); >=20 >=20 > # Webmaster email address to receive subscription information >=20 > define("WEBMASTER",""); >=20 >=20 > # JAVA command >=20 > define("JAVACMD","/usr/java/j2sdk1.4.1_02/bin/java"); >=20 >=20 > # working directory for OpenOffice.org >=20 > define("OOTMPDIR","/tmp"); >=20 > # mask mode for file exchange between the web server and OOo. >=20 > define("OOFILEMASK",0777); >=20 >=20 > # directory to the OpenOffice JAVA classes. >=20 > define("OOCLASSESPATH","/usr/local/OpenOffice.org1.1.0/program/clas= ses"); >=20 >=20 > # timeout for the OO converter. >=20 > define("EXEC_TIMEOUT",30); >=20 >=20 > # log file when the documentconverter fail >=20 > define("EXEC_LOGFILE","/var/servoo/log"); >=20 >=20 > # version d'OpenOffice >=20 > define("OPENOFFICEVERSION","1.1"); >=20 >=20 > # message renvoie >=20 > define ("MESSAGEVERSION","Visit http://www.servoo.net"); >=20 >=20 > # host surlequel est le serveur OpenOffice >=20 > define("OOHOST","localhost"); >=20 >=20 > # port du serveur OpenOffice sur le host >=20 > define("OOPORT","9303"); >=20 >=20 > # chemin relatif pour le repertoire d'include >=20 > define("TOINCLUDE","include/"); >=20 >=20 > # URL contenant les fichiers communs partag=E9s >=20 > # par exemple $shareurl=3D"http://lodel.revues.org/share"; >=20 > # la version sera ajoutee sur le dernier repertoire, donc la chaine= ne=20 > doit pas se terminer par / >=20 > $shareurl=3D"/share"; >=20 >=20 >=20 > # Nom de la session (cookie) >=20 > define("SESSIONNAME","sessionservoo"); >=20 >=20 > # Timeout pour les sessions >=20 > # en seconde >=20 > define("LOGINTIMEOUT",120*60); >=20 >=20 >=20 > ini_set("log_errors","1"); >=20 > ini_set("display_errors","0"); >=20 > ini_set("error_log","/tmp/servoo.err"); >=20 >=20 >=20 > ?> >=20 >=20 >=20 >=20 >=20 >=20 > Give write access for the web server user (nobody, apache, or...) t= o=20 > servoo/CACHE and servoo/admin/CACHE directories: >=20 > chmod 770 servoo/CACHE servoo/admin/CACHE >=20 > or >=20 > chmod 777 servoo/CACHE servoo/admin/CACHE >=20 > Under windows, i allow write access >=20 >=20 > Opening write access may be a security issue. It is recommended to = use=20 > sudo module for Apache or PHP as a CGI with correct group/users= =20 > settings. For testing purpose, restrict web server access and use a= =20 > firewall. >=20 > ??? >=20 >=20 > Testing >=20 > Test the configuration by creating a proper administrator. >=20 > A temporary administrator has been automatically created during the= =20 > MySQL tables creation. Log on http://localhost/servoo/admin/ with= =20 > username: /admintmp/ and password: /admintmp/. Enter =93ServOO=20 > Administrator=94, create your administrator account and _delete the= =20 > admintmp administrator_. Create also a first ServOO user, remember = the=20 > login/password for setting in your web apps. >=20 > Problem, i can't log on the administration >=20 >=20 > To use Servoo, launch OpenOffice.org in server mode: >=20 > soffice=20 > -accept=3D"socket,host=3Dlocalhost,port=3D9303;urp;StarOffice.Servi= ceManager" >=20 > Or use the servooserver/tools/startoo script. >=20 > When i run this script i have: >=20 >=20 > # Script for lauching OpenOffice.org in a development context only. > # See the servoo script for use in operational context. >=20 > soffice -accept=3D"socket,host=3Dlocalhost,port=3D9303;urp;StarOffi= ce.ServiceManager" >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > -------------------------------------------------------------------= ----- > 250 Mo de stockage avec MSN Hotmail !=20 > <http://g.msn.com/8HMAFRFR/2740??PS=3D47575>=20 > ------------------------------------------------------- SF.Net emai= l is=20 > sponsored by: Discover Easy Linux Migration Strategies from IBM. Fi= nd=20 > simple to follow Roadmaps, straightforward articles, informative= =20 > Webcasts and more! Get everything you need to get up to speed, fast= .=20 > http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclick=20 > _______________________________________________ servoo-users mailin= g=20 > list ser...@li...=20 > https://lists.sourceforge.net/lists/listinfo/servoo-users |
From: Ghislain <ghi...@lo...> - 2005-06-30 20:27:11
|
Hi Felipe, I have been quite busy too and didn't catch you were still trying to= =20 install servoo. We don't know if servoo works on Windows but it shoul= d.=20 At least, the problems you have currently seems not caused by windows= .=20 The DB is not configured in the config.php, there is no way it works.= I=20 suggest you do again step by step the install procedure. If you have= =20 never used mysql before, you may first read about it. I need to know more about you experience in Un*x before helping you f= urther. Regars, Ghislain felipe _ wrote: > =20 >=20 > Hi, >=20 > I had a lot of work to do so i let in stand by the installation of= =20 > servooserver. >=20 > Now i'm trying to install it, but i have a problem. I can't log on = the=20 > administration of servoo. >=20 > I tried to create an account via the DB, but i can't log on with th= is=20 > account to. >=20 > Here is what i do and the configuration i have. something might be = wrong=20 > in the config.php file? >=20 > Thanks for give me a hand. >=20 >=20 >=20 > Requirements >=20 > * >=20 > PHP 4.3.x or higher. Not tested with PHP 5. >=20 > * >=20 > MySQL 3.23, 4.x or higher. >=20 > I have xampp installed with php4.3 and MySQL 4. >=20 > * >=20 > Java run-time machine. Tested with J2SE=A9 Sun and JRE for Li= nux > (blackdown.org) >=20 > *j2sdk1.4.1_08* >=20 > * >=20 > OpenOffice.org 1.1.1 or higher. >=20 > Oo 1.1.4 >=20 > * >=20 > PEAR package: SOAP and its dependencies. >=20 > Ok, the package is in servooserver\servoo\include >=20 > * >=20 > Web server. Tested with Apache. >=20 > Apache (with xampp) >=20 >=20 > Installation >=20 >=20 > Download >=20 > The ServOO archive is named servooserver-x.x.tar.gz and is availabl= e=20 > from Servoo project page=20 > <http://sourceforge.net/project/showfiles.php?group_id=3D113878> on= =20 > SourceForge.net. Download the latest version. >=20 > Ok >=20 >=20 > Extract the sources >=20 > Decompress and detar the archive in a temporary directory. Move or = copy=20 > the servooserver/servoo directory into your web document root (with= =20 > Mandrake distro it is /var/www/html). >=20 > tar zxf servooserver-0.0.1.tar.gz >=20 > cp -r servooserver/servoo /var/www/html >=20 > Ok, i have copied all the rpertory servooserver on my web document = root >=20 >=20 > Install java, OpenOffice.org and PEAR/SOAP >=20 > Download and install a java machine, OpenOffice.org and PEAR/SOAP o= n the=20 > web server. >=20 > Suggested url for downloading these packages: >=20 > http://java.sun.com/j2se/1.4.2/download.html >=20 > http://blackdown.org <http://blackdown.org/> >=20 > http://www.openoffice.org/ >=20 > http://pear.php.net/package/SOAP >=20 >=20 > Start the OpenOffice.org program and go to Tools/Options. Look for = the=20 > Openoffice/Security entry. Select =93Run macro: Never=94 and disabl= e=20 > =93pluggins=94 and =93applets=94. Note that these settings may be i= nsufficient=20 > to ensure security. The PEAR packages must be installed in a direct= ory=20 > listed in the PHP include_path or installed =93locally=94 in the= =20 > servoo/include directory. >=20 > ok >=20 >=20 > Initialise the database >=20 > Create a new MySQL database named servoodb for instance. As root or= as=20 > another authorized user: >=20 > mysqladmin create servoodb >=20 > Create the tables >=20 > mysql servoodb <servoo/include/init.sql >=20 > Create MySQL user for the servoodb database and grant some privileg= es: >=20 > GRANT usage ON *.* TO servoouser@localhost IDENTIFIED BY 'chooseapa= sswd' >=20 > GRANT all ON servoodb.* TO servoouser@localhost >=20 >=20 > UI created a DB servoodb wich contains 4 table =93admins, log, > session, user =BB >=20 >=20 > Configure ServOO >=20 > Copy the servoo/config-dist.php file into servoo/config.php and edi= t it: >=20 > cd /var/www/html/servoo/ >=20 > cp config-dist.php config.php >=20 > vi config.php >=20 > Fill the variables DATABASE, DBUSERNAME, DBPASSWD, DBHOST , JAVACMD= ,=20 > OOCLASSESPATH, OOFILEMASK and OOTMPDIR accordingly to your settings= . >=20 > My config.php file >=20 >=20 > # perturbate the password encoding. >=20 > define ("PASSWDSEED",""); >=20 >=20 > # Database name >=20 > define("DATABASE",""); >=20 >=20 > # Database username >=20 > define("DBUSERNAME",""); >=20 > # Database user's password >=20 > define("DBPASSWD",""); >=20 > # Database server hostname or ip >=20 > define("DBHOST","localhost"); >=20 >=20 > # Table prefix >=20 > define("TP",""); >=20 >=20 > # Webmaster email address to receive subscription information >=20 > define("WEBMASTER",""); >=20 >=20 > # JAVA command >=20 > define("JAVACMD","/usr/java/j2sdk1.4.1_02/bin/java"); >=20 >=20 > # working directory for OpenOffice.org >=20 > define("OOTMPDIR","/tmp"); >=20 > # mask mode for file exchange between the web server and OOo. >=20 > define("OOFILEMASK",0777); >=20 >=20 > # directory to the OpenOffice JAVA classes. >=20 > define("OOCLASSESPATH","/usr/local/OpenOffice.org1.1.0/program/clas= ses"); >=20 >=20 > # timeout for the OO converter. >=20 > define("EXEC_TIMEOUT",30); >=20 >=20 > # log file when the documentconverter fail >=20 > define("EXEC_LOGFILE","/var/servoo/log"); >=20 >=20 > # version d'OpenOffice >=20 > define("OPENOFFICEVERSION","1.1"); >=20 >=20 > # message renvoie >=20 > define ("MESSAGEVERSION","Visit http://www.servoo.net"); >=20 >=20 > # host surlequel est le serveur OpenOffice >=20 > define("OOHOST","localhost"); >=20 >=20 > # port du serveur OpenOffice sur le host >=20 > define("OOPORT","9303"); >=20 >=20 > # chemin relatif pour le repertoire d'include >=20 > define("TOINCLUDE","include/"); >=20 >=20 > # URL contenant les fichiers communs partag=E9s >=20 > # par exemple $shareurl=3D"http://lodel.revues.org/share"; >=20 > # la version sera ajoutee sur le dernier repertoire, donc la chaine= ne=20 > doit pas se terminer par / >=20 > $shareurl=3D"/share"; >=20 >=20 >=20 > # Nom de la session (cookie) >=20 > define("SESSIONNAME","sessionservoo"); >=20 >=20 > # Timeout pour les sessions >=20 > # en seconde >=20 > define("LOGINTIMEOUT",120*60); >=20 >=20 >=20 > ini_set("log_errors","1"); >=20 > ini_set("display_errors","0"); >=20 > ini_set("error_log","/tmp/servoo.err"); >=20 >=20 >=20 > ?> >=20 >=20 >=20 >=20 >=20 >=20 > Give write access for the web server user (nobody, apache, or...) t= o=20 > servoo/CACHE and servoo/admin/CACHE directories: >=20 > chmod 770 servoo/CACHE servoo/admin/CACHE >=20 > or >=20 > chmod 777 servoo/CACHE servoo/admin/CACHE >=20 > Under windows, i allow write access >=20 >=20 > Opening write access may be a security issue. It is recommended to = use=20 > sudo module for Apache or PHP as a CGI with correct group/users= =20 > settings. For testing purpose, restrict web server access and use a= =20 > firewall. >=20 > ??? >=20 >=20 > Testing >=20 > Test the configuration by creating a proper administrator. >=20 > A temporary administrator has been automatically created during the= =20 > MySQL tables creation. Log on http://localhost/servoo/admin/ with= =20 > username: /admintmp/ and password: /admintmp/. Enter =93ServOO=20 > Administrator=94, create your administrator account and _delete the= =20 > admintmp administrator_. Create also a first ServOO user, remember = the=20 > login/password for setting in your web apps. >=20 > Problem, i can't log on the administration >=20 >=20 > To use Servoo, launch OpenOffice.org in server mode: >=20 > soffice=20 > -accept=3D"socket,host=3Dlocalhost,port=3D9303;urp;StarOffice.Servi= ceManager" >=20 > Or use the servooserver/tools/startoo script. >=20 > When i run this script i have: >=20 >=20 > # Script for lauching OpenOffice.org in a development context only. > # See the servoo script for use in operational context. >=20 > soffice -accept=3D"socket,host=3Dlocalhost,port=3D9303;urp;StarOffi= ce.ServiceManager" >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > -------------------------------------------------------------------= ----- > 250 Mo de stockage avec MSN Hotmail !=20 > <http://g.msn.com/8HMAFRFR/2740??PS=3D47575>=20 > ------------------------------------------------------- SF.Net emai= l is=20 > sponsored by: Discover Easy Linux Migration Strategies from IBM. Fi= nd=20 > simple to follow Roadmaps, straightforward articles, informative= =20 > Webcasts and more! Get everything you need to get up to speed, fast= .=20 > http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclick=20 > _______________________________________________ servoo-users mailin= g=20 > list ser...@li...=20 > https://lists.sourceforge.net/lists/listinfo/servoo-users |