[Obm] Fwd: OBM under winNT ?
Mehdi Rande
mehdi.rande@aliacom.fr
Wed, 02 Jun 2004 12:01:44 +0200
Pierre Baudracco wrote:
>
> ----- Forwarded message from Simon BASLE <simon.basle@winosoft.com> -----
> Date: Wed, 02 Jun 2004 10:16:48 +0200
> From: Simon BASLE <simon.basle@winosoft.com>
> Reply-To: Simon BASLE <simon.basle@winosoft.com>
> Subject: OBM under winNT ?
> To: pierre.baudracco@aliacom.fr
>
> Hello !
> I'm currently trying to install OBM on my local WinNT apache server... I
> use the easyphp package wich provides apache server, PHP, mysql and
> PHPMyAdmin in a bundle (see http://www.easyphp.org/ if you don't know
> about it). As the installation of this package is pretty easy (in fact
> there's almost nothing to do but click 'Next' ;-) ), I'm not very
> familiar with the configuration of an Apache server.
> Could you try to explain me a little more about how to configure apache
> under windows in order to use OBM ? Is the mod_env module really
> mandatory ? Because it is not provided pre-compiled with apache for
> win32... Isn't there another way around ?
> Thank you in advance.
> Simon BASLE
>
>
>
> ----- End forwarded message -----
>
>
Hi,
(you might not be concerned by some step described below but I thought
that having the whole howto could be usefull :) )
Here is a way to install obm on windows (I don't really know if
its work on windows NT, but it does on 2000 and XP)
First, you have to install an apache server with php and mysql,
the easiest way to do so is to install EasyPhp (the next steps
concern EasyPhp 1.7 and 1.6)
http://easynews.dl.sourceforge.net/sourceforge/quickeasyphp/easyphp1-7_setup.exe
We will assume that Easyphp is installed at c:\EasyPhp.
We will install obm in c:\obm\ and the document tree in
c:\obm\documents(but this howto could be used for other path)
Download Obm 0.8.X at http://obm.aliacom.fr/download.php
Untar it wherever you want.
Once it is untarred go to obm-.8.X\scripts\0.8\
Edit the file obmdb_default_values_0.8.sql and change
INSERT INTO GlobalPref VALUES ('document_path',
'/var/documents');
with
INSERT INTO GlobalPref VALUES ('document_path',
'c:\\obm\\documents');
Save and copy the files : create_obmdb_0.8.mysql.sql,
obmdb_ref_0.8_fr.sql, obmdb_test_values_0.8.sql,
obmdb_default_values_0.8.sql, in c:\Easyphp\mysql\bin\ .
Launch EasyPhp
Go to Start then Run, and tape cmd then Enter
In the MS command window :
(Do not take into account what is before the > and the >
itself)
> cd c:\EasyPhp\mysql\bin
> mysql -u root
mysql> \. create_obmdb_0.8.mysql.sql
mysql> \. obmdb_ref_0.8_fr.sql
mysql> \. obmdb_default_values_0.8.sql
mysql> \. obmdb_test_values_0.8.sql
mysql> \. GRANT ALL ON obm.* TO obm@localhost IDENTIFIED BY
'obm';
close the command widow
Suppress the files
create_obmdb_0.8.mysql.sql, obmdb_ref_0.8_fr.sql,
obmdb_test_values_0.8.sql, obmdb_default_values_0.8.sql in
c:\Easyphp\mysql\bin\ .
Create c:\obm\ , c:\obm\documents\ and
c:\obm\documents\Default
copy the repositories php and obminclude from obm-0.8.X to
c:\obm\
Edit httpd.conf (c:\EasyPhp\apache\conf\) and add
<VirtualHost yourIPgoesHere>
ServerAdmin root@localhost
DocumentRoot "c:\obm\php"
ServerName obm
SetEnv OBM_INCLUDE_VAR obminclude
Alias /images "c:\obm\obminclude\themes"
DirectoryIndex obm.php
</VirtualHost>
Edit (EasyPhp 1.6 : c:\windows\php.ini) (EasyPhp 1.7 :
c:\EasyPhp\apache\php.ini)
and change the line :
include_path = ".;c:\EasyPhp\php\pear\"
by :
include_path =".;c:\EasyPHP\php\pear\;c:\obm\"
( Only for EasyPhp 1.7 :
in c:\EasyPhp\apache\php.ini
change
register_globals = Off
by
register_globals = On
and change
error_reporting = E_ALL
by
error_reporting = E_ALL & ~E_NOTICE
)
last add in c:\windows\system32\drivers\etc\hosts
the line
127.0.0.1 obm
Restart easyPhp
Go to http://obm/
Connect with uadmin, padmin
Go to the administration tab, then Preferences and execute
Update all users preferences with default values
Thanks for using obm,
HTH,
Mehdi Rande
--
Mehdi Rande - mehdi.rande@aliacom.fr
ALIACOM - www.aliacom.fr -
Toulouse : 05 62 19 24 91 - Paris : 01 48 25 53 13