[cvs] [Wiki] changed: CentOS5InstallationNotes
Wiki Guest
wikiguest at horde.org
Fri Feb 6 00:20:52 UTC 2009
guest [201.6.87.23] Thu, 05 Feb 2009 19:20:52 -0500
Modified page: http://wiki.horde.org/CentOS5InstallationNotes
New Revision: 1.33
Change log: added memcache info
@@ -344,8 +344,34 @@
service httpd restart
</code>
++ Performance
+
+++++ Memcached
+
+Memcached is a great performance utility. In order to use it you will
need the pecl memcache extension and the memcached package:
+
+<code>yum install php-pecl-memcache memcached</code>
+
+Then, configure the memcached by editing the file /etc/sysconfig/memcached:
+
+<code>
+PORT="11211"
+USER="memcached"
+MAXCONN="1024"
+CACHESIZE="512" <- Amount of memory to use (in MB)
+OPTIONS=""
+</code>
+
+Turn on the service on the default runlevel and start it:
+
+<code>chkconfig memcached on
+service memcached start
+</code>
+
+Finish configurarion on Horde -> Administration -> Setup -> Horde ->
Cache System (and) Memcache Server.
+
+++++ MySQL
You could try to increase mysql performance by enabling query cache feature.
Edit your /etc/my.cnf and add the following under [mysqld]:
More information about the cvs
mailing list