Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1: −
install memcached for SME9 only
+
==Memcached for SME 10 - needs testing properly==
 +
 
 +
Install EPEL
 +
 
 +
yum install smeserver-extrarepositories-epel
 +
signal-event yum-modify
 +
 
 +
Install
 +
 
 +
yum --enablerepo=epel install memcached php*-pecl-memcached
 +
properly configure the service to run
 +
 +
config set memcached service status enabled TCPPort 11211 access local
 +
mkdir -p /usr/lib/systemd/system/memcached.service.d
 +
printf "[Install]\nWantedBy=sme-server.target" >/usr/lib/systemd/system/memcached.service.d/50koozali.conf
 +
 
 +
apply changes and start
 +
 
 +
/etc/e-smith/events/actions/systemd-default
 +
systemctl enable --now memcached
 +
Check it is running
 +
systemctl status memcached
 +
 
 +
Now you need to test it is working with PHP.
 +
 
 +
 
 +
 
 +
==Memcached for SME9 only==
 +
 
 +
Deprecated.
    
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
Line 11: Line 40:  
service memcached start
 
service memcached start
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
    
[[Category:Howto]]
 
[[Category:Howto]]
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu