Yesan: hi, girlajo
Sent at 15:56 on Friday
Yesan: Anne, i am waiting for reply
girlajo: Hi
How R U ?
Yesan: yes. am doing well
since yesterday i been looking for your mail
bakc to koha on Bluehost.
they say that it can't be possbile to give root access. what is the alternative we have before us
girlajo: That is understandable
I guess they Have : MySQL, Apache AND perl on their servers
Yesan: Yes you are right. do you think liblime.com can do thing to help us
girlajo: Certainly
Do you have someone with a good understanding of Linux Environment ?
Yesan: yes. we have fellow in DRTC, Bangalore, who can help us in
He is a research scholar student at DRTC, Bangalore. Perhpas, you might have heard about drtc
girlajo: I Heard about bangalore, but not DRTC
Not having a root access is generally not a problem
Yesan: then what is the option before us. can we still use Bluehost for hosting koha on our domain?
it seems perl module installation requires root access and restrating of server??????????? is needed. Can this be highly possible working Bluehost, where 100s of domains running
i am an ignorant on this line. pl. forgive me for asking laymen questions
hi, anne, r u still there
should i wait for your reply?
girlajo: I was away
I'm back
Yesan: welcome back
girlajo: Perl modules can be installed without root access
Yesan: My friend copied all the koha modules into our domain. but when he tried to run the installation, he encountred problem saying , access denied.
can you be of some help to install koha on our domain....... if you can. I got SSH access.
Or do you have someother option
girlajo: That is risky
What is the module you were trying to install when you got that error message
Yesan: ./installer.pl
girlajo: Installer.pl Will install Koha
Yesan: should mysql db be created first? before installing koha
girlajo: But before installing koha some other modules are required
Yesan: what are those modules?
where are you?
I am in Bangalore. It is 4.30pm
girlajo: I am in Mali/ West africa. It 10:55 AM
Yesan: Tell me, what are the modules be installed before koha installation
girlajo: I don't have then in Mind but
I will send a link
Sent at 16:26 on Friday
Yesan: hi, it looks you have to have time?
girlajo: They are listed here http://wiki.koha.org/doku.php?id=fc4
Here is a list of some :
Event
Digest::MD5
HTML::Template
Mail::Sendmail
Compress::Zlib
PDF::API2
Class::Accessor
MARC::Charset
MARC::File::XML“
Tie::IxHash“
XML::Simple
Net::Z3950
Net::Z3950::ZOOM
Sent at 16:30 on Friday
Yesan: how to find out whether or not the above listed on my directory
in perl folder or koha
i have just my domain ssh access. let me list what are those directories there
Sent at 16:35 on Friday
girlajo: OK
Yesan: access-logs index_html mail public_html www
etc koha-2.2.9 perl tmp
index koha-2.2.9.tar.gz public_ftp webalizer.conf
access-logs index_html mail public_html www
etc koha-2.2.9 perl tmp
index koha-2.2.9.tar.gz public_ftp webalizer.conf
access-logs
index_html
mail
public_html
www
etc
koha-2.2.9
perl tmp
index
koha-2.2.9.tar.gz
public_ftp
webalizer.conf
girlajo: OK
What does etc contain
??
Yesan:
jlcopac.org
it has jlcopac.org
girlajo: what is the content of perl directory
Yesan: does not have anything
girlajo: Usually installer.pl would tell U what is missing
Could you cd to koha-2.2.9 directory
Sent at 16:45 on Friday
Yesan: ChangeLog
Install.pm
TODO
intranet-html
koha.version
scripts
HOWTO-testing
LICENSE
docs
koha.conf
modules
Hints
News
installer.pl
koha.mysql
opac-cgi
INSTALL
README
intranet-cgi
koha.upgrade
opac-html
girlajo: Can run installer.pl ??
Yesan: Error: Cannot write to /etc! Please set the etcdir environment variable to a writeable directory. Failed at Install.pm line 378.
girlajo: Do the following command first
pwd
Yesan: /home/jlcopaco/koha-2.2.9
girlajo: then do the following
Yesan: tell me
girlajo: Give a moment
We need to change something
Yesan: what change is required
girlajo: We need to tell the system to not write to /etc
BTW tell what inside /home/jlcopaco/etc
Yesan: etc dir contains jlcopac.org
what is BTW
girlajo: By the Way ?
Yesan: thanks
girlajo: By the Way
is jlcopac.org a file or a directory
?
Yesan: i am opening my cpanel for jlcopac.org file mannager, wait a minute
jlcopac.org is a dire
*directory
girlajo: And what is inside ?
Yesan: passwd 1 KB text/x-generic 0644
passwd,v 5 KB text/x-generic 0444
quota 296 Bytes text/x-generic 0644
quota,v 3 KB text/x-generic 0444
shadow 844 Bytes text/x-generic 0640
shadow,v 4 KB text/x-generic 0444
it looks, it is something to do with mail
passwd 1 KB text/x-generic 0644
passwd,v 5 KB text/x-generic 0444
quota 296 Bytes text/x-generic 0644
quota,v 3 KB text/x-generic 0444
shadow 844 Bytes text/x-generic 0640
shadow,v 4 KB text/x-generic 0444
/home/jlcopaco/etc/jlcopac.org
hi, r u there
girlajo: do
export etcdir=/home/jlcopaco/etc
etcdir is followed by the equal sign
Yesan: yes. it is done
hi, anne,
girlajo: run installer.pl again
Yesan: do you want to begin koha installation
Are you ready to begin the installation? ([Y]/N)
girlajo: Y
Yesan: it installed files. and end of some files it says
You are missing some Perl modules required by Koha. Please run this again
after installing them. They may be installed by finding packages from your
operating system supplier, or running (as root) the following commands:
perl -MCPAN -e 'install "Date::Manip"'
perl -MCPAN -e 'install "HTML::Template"'
perl -MCPAN -e 'install "Mail::Sendmail"'
perl -MCPAN -e 'install "MARC::Record"'
perl -MCPAN -e 'install "MARC::Charset"'
perl -MCPAN -e 'install "MARC::File::XML"'
perl -MCPAN -e 'install "Date::Calc"'
perl -MCPAN -e 'install "ZOOM"'
perl -MCPAN -e 'install "You will need PDF::API2 for barcode generator"'
perl -MCPAN -e 'install "You will need GD::Barcode for the new barcode
generator"'
perl -MCPAN -e 'install "You will need Data::Random for the new barcode
generator"'
perl -MCPAN -e 'install "You will need PDF::Reuse::Barcode for the new
barcode generator"'
girlajo: Good
These the perl modules you will need to install before resuming your installation
Yesan: how to do the installation of these perl module
it looks none of the perl modules are installed
girlajo: No
These one usually require root access
Yesan: how shall i proceed
girlajo: try perl -MCPAN -e 'install "Date::Manip"'
Yesan: [jlcopaco@box341 koha-2.2.9]$ perl -MCPAN -e 'install "Date::Manip"'
CPAN: File::HomeDir loaded ok (v0.66)
CPAN: Storable loaded ok (v2.16)
mkdir /home/.cpan: Permission denied at /usr/lib/perl5/5.8.8/CPAN.pm line 4092
the above error occured
Sent at 17:15 on Friday
girlajo: Ask your Guy from DRTC if he can install them for you
Yesan: in my cpanel, Perl Module Installer
Perl modules are collections of functions that allow you to perform tasks in Perl. You will need to install a Perl module before you can use it inside a Perl program.
Note: Modules are installed directly from the CPAN repository.
Location of Your Perl Module(s)
Path: /home/jlcopaco/perl
Using Your Perl Module(s)
You will need to add /home/jlcopaco/perl to the include path.
You can do this by adding the following code to your script:
BEGIN {
my $homedir = (getpwuid($>))[7];
my $n_inc = scalar @INC;
for (my $i = 0; $i < $n_inc; $i++ ) {
if (-d $homedir . '/perl' . $INC[$i]) {
unshift(@INC,$homedir . '/perl' . $INC[$i]);
$n_inc++;
$i++;
}
}
}
Find a Perl Module
Search
or
Install a Perl Module
look at the above, whether this has any help to do perl installation
girlajo: It is a great help
Does your cpanel give an option to install perl modules
Yesan: yes
do you want to see my cpane
would you like to see my cpanel
hi, anne, what is happening
girlajo: Sorry
Yesan: its ok
i am eagerly waiting
girlajo: Did try to install Date::Manip in CPANEL
Yesan: how to do it
girlajo: I don't know
Yesan: Method: Perl Expect
Fetching CPAN timestamp...Done
Testing connection speed...(this could take a while).......................................Done
Ping:20.246 Testing connection speed to httpupdate.cpanel.net using pureperl...(61780.00 bytes/s)...Done
Ping:1000 Testing connection speed to ftp.kfki.hu using pureperl...(13582.61 bytes/s)...Done
Ping:1000 Testing connection speed to cpan.wanadoo.nl using pureperl...(10793.10 bytes/s)...Done
Three usable mirrors located
Mirror Check passed for httpupdate.cpanel.net (/index.html)
CPAN: File::HomeDir loaded ok (v0.66)
CPAN: Storable loaded ok (v2.16)
CPAN: LWP::UserAgent loaded ok (v2.036)
CPAN: Time::HiRes loaded ok (v1.9707)
Fetching with LWP:
http://httpupdate.cpanel.net/pub/CPAN/authors/01mailrc.txt.gz
CPAN: YAML loaded ok (v0.65)
Going to read /home/jlcopaco/.cpan/sources/authors/01mailrc.txt.gz
............................................................................DONE
Fetching with LWP:
http://httpupdate.cpanel.net/pub/CPAN/modules/02packages.details.txt.gz
Going to read /home/jlcopaco/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Mon, 24 Sep 2007 09:36:43 GMT
Warning: This index file is 32 days old.
Please check the host you chose as your CPAN mirror for staleness.
I'll continue but problems seem likely to happen.
............................................................................DONE
Fetching with LWP:
http://httpupdate.cpanel.net/pub/CPAN/modules/03modlist.data.gz
Going to read /home/jlcopaco/.cpan/sources/modules/03modlist.data.gz
............................................................................DONE
Going to write /home/jlcopaco/.cpan/Metadata
Warning: Cannot install perl, don't know what it is.
Try the command
i /perl/
to find objects with matching identifiers.
Warning: Cannot install -MCPAN, don't know what it is.
Try the command
i /-MCPAN/
to find objects with matching identifiers.
Warning: Cannot install -e, don't know what it is.
Try the command
i /-e/
to find objects with matching identifiers.
Warning: Cannot install 'install, don't know what it is.
Try the command
i /'install/
to find objects with matching identifiers.
Warning: Cannot install "Date::Manip"', don't know what it is.
Try the command
i /"Date::Manip"'/
to find objects with matching identifiers.
perlmod--Install done
girlajo: But you told your cpanel has that option
Yesan: yes. i used the option of installing perl = field coloumn install perl: i typed what you have listed
girlajo: just the module name
Date::Manip
Yesan: hi, it is successfull
Sent at 17:31 on Friday
Yesan: hi, anne
Sent at 17:34 on Friday
Yesan: hi, anne pls. wait for few minutes i am installing those perl modules. i'll get back to you. do not go away
Sent at 17:37 on Friday
girlajo: OK
i hope we will make some progress
Yesan: yes. surely
Sent at 17:42 on Friday
Yesan: Barcode::Code128 2.01
Bit::Vector 6.4
Carp::Clan 5.9
Data::Random 0.05
Date::Calc 5.4
Date::Manip 5.45
GD::Barcode 1.1
HTML::Template 2.9
MARC::Charset undef
MARC::Record undef
Mail::Sendmail 0.79
PDF::API2 2.001
PDF::Reuse undef
PDF::Reuse::Barcode 0.05
i have installed the above perl
hi, anne
girlajo: Let's go back to koha now
Yesan: yes
girlajo: run installer.pl
Yesan: i got the following:
girlajo: yes
Yesan: WELCOME TO THE KOHA INSTALLER
This program will ask some questions and try to install koha for you. You
need to know: where most koha files should be stored (you can set the
prefix environment variable for this); the username and password of a mysql
superuser; and details of your library setup. You may also need to know
details of your Apache setup.
If you want to install the Koha configuration files somewhere other than
/etc (for installing not as root, or to have many Kohas on one system, for
example), you should set the etcdir environment variable. Please look at
your manuals for details of how to set that.
Recommended answers are given in brackets after each question. To accept
the default value for any question (indicated by []), simply hit Enter at
the prompt.
Note that you also can define an auto_install_file, that will answer every
question automatically. To use this feature, run ./installer.pl -i
/path/to/auto_install_file
Are you ready to begin the installation? ([Y]/N): y
Great! Continuing...
PERL MODULES
Checking perl modules ...
MISSING PERL MODULES
You are missing some Perl modules required by Koha. Please run this again
after installing them. They may be installed by finding packages from your
operating system supplier, or running (as root) the following commands:
perl -MCPAN -e 'install "Date::Manip"'
perl -MCPAN -e 'install "HTML::Template"'
perl -MCPAN -e 'install "Mail::Sendmail"'
perl -MCPAN -e 'install "MARC::Record"'
perl -MCPAN -e 'install "MARC::Charset"'
perl -MCPAN -e 'install "MARC::File::XML"'
perl -MCPAN -e 'install "Date::Calc"'
perl -MCPAN -e 'install "ZOOM"'
perl -MCPAN -e 'install "You will need PDF::API2 for barcode generator"'
perl -MCPAN -e 'install "You will need GD::Barcode for the new barcode
generator"'
perl -MCPAN -e 'install "You will need Data::Random for the new barcode
generator"'
perl -MCPAN -e 'install "You will need PDF::Reuse::Barcode for the new
barcode generator"'
[jlcopaco@box341 koha-2.2.9]$
hi, anne do you see what it is
girlajo: yes I see
Do
Yesan: why don't you login into my cpanel and see.
i enjoy installing by myself??????
but under circumstances
girlajo: Sorry,
I lost the your perl modules path
Yesan: i did perl module installation using my cpanel, which is windows based and click options availble
girlajo: what is your home directory
Yesan: jlcopaco
/home/jlcopaco/perl
girlajo: do
export PERL5LIB=/home/jlcopaco/perl
Yesan: yes done
girlajo: run installler again
Yesan: [jlcopaco@box341 koha-2.2.9]$ ./installer.pl
Cannot write to /etc! Please set the etcdir environment variable to a writeable directory.
Failed at Install.pm line 378.
girlajo: export etcdir=/home/jlcopaco/etc
Yesan: yes done
shall i run ./installer.pl
girlajo: and run installer
yes
Yesan: i got the same error
[jlcopaco@box341 koha-2.2.9]$ ./installer.pl
WELCOME TO THE KOHA INSTALLER
This program will ask some questions and try to install koha for you. You
need to know: where most koha files should be stored (you can set the
prefix environment variable for this); the username and password of a mysql
superuser; and details of your library setup. You may also need to know
details of your Apache setup.
If you want to install the Koha configuration files somewhere other than
/etc (for installing not as root, or to have many Kohas on one system, for
example), you should set the etcdir environment variable. Please look at
your manuals for details of how to set that.
Recommended answers are given in brackets after each question. To accept
the default value for any question (indicated by []), simply hit Enter at
the prompt.
Note that you also can define an auto_install_file, that will answer every
question automatically. To use this feature, run ./installer.pl -i
/path/to/auto_install_file
Are you ready to begin the installation? ([Y]/N): y
Great! Continuing...
PERL MODULES
Checking perl modules ...
MISSING PERL MODULES
You are missing some Perl modules required by Koha. Please run this again
after installing them. They may be installed by finding packages from your
operating system supplier, or running (as root) the following commands:
perl -MCPAN -e 'install "Date::Manip"'
perl -MCPAN -e 'install "HTML::Template"'
perl -MCPAN -e 'install "Mail::Sendmail"'
perl -MCPAN -e 'install "MARC::Record"'
perl -MCPAN -e 'install "MARC::Charset"'
perl -MCPAN -e 'install "MARC::File::XML"'
perl -MCPAN -e 'install "Date::Calc"'
perl -MCPAN -e 'install "ZOOM"'
perl -MCPAN -e 'install "You will need PDF::API2 for barcode generator"'
perl -MCPAN -e 'install "You will need GD::Barcode for the new barcode
generator"'
perl -MCPAN -e 'install "You will need Data::Random for the new barcode
generator"'
perl -MCPAN -e 'install "You will need PDF::Reuse::Barcode for the new
barcode generator"'
[jlcopaco@box341 koha-2.2.9]$
is it because my cpanel is still open
girlajo: echo $PERL5LIB
Yesan: wait a momeent
girlajo: Yesan
Yesan: yesa
girlajo: Yesa
I have to go
I'll be back in 40 min
Today is friday and I a muslim
I need to go to the mosque
Yesan: i understand your need.
yes. i shall see you after that. i shall be waiting for you
Sent at 18:09 on Friday
girlajo: Yesa
I am back
Sent at 18:53 on Friday
Yesan: Yes.
i had just had gone for my evening meal. it is 7.30pm
hi, anne
Sent at 19:29 on Friday
girlajo: Hi
it 2PM
Yesan: well, good to see that u r there
to update you on perl module, i noticed that it could be directory location problem
installer should be told to install the koha
on the specific directory
girlajo: two things
1st: we need to tell where to look for modules
later we will tell it where to install
Yesan: yes, you are right
girlajo: We are going to modify installer.pl
But first make a copy
cp installer.pl install.pl.old
Yesan: should i run in [jlcopaco@box341 koha-2.2.9]
shall i do it in my SSH mode
or in cpanel
girlajo: Let's use ssh
Yesan: yes
it is copied
girlajo: Do you rember the small perl code we told to add to our programs
Yesan: i see the following install.pl.old
is it from cpanel
girlajo: I guess it was from there
Look at the top of this chat you should see
What operating system do have on your desktop
Yesan: win xp
this is what i see :Location of Your Perl Module(s)
Path: /home/jlcopaco/perl
girlajo: R U on SSH
Yesan: yes
i am using putty
girlajo: echo $etcdir
Yesan: empty line appeared
yes i gave the command = echo $etcdir
girlajo: ls /home/jlcopaco/perl
Yesan: /home/jlcopaco/perl/usr/lib/perl5/site_perl/5.8.8
under perl director usr is there
girlajo: ls /home/jlcopaco/perl/usr/lib/perl5/site_perl/5.8.8
Yesan:
auto 4 KB httpd/unix-directory 0755
Barcode 4 KB httpd/unix-directory 0755
Carp 4 KB httpd/unix-directory 0755
Data 4 KB httpd/unix-directory 0755
Date 4 KB httpd/unix-directory 0755
GD 4 KB httpd/unix-directory 0755
HTML 4 KB httpd/unix-directory 0755
Mail 4 KB httpd/unix-directory 0755
MARC 4 KB httpd/unix-directory 0755
PDF 4 KB httpd/unix-directory 0755
x86_64-linux 4 KB httpd/unix-directory 0755
the above are in /home/jlcopaco/perl/usr/lib/perl5/site_perl/5.8.8
girlajo: Very good
echo $PERL5LIB
Yesan: yes done
girlajo: we need to set to variables
Yesan: how to set the variables
girlajo: etcdir and PERL5LIB
export etcdir=/home/jlcopaco/etc
export PERL5LIB=/home/jlcopaco/perl/usr/lib/perl5/site_perl/5.8.8
Sent at 19:53 on Friday
Yesan: yes done
access-logs
index_html
mail
public_html
www
etc
koha-2.2.9
perl
tmp
index
koha-2.2.9.tar.gz
public_ftp
webalizer.conf
girlajo: What does "echo $PERL5LIB" display ?
Yesan: displays = home/jlcopaco/perl/usr/lib/perl5/site_perl/5.8.8
girlajo: Now we will run installer.pl again
Yesan: [jlcopaco@box341 ~]$ cd koha-2.2.9
[jlcopaco@box341 koha-2.2.9]$ export etcdir=/home/jlcopaco/etc
[jlcopaco@box341 koha-2.2.9]$ export PERL5LIB=/home/jlcopaco/perl/usr/lib/perl5/site_per5/5.8.8
[jlcopaco@box341 koha-2.2.9]$
[jlcopaco@box341 koha-2.2.9]$ echo $PERL5LIB
/home/jlcopaco/perl/usr/lib/perl5/site_per5/5.8.8
[jlcopaco@box341 koha-2.2.9]$ ./installer.pl
WELCOME TO THE KOHA INSTALLER
This program will ask some questions and try to install koha for you. You
need to know: where most koha files should be stored (you can set the
prefix environment variable for this); the username and password of a mysql
superuser; and details of your library setup. You may also need to know
details of your Apache setup.
If you want to install the Koha configuration files somewhere other than
/etc (for installing not as root, or to have many Kohas on one system, for
example), you should set the etcdir environment variable. Please look at
your manuals for details of how to set that.
Recommended answers are given in brackets after each question. To accept
the default value for any question (indicated by []), simply hit Enter at
the prompt.
Note that you also can define an auto_install_file, that will answer every
question automatically. To use this feature, run ./installer.pl -i
/path/to/auto_install_file
Are you ready to begin the installation? ([Y]/N): Y
Great! Continuing...
PERL MODULES
Checking perl modules ...
MISSING PERL MODULES
You are missing some Perl modules required by Koha. Please run this again
after installing them. They may be installed by finding packages from your
operating system supplier, or running (as root) the following commands:
perl -MCPAN -e 'install "Date::Manip"'
perl -MCPAN -e 'install "HTML::Template"'
perl -MCPAN -e 'install "Mail::Sendmail"'
perl -MCPAN -e 'install "MARC::Record"'
perl -MCPAN -e 'install "MARC::Charset"'
perl -MCPAN -e 'install "MARC::File::XML"'
perl -MCPAN -e 'install "Date::Calc"'
perl -MCPAN -e 'install "ZOOM"'
perl -MCPAN -e 'install "You will need PDF::API2 for barcode generator"'
perl -MCPAN -e 'install "You will need GD::Barcode for the new barcode
generator"'
perl -MCPAN -e 'install "You will need Data::Random for the new barcode
generator"'
perl -MCPAN -e 'install "You will need PDF::Reuse::Barcode for the new
barcode generator"'
[jlcopaco@box341 koha-2.2.9]$
look at the history of my commands used in SSH access
r u looking
girlajo: Yes, I am Looking
It's very strange
Yesan: can we edit the installer.pl
girlajo: We need to edit and add some code at the begining
Yesan: #!/usr/bin/perl -w # please develop with -w
#use diagnostics;
use Install;
use Getopt::Long;
use strict; # please develop with the strict pragma
use vars qw( $input );
Install::setlanguage 'en';
my $domainname = `hostname`; # Note: must not have any arguments (portability)
if ($domainname =~ /^[^\s\.]+\.([-a-z0-9\.]+)$/) {
$domainname = $1;
} else {
undef $domainname;
if (open(INPUT, "</etc/resolv.conf")) {
while (<INPUT>) {
$domainname = $1 if /^domain\s+([-a-z0-9\.]+)\s*$/i;
last if defined $domainname;
}
close INPUT;
}
elsif (open(INPUT, "</etc/hostname")) {
$domainname = <INPUT>;
}
}
Install::setdomainname $domainname;
###############################################
# SET THE etcdir ENVIRONMENT VAR INSTEAD #
###############################################
my $etcdir = $ENV{etcdir}||'/etc';
system("mkdir -p $etcdir");
my ($auto_install_file,$auto_install);
GetOptions(
'i:s' => \$auto_install_file,
);
$auto_install = read_autoinstall_file($auto_install_file) if $auto_install_file;
Install::setetcdir $etcdir;
unless (-d 'intranet-html') {
print <<EOP;
You seem to be installing from CVS. Please run the "buildrelease" script
and install from the resulting release tarball.
EOP
exit 1;
}
my $kohaversion=`cat koha.version`;
chomp $kohaversion;
Install::setkohaversion $kohaversion;
if ($kohaversion =~ /RC/) {
releasecandidatewarning();
}
checkabortedinstall();
if (-e "$etcdir/koha.conf") {
my $installedversion=`grep kohaversion= "$etcdir/koha.conf"`;
chomp $installedversion;
$installedversion=~m/kohaversion=(.*)/;
$installedversion=$1;
my $installedversionmsg;
if ($installedversion) {
$installedversionmsg=getmessage('KohaVersionInstalled', [$installedversion]);
} else {
$installedversionmsg=getmessage('KohaUnknownVersionInstalled');
}
my $message=getmessage('KohaAlreadyInstalled', [$etcdir, $kohaversion, $installedversionmsg]);
showmessage($message, 'none');
exit;
}
my $continuingmsg=getmessage('continuing');
my $message=getmessage('WelcomeToKohaInstaller');
my $answer=showmessage($message, 'yn');
if ($answer eq "Y" || $answer eq "y") {
print $continuingmsg;
} else {
print qq|
This installer currently does not support a completely automated
setup.
Please be sure to read the documentation, or visit the Koha website
at http://www.koha.org for more information.
|;
exit;
};
# Check for missing Perl Modules
checkperlmodules($auto_install);
# Ask for installation directories
getapacheinfo($auto_install);
getinstallationdirectories($auto_install);
getdatabaseinfo($auto_install);
getapachevhostinfo($auto_install);
updateapacheconf($auto_install);
# basicauthentication();
installfiles(1,$auto_install);
backupmycnf();
databasesetup($auto_install);
updatedatabase($auto_install);
populatedatabase($auto_install);
restoremycnf();
finalizeconfigfile();
restartapache($auto_install);
showmessage(getmessage('AuthenticationWarning', [$etcdir]), 'PressEnter') unless ($auto_install->{NoPressEnter});
showmessage(getmessage('Completed', [ Install::getservername(), Install::getintranetport(), Install::getservername(), Install::getopacport()]), 'PressEnter');
if (-f "kohareporter") {
my $reply=showmessage('Would you like to complete a survey about your library?', 'yn', 'y');
if ($reply=~/y/i) {
system("perl kohareporter");
}
}
the above is installer script
where to edit and add the code the code
girlajo: Could you paste this tchat at the following address http://pastebin.ca/
I mean all messages we exchange today
Yesan: you mean the installer script alone or the entire chat
girlajo: The entire chat