No categories assigned

Memcached

< Setup:Installation Manual‎ | Services and system configuration
Revision as of 15:12, 5 April 2017 by WikiSysop (talk | contribs) (Created page with "{{DISPLAYTITLE:Memcached}} __TOC__ This document describes how to set up the memcached server, with which you can achieve some speed optimization. For the configuration of B...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This document describes how to set up the memcached server, with which you can achieve some speed optimization. For the configuration of BlueSpice, also read the paragraph "Activate Memcached" in the "Caching" article.

Tip for this Document

  • Please, read this manual completely and work through the single installtion steps one after another. 
  • For editing the configuration files with a text editor, the files must be saved in UTF-8 coding without BOM (Byte Order Mark).

Linux

Installation

Install the memcached server in the package manager of your distribution.

Configuration

Open the file that contains the memcached configuration (for example, /etc/memcached.con under Debian / Ubuntu).Locate the -m argument and increase the amount of memory available depending on the capabilities of your server:

-m 1024

Save and close the file, and restart memcached.

Check the Server

Verify that the memcached server is running:

netstat -tulpn | grep 11211

If you receive an output that is similar to this, memcached has started successfully:

 root@bluespice:/var/www/bluespice# netstat -tulpn | grep 11211
 tcp   0 0 127.0.0.1:11211   0.0.0.0:*     LISTEN      15163/memcached
 udp   0 0 127.0.0.1:11211   0.0.0.0:*                 15163/memcached
 root@bluespice:/var/www/bluespice#

Windows

The use of Nick Pirocanac's MemCacheD Manager is highly recommended. This makes the configuration very simple.

Requirements

An installed .NET Framework version 3.5 is required for the MemCacheD Manager.

Download

Downloaden Sie den MemCacheD Manager von software.informer.com.

Installation

Bei der Installation haben Sie kaum Einstellungsmöglichkeiten, können sich also ohne Änderungen durch die Installation "klicken".

Starten des MemCacheD Manager

Starten Sie den MemCacheD Manager aus dem Startmenü immer als Administrator (Rechtklick --> Als Administrator ausführen)!

Konfiguration

  1. Klicken Sie im MemCacheD Manager auf "Add Server"
  2. Geben Sie unter "Server Name" die lokale IP "127.0.0.1" ein und klicken auf "Apply"
  3. Klicken Sie auf "Add Instance"
  4. Geben Sie unter "Instance Name" einen beliebigen Namen ein
  5. Erhöhen Sie unter "Maximum Memory" den zur Verfügung gestellten Arbeitsspeicher je nach den Möglichkeiten Ihres Servers
  6. Klicken Sie auf "Apply"
  7. Starten Sie die neue erstellte Instanz nun mit Klick auf "Ja"

center center center center center

Der Memcached Server ist nun fertig installiert und konfiguriert.

Attachments

Discussions