Hi,
on my Raspberry Pi 2 Model ( with installed Gentoo linux operating system ) I have set up a running Moodle site.
I'm trying to set up here Moodle to use memcached.
I think this way I can speed up my little Moodle site: http://www.cspl.hu/moodle .
My setup is not working yet so I commanted out these lines in nginx.conf:
# location / {
# set $memcached_key "$uri?$args";
# memcached_pass unix:/var/run/memcached/memcached.sock;
# }
Simptoms are, when these line are uncommented:
http://www.cspl.hu has no light green background,
http://www.cspl.hu/moodle site does not work at all.
What I did sofar are..
Installing packages:
emerge -aj dev-libs/libevent
emerge -aj net-misc/memcached
edit /etc/conf.d/memcached
LISTENON=""
SOCKET="/var/run/memcached/memcached.sock"
/etc/init.d/memcached start
edit /etc/nginx/nginx.conf
server {
listen 80;
server_name www.cspl.hu;
etc.
location / {
set $memcached_key "$uri?$args";
memcached_pass unix:/var/run/memcached/memcached.sock;
}
}
edit /etc/shorewall/rules
# memcached
ACCEPT $FW net tcp 11211
ACCEPT $FW net udp 11211
In my Moodle site administration try to see whether memcached works, but do not understand what should I do here in the Moodle Administration?
What should I do more to get my Moodle site running with memcached?
Best, Pali