Differences
This shows you the differences between two versions of the page.
linux_wiki:memcached [2018/03/23 16:37] billdozor [Secure Memcached] |
linux_wiki:memcached [2019/05/25 23:50] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Memcached ====== | ||
- | |||
- | **General Information** | ||
- | |||
- | Memcached is a " | ||
- | |||
- | Official Site: http:// | ||
- | |||
- | **Checklist** | ||
- | * Distro(s): Enterprise Linux | ||
- | * Repo: [[linux_wiki: | ||
- | |||
- | ---- | ||
- | |||
- | ====== Install Memcached ====== | ||
- | |||
- | - Memcached is in EL 7's base repo. If you are using EL 5/6, you will need to add the EPEL repo. | ||
- | - Add the [[linux_wiki: | ||
- | - Install memcached< | ||
- | - Start and enable the service | ||
- | - EL 6<code bash> | ||
- | chkconfig memcached on</ | ||
- | - EL 7<code bash> | ||
- | systemctl enable memcached</ | ||
- | |||
- | ---- | ||
- | |||
- | ====== Configure Memcached ====== | ||
- | |||
- | * Edit the config file< | ||
- | |||
- | # Daemon | ||
- | USER=" | ||
- | |||
- | # Reserved Cache in MBs | ||
- | CACHESIZE=" | ||
- | |||
- | # Memcached Options - Listen on localhost only | ||
- | OPTIONS=" | ||
- | |||
- | # Memcached Options - Clear out to listen on any interface | ||
- | # | ||
- | |||
- | # Networking | ||
- | PORT=" | ||
- | MAXCONN=" | ||
- | * OPTIONS => Set other daemon options (see man memcaced) | ||
- | * If you made any config file changes, restart the service. | ||
- | |||
- | ===== Secure Memcached ===== | ||
- | |||
- | Memcached does not have any application authentication, | ||
- | * Either listen locally, or setup firewall rules to protect the cache. | ||
- | * See pages on [[linux_wiki: | ||
- | |||
- | ---- | ||