Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux_wiki:memcached [2016/03/27 23:05] billdozor created |
linux_wiki:memcached [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 16: | Line 16: | ||
- Memcached is in EL 7's base repo. If you are using EL 5/6, you will need to add the EPEL repo. | - 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: | + | - Add the [[linux_wiki: |
- Install memcached< | - Install memcached< | ||
- Start and enable the service | - Start and enable the service | ||
Line 30: | Line 30: | ||
* Edit the config file< | * Edit the config file< | ||
- | PORT=" | + | # Daemon |
USER=" | USER=" | ||
- | MAXCONN=" | + | |
- | CACHESIZE=" | + | # Reserved Cache in MBs |
- | OPTIONS="" | + | CACHESIZE=" |
- | * Defaults above | + | |
- | * PORT => The port memcached will listen on | + | # Memcached Options - Listen on localhost only |
- | * USER => The user that the memcached daemon will run as | + | OPTIONS=" |
- | * MAXCONN | + | |
- | * **CACHESIZE** | + | # Memcached Options - Clear out to listen on any interface |
- | * Probably the only one to modify | + | #OPTIONS="" |
- | | + | |
+ | # Networking | ||
+ | PORT=" | ||
+ | MAXCONN=" | ||
+ | * OPTIONS => Set other daemon options (see man memcaced) | ||
+ | * If you made any config file changes, restart the service. | ||
===== Secure Memcached ===== | ===== Secure Memcached ===== | ||
Memcached does not have any application authentication, | Memcached does not have any application authentication, | ||
- | + | * Either listen locally, or setup firewall rules to protect the cache. | |
- | See pages on [[linux_wiki: | + | |
---- | ---- | ||