[Koha] Koha Installation Upgrade 2.2.4 to 2.2.5 Windows
Amzari Abu Bakar
amzari79 at yahoo.com
Mon Jan 23 23:26:38 NZDT 2006
Hi everyone;
For those interested to upgrade Koha2.2.4 windows to
Koha2.2.5.
Referring to my previous email on this matter, I have
realize that I have made several mistakes. Previously,
I have advice to extract Koha2.2.5 to c:\usr\koha225
and make changes to koha.conf in c:\etc. The mistakes
is in apache, it still referring to old folder (i.e:
c:\usr\koha224.) You can test it by renaming koha224
folder to koha224_bak, and run your koha. you will
find 404 -access forbidden.
Apart from extracting koha files to c:\usr\koha225,
you have to alter your koha.conf and httpd.conf. make
sure you make a backup first. My current setting is
Apache2.0.54, WinXP, MySQL4.0.15-nt.
Activestateperl 5.6 install at c:\usr\, perl localted
at c:\usr\bin\
Here are basic guidelines of upgrading from Koha 2.2.4
Windows to Koha 2.2.5.
1. Install koha2.2.4 for windows according to
guidelines in http:\\www.kohadocs.org
1. change c:\etc\koha.conf configuration as follows:
database=<db_name>
hostname=localhost
user=koha
pass=koha
intranetdir=c:\usr\koha225\intranet-cgi
opacdir=c:\usr\koha225\opac-cgi
kohaversion=2.2.5
opachtdocs=c:\usr\koha225\opac-html\opac-tmpl
intrahtdocs=c:\usr\koha225\intranet-html\intranet-tmpl
includes=c:\usr\koha225\intranet-html\intranet-tmpl\npl\en\includes
2. Add the following lines in Apache configuration
files, httpd.conf:
Listen 8080
3. Modified the following lines:
DocumentRoot "C:/usr/koha224/intranet/htdocs"
<Directory "C:/usr/koha224/intranet/htdocs">
TO
DocumentRoot "C:/usr/koha225"
<Directory "C:/usr/koha225">
AND
ScriptAlias /cgi-bin/
"C:/usr/koha224/intranet/cgi-bin/"
<Directory "C:/usr/koha224/intranet/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
TO
ScriptAlias /intranet-cgi/
"C:/usr/koha225/intranet-cgi/"
<Directory "C:/usr/koha225/intranet-cgi">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
And Virtual host configuration as follows:
<VirtualHost _default_:*>
ServerAdmin amzari79 at yahoo.com
DocumentRoot "C:/usr/koha225"
ScriptAlias /cgi-bin/koha/ /usr/koha225/opac-cgi/
ServerName opac
ErrorLog logs/opac-error_log
CustomLog logs/opac-access_log common
SetEnv PERL5LIB "c:/usr/koha225/modules"
</VirtualHost>
<VirtualHost localhost *>
ServerAdmin amzari79 at yahoo.com
DocumentRoot "C:/usr/koha225/opac-html"
ScriptAlias /cgi-bin/koha/ /usr/koha225/opac-cgi/
ServerName opac
ErrorLog logs/opac-error_log
CustomLog logs/opac-access_log common
SetEnv PERL5LIB "c:/usr/koha225/modules"
</VirtualHost>
<VirtualHost localhost:8080>
ServerAdmin amzari79 at yahoo.com
DocumentRoot "C:/usr/koha225/intranet-html"
ScriptAlias /cgi-bin/koha/
/usr/koha225/intranet-cgi/
ServerName intranet
ErrorLog logs/intranet-error_log
CustomLog logs/intranet-access_log common
SetEnv PERL5LIB "c:/usr/koha225/modules"
</VirtualHost>
4. change system environment variables for perl5lib
variable: perl5lib
value: c:\usr\koha225\modules
DONE. You can run opac from http://opac/ or
http://localhost/ and intranet from
http://intranet:8080 or http://localhost:8080
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Koha
mailing list