[Koha-bugs] [Bug 10733] Memcached on package installs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 13 15:41:24 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10733

--- Comment #15 from M. Tompsett <mtompset at hotmail.com> ---
I generated a generic koha-sites.conf:
DOMAIN=".myDNSname.org"  # Change this to be your domain.
INTRAPORT="80"
INTRAPREFIX=""
INTRASUFFIX="-intra"
DEFAULTSQL=""
OPACPORT="80"
OPACPREFIX=""
OPACSUFFIX=""
ZEBRA_MARC_FORMAT="marc21"
ZEBRA_LANGUAGE="en"
# Create 0-7 based on this binary scheme. Similar to command-line cases.
USE_MEMCACHED="no"    # no=0, yes=1
MEMCACHED_SERVERS=""  # ""=0, "machinea:911"=1
MEMCACHED_PREFIX=""   # ""=0, "test_"=1


My test cases that I started with, but haven't had a chance to restart:
sudo cp /etc/koha/koha-sites.conf_0 /etc/koha/koha-sites.conf
sudo koha-create --create-db memctest0
sudo grep -i memcache /etc/apache2/sites-available/memctest0
sudo grep -i memcache /etc/koha/sites/memctest0/koha-conf.xml

sudo cp /etc/koha/koha-sites.conf_1 /etc/koha/koha-sites.conf
sudo koha-create --create-db memctest1
sudo grep -i memcache /etc/apache2/sites-available/memctest1
sudo grep -i memcache /etc/koha/sites/memctest1/koha-conf.xml

sudo cp /etc/koha/koha-sites.conf_2 /etc/koha/koha-sites.conf
sudo koha-create --create-db memctest2
sudo grep -i memcache /etc/apache2/sites-available/memctest2
sudo grep -i memcache /etc/koha/sites/memctest2/koha-conf.xml

sudo cp /etc/koha/koha-sites.conf_3 /etc/koha/koha-sites.conf
sudo koha-create --create-db memctest3
sudo grep -i memcache /etc/apache2/sites-available/memctest3
sudo grep -i memcache /etc/koha/sites/memctest3/koha-conf.xml

sudo cp /etc/koha/koha-sites.conf_4 /etc/koha/koha-sites.conf
sudo koha-create --create-db memctest4
sudo grep -i memcache /etc/apache2/sites-available/memctest4
sudo grep -i memcache /etc/koha/sites/memctest4/koha-conf.xml

sudo cp /etc/koha/koha-sites.conf_5 /etc/koha/koha-sites.conf
sudo koha-create --create-db memctest5
sudo grep -i memcache /etc/apache2/sites-available/memctest5
sudo grep -i memcache /etc/koha/sites/memctest5/koha-conf.xml

sudo cp /etc/koha/koha-sites.conf_6 /etc/koha/koha-sites.conf
sudo koha-create --create-db memctest6
sudo grep -i memcache /etc/apache2/sites-available/memctest6
sudo grep -i memcache /etc/koha/sites/memctest6/koha-conf.xml

sudo cp /etc/koha/koha-sites.conf_7 /etc/koha/koha-sites.conf
sudo koha-create --create-db memctest7
sudo grep -i memcache /etc/apache2/sites-available/memctest7
sudo grep -i memcache /etc/koha/sites/memctest7/koha-conf.xml

I hope to see the command-line test cases 2, 4, and 6 behave similarly to the
koha-sites.conf versions.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list