-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
# Installing Emilda 1.2alpha on Debian/Sarge
### NO GUARANTEES ### MAY HAVE TYPOS ### MAY DESTROY YOUR SYSTEM ###
# I have my database and web server on the same machine, and used
# Debian packages for everything except Emilda itself. I'm not using LDAP.
# These steps do not work for Emilda 1.1.0, since it requires a different
# version of packages needed to access MySQL that what Debian currently
# has available (while these can be built from scratch, I'm too lazy).
# I use sudo and fakeroot so I don't have to be root so much. You may
# install them using apt. If you don't use them, then you can log on as
# root instead.
su -
apt-get install sudo fakeroot
# set your sudo permissions:
visudo
# make sure to uncomment/add following are in your sources.list:
# deb http://users.adelphia.net/~david.everly emilda/sarge/
# deb http://www.indexdata.dk/debian indexdata/sarge released
sudo nvi /etc/apt/sources.list
sudo apt-get update
sudo apt-get install apache mysql-server libyaz yaz php4 php4-gd php4-mysql
php4-yaz libdbd-mysql-perl libapache-mod-perl idzebra idzebra-doc
libgd-barcode-perl libhtml-htmldoc-perl libidzebra-perl libmarc-record-perl
libnet-z3950-perl
# htmldoc was not yet moved from Debian/Sid to Debian/Sarge so I had to
# download it from Debian/Sid before the above would work:
wget
http://ftp.us.debian.org/debian/pool/main/h/htmldoc/htmldoc_1.8.23-1.1_i386.deb
sudo dpkg -i htmldoc_1.8.23-1.1_i386.deb
sudo apt-get -f install
# After installing the required packages, we can now begin with
# the actual Emilda install:
tar zxvf emilda-1.2-alpha.tar.gz
cd /var/www
sudo cp -r /path/to/emilda-1.2-alpha/src emilda
sudo cp -r /path/to/emilda-1.2-alpha/sql .
cd emilda
sudo tar zxvf /path/to/emilda-zebra-folder-1.2-alpha.tar.gz
sudo chown -R www-data:www-data perl/barcodes
sudo chown -R www-data:www-data zebra
cd perl
sudo ./read_Lint.pl
sudo mkdir /var/log/emilda
sudo chown -R www-data:www-data /var/log/emilda
# Add/uncomment the following to the bottom of your httpd.conf file
#Alias /emilda/perl/ /var/www/emilda/perl/
#<Location /emilda/perl>
# SetHandler perl-script
# PerlHandler Apache::Registry
# Options +ExecCGI
#</Location>
#
#<Directory /var/www/emilda>
# DirectoryIndex index.php
# AddHandler cgi-script .cgi .pl
# php_value include_path .:lib
# Options ExecCGI FollowSymLinks
#</Directory>
sudo nvi /etc/apache/httpd.conf
sudo /etc/init.d/apache reload
# in a separate shell, start set up zebra and start its server
# this should always run when you use emilda (think about an init script)
cd /var/www/emilda/zebra
sudo -H -u www-data zebraidx init
sudo -H -u www-data zebraidx -g emilda update records
sudo -H -u www-data zebraidx commit
sudo -H -u www-data zebrasrv
# set up the database by giving root a password as described in
# /usr/share/doc/mysql-server/README.Debian (near the bottom)
# you my also want to set up a /root/.my.cnf
# I am not providing instruction for that here
# Set up your emilda database
mysql --user=root --password='rootpass'
create database emilda;
grant all privileges on emilda.* to emilda@localhost identified by
'emildapassword';
exit;
# in your browser go to http://localhost/emilda/setup.php
# enter your emildapassword from above and click install
# scroll down and copy and paste the mysql_* lines into
sudo nvi /var/www/emilda/config
sudo chown www-data:www-data /var/www/emilda/config
sudo chmod go-rwx /var/www/emilda/config
# in your browser, go to http://localhost/emilda
# enter admin for the username
# enter test for the password
# immediately click to the Gears (Management)
# click Configuration
# click General Configuration
# select System
# change barcode_path to /var/www/emilda/perl/barcodes/
# click update
# Now you might have a basic working system
- --
Encrypted Mail Preferred:
Key ID: 8527B9AF
Key Fingerprint: E1B6 40B6 B73F 695E 0D3B 644E 6427 DD74 8527 B9AF
Information: http://www.gnupg.org/
ASCII ribbon campaign:
() against HTML email
/\ against Microsoft attachments
Information: http://www.expita.com/nomime.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFA9v2SZCfddIUnua8RAhREAJ9MrAt08IDXElFjLzqC81uwBxVHuACfUyvx
I2vdfZaXq9EaqsgtA9zYHvY=
=M8vb
-----END PGP SIGNATURE-----
|