[Koha-cvs] CVS: koha installer-lite.pl,1.4,1.5

Andrew Arensburger arensb at users.sourceforge.net
Sun Oct 13 09:32:10 CEST 2002


Update of /cvsroot/koha/koha
In directory usw-pr-cvs1:/tmp/cvs-serv3792

Modified Files:
	installer-lite.pl 
Log Message:
Added magic RCS comment.
Removed trailing whitespace.


Index: installer-lite.pl
===================================================================
RCS file: /cvsroot/koha/koha/installer-lite.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** installer-lite.pl	12 Oct 2002 06:08:37 -0000	1.4
--- installer-lite.pl	13 Oct 2002 07:32:08 -0000	1.5
***************
*** 1,4 ****
--- 1,5 ----
  #!/usr/bin/perl -w # please develop with -w
  
+ # $Id$
  
  # Copyright 2000-2002 Katipo Communications
***************
*** 29,33 ****
  
  This installer will guide you through the process of installing Koha.
! It is not a completely automated installation, but a guide for further 
  information please read the documentation or visit the Koha website at
  http://www.koha.org
--- 30,34 ----
  
  This installer will guide you through the process of installing Koha.
! It is not a completely automated installation, but a guide for further
  information please read the documentation or visit the Koha website at
  http://www.koha.org
***************
*** 36,42 ****
  
  * A webserver (It was built to work with Apache, but there is no reason
! it should not work with any other webserver). 
!  
! * Mysql (You could intead use postgres, or another sql based database) 
  
  * Perl
--- 37,43 ----
  
  * A webserver (It was built to work with Apache, but there is no reason
! it should not work with any other webserver).
! 
! * Mysql (You could intead use postgres, or another sql based database)
  
  * Perl
***************
*** 99,106 ****
  print qq|
  Koha uses a small configuration file that is usually placed in your
! /etc/ files directory (note: if you wish to place the koha.conf in 
  another location you will need to manually edit additional files).
  
! We will help you to now create your koha.conf file, once this file 
  has been created, please copy it to your destination folder
  (note: this may need to be done by your systems administrator).
--- 100,107 ----
  print qq|
  Koha uses a small configuration file that is usually placed in your
! /etc/ files directory (note: if you wish to place the koha.conf in
  another location you will need to manually edit additional files).
  
! We will help you to now create your koha.conf file, once this file
  has been created, please copy it to your destination folder
  (note: this may need to be done by your systems administrator).
***************
*** 116,120 ****
  print "\n";
  print qq|
! Please provide the name of the mysql database that you wish to use 
  for koha. This is normally "Koha".
  |;
--- 117,121 ----
  print "\n";
  print qq|
! Please provide the name of the mysql database that you wish to use
  for koha. This is normally "Koha".
  |;
***************
*** 130,134 ****
  print "\n";
  print qq|
! Please provide the hostname for mysql.  Unless the database is located 
  on another machine this is likely to be "localhost".
  |;
--- 131,135 ----
  print "\n";
  print qq|
! Please provide the hostname for mysql.  Unless the database is located
  on another machine this is likely to be "localhost".
  |;
***************
*** 144,148 ****
  print "\n";
  print qq|
! Please provide the name of the mysql user, who will have full administrative 
  rights to the $dbname database, when authenicating from $hostname.
  It is recommended that you do not use your "root" user.
--- 145,149 ----
  print "\n";
  print qq|
! Please provide the name of the mysql user, who will have full administrative
  rights to the $dbname database, when authenicating from $hostname.
  It is recommended that you do not use your "root" user.
***************
*** 183,187 ****
  
  #Create the configuration file
! open(SITES,">koha.conf") or die "Couldn't create file.  
  Must have write capability.\n";
  print SITES <<EOP
--- 184,188 ----
  
  #Create the configuration file
! open(SITES,">koha.conf") or die "Couldn't create file.
  Must have write capability.\n";
  print SITES <<EOP
***************
*** 244,248 ****
  # Update Apache Conf File.
  #
! open(SITES,">>koha-apache.conf") or die "Couldn't write to file.  
  Must have write capability.\n";
  print SITES <<EOP
--- 245,249 ----
  # Update Apache Conf File.
  #
! open(SITES,">>koha-apache.conf") or die "Couldn't write to file.
  Must have write capability.\n";
  print SITES <<EOP
***************
*** 294,298 ****
  # Update Apache Conf File.
  #
! open(SITES,">>koha-apache.conf") or die "Couldn't write to file.  
  Must have write capability.\n";
  print SITES <<EOP
--- 295,299 ----
  # Update Apache Conf File.
  #
! open(SITES,">>koha-apache.conf") or die "Couldn't write to file.
  Must have write capability.\n";
  print SITES <<EOP
***************
*** 319,335 ****
  *******************************************
  
! In order to finish the installation of Koha, there is still a couple 
  of steps that you will need to complete.
  
    * Setup mysql
  	1. Create a new mysql database called for example Koha
! 	   From command line: mysqladmin -uroot -ppassword create Koha 
  
  	2. Set up a koha user and password in mysql
!            Log in to mysql: mysql -uroot -ppassword 
  
! 	   To create a user called "koha" who has full administrative 
! 	   rights to the "Koha" database when authenticating from 
! 	   "localhost", enter the following on mysql command line: 
  
  	    grant all privileges on Koha.* to koha\@localhost identified by 'kohapassword'\;
--- 320,336 ----
  *******************************************
  
! In order to finish the installation of Koha, there is still a couple
  of steps that you will need to complete.
  
    * Setup mysql
  	1. Create a new mysql database called for example Koha
! 	   From command line: mysqladmin -uroot -ppassword create Koha
  
  	2. Set up a koha user and password in mysql
!            Log in to mysql: mysql -uroot -ppassword
  
! 	   To create a user called "koha" who has full administrative
! 	   rights to the "Koha" database when authenticating from
! 	   "localhost", enter the following on mysql command line:
  
  	    grant all privileges on Koha.* to koha\@localhost identified by 'kohapassword'\;
***************
*** 339,346 ****
  
  	3. Use the mysql script to create the tables
! 	   mysql -uusername -ppassword Koha < koha.mysql 
  
  	4. Update your database tables
! 	   perl updatedatabase -I /pathtoC4 
  
  	5. Update your database to use MARC
--- 340,347 ----
  
  	3. Use the mysql script to create the tables
! 	   mysql -uusername -ppassword Koha < koha.mysql
  
  	4. Update your database tables
! 	   perl updatedatabase -I /pathtoC4
  
  	5. Update your database to use MARC
***************
*** 350,354 ****
    * Koha.conf
  	1. Copy Koha.conf to /etc/
! 	   If you wish to locate the file in another location please read 
  	   the INSTALL and Hints files.
  
--- 351,355 ----
    * Koha.conf
  	1. Copy Koha.conf to /etc/
! 	   If you wish to locate the file in another location please read
  	   the INSTALL and Hints files.
  





More information about the Koha-cvs mailing list