sudo apt-get install libexpat1-dev
wget http://mirrors.kernel.org/ubuntu/pool/universe/o/openssl097/libssl0.9.7_0.9.7k-3_i386.deb
sudo dpkg -i libssl0.9.7_0.9.7k-3_i386.deb
deb http://ftp.indexdata.dk/debian indexdata/sarge released
deb-src http://ftp.indexdata.dk/debian indexdata/sarge released
Installer la clef publique qu'
IndexData utilise pour signer ses paquets:
wget http://ftp.indexdata.dk/debian/indexdata.asc
sudo apt-key add indexdata.asc
sudo apt-get update
sudo apt-get install yaz
sudo apt-get install idzebra
Installer les modules
Perl nécessaires :
Note 1 : Au premier démarrage de CPAN, des questions vous seront posées. Laissez les réponses par défaut dans la majorité des cas
Note 2 : Ne pas installer de modules optionnels lorsque le système le demande
sudo apt-get install gzip tar unzip make lynx wget gcc libgcrypt-dev libgdbm-dev libxml2-dev libyaz-dev ncftp daemon
sudo perl -MCPAN -e 'install HTML::Template::Pro'
sudo perl -MCPAN -e 'install Lingua::Stem'
sudo perl -MCPAN -e 'install XML::SAX'
sudo perl -MCPAN -e 'install Class::Accessor'
sudo perl -MCPAN -e 'install MARC::Record'
sudo perl -MCPAN -e 'install MARC::Charset'
sudo perl -MCPAN -e 'install MARC::File::XML'
sudo perl -MCPAN -e 'install XML::LibXML::SAX::Parser'
sudo perl -MCPAN -e 'force install CGI::Session::Serialize::yaml'
sudo perl -MCPAN -e 'install CGI::Session'
sudo perl -MCPAN -e 'install Class::Factory::Util'
sudo perl -MCPAN -e 'install Date::ICal'
sudo perl -MCPAN -e 'install Date::Calc'
sudo perl -MCPAN -e 'install Date::Manip'
sudo perl -MCPAN -e 'install GD::Barcode::UPCE'
sudo perl -MCPAN -e 'install List::MoreUtils'
sudo perl -MCPAN -e 'install MARC::Crosswalk::DublinCore'
sudo perl -MCPAN -e 'install Mail::Sendmail'
sudo perl -MCPAN -e 'install Net::LDAP'
sudo perl -MCPAN -e 'install Net::LDAP::Filter'
sudo perl -MCPAN -e 'install Net::Z3950::ZOOM'
sudo perl -MCPAN -e 'install PDF::API2'
sudo perl -MCPAN -e 'install PDF::API2::Page'
sudo perl -MCPAN -e 'install PDF::API2::Util'
sudo perl -MCPAN -e 'install PDF::Reuse'
sudo perl -MCPAN -e 'install POE'
sudo perl -MCPAN -e 'install Schedule::At'
sudo perl -MCPAN -e 'install Text::CSV'
sudo perl -MCPAN -e 'install Text::CSV_XS'
sudo perl -MCPAN -e 'install Text::Iconv'
sudo perl -MCPAN -e 'install XML::Dumper'
sudo perl -MCPAN -e 'install XML::LibXML'
sudo perl -MCPAN -e 'install XML::LibXSLT'
sudo perl -MCPAN -e 'install XML::RSS'
sudo perl -MCPAN -e 'install XML::Simple'
sudo perl -MCPAN -e 'install YAML::Syck'
sudo perl -MCPAN -e 'install Data::ICal'
sudo perl -MCPAN -e 'install PDF::Reuse::Barcode'
sudo perl -MCPAN -e 'install Biblio::EndnoteStyle'
sudo perl -MCPAN -e 'install Algorithm::CheckDigits'
Installer
CGI::Session depuis les sources ( Un bug dans syck oblige cette étape )
wget http://search.cpan.org/CPAN/authors/id/M/MA/MARKSTOS/CGI-Session-4.30.tar.gz
tar -xvzf CGI-Session-4.30.tar.gz
cd CGI-Session-4.30
perl Makefile.PL
make
make test
sudo make install
Installer Apache2
sudo apt-get install apache2
-
sudo apt-get install mysql-server
apt-get install phpmyadmin
ln -s /usr/share/phpmyadmin /var/www/phpmyadmin
useradd koha
passwd koha
GRANT ALL PRIVILEGES ON * . * TO 'kohaadmin'@'localhost' IDENTIFIED BY 'mot_de_passe' WITH GRANT OPTION ;
CREATE DATABASE `koha` ;
mkdir /build
cd /build
wget http://download.koha.org/koha-3.00.00-beta2.tar.gz
tar -xzvf koha-3.00.00-beta2.tar.gz
cd koha-3.00.00-beta2
perl Makefile.PL
make
make test
sudo make install
sudo ln -s /etc/koha/koha-httpd.conf /etc/apache2/sites-available/koha
sudo a2enmod rewrite
sudo a2ensite koha
sudo /etc/init.d/apache2 restart
sudo ln -s /usr/share/koha/bin/koha-zebra-ctl.sh /etc/init.d/koha-zebra-daemon
sudo update-rc.d koha-zebra-daemon defaults
sudo /usr/share/koha/bin/koha-zebra-ctl.sh start
sudo ln -s /usr/share/koha/bin/koha-zebraqueue-ctl.sh /etc/init.d/koha-zebraqueue-daemon
sudo update-rc.d koha-zebraqueue-daemon defaults
sudo /usr/share/koha/bin/koha-zebraqueue-ctl.sh start