- Install Memcached on the server with the following command:
sudo yum install memcached - Customize the /etc/sysconfig/memcached configuration file as an administrator, with the following changes:
sudo vi /etc/sysconfig/memcached- Increase the memory cap:
CACHESIZE="1024"Note:The memory cap is set in MB. The recommended minimum memory cap is 1024 MB.
- Memcached options to enable listener IP and Disable UDP:
OPTIONS="-l <IP address> -U 0"Note:You may specify multiple IP addresses separated by commas or by using -l multiple times. IP addresses should use the external interface of the Memcached server to ensure the Jamf Pro nodes can connect to the cache. According to the /etc/sysconfig/memcached file, "This parameter is one of the only security measures that memcached has, so make sure it's listening on a firewalled interface".
- Update the port to listen on:
-p <Port>Note:The default port that's used is 11211. You must ensure that any firewalls allow inbound traffic on the the port specified. If you change the port, it must be specified within this file and also within the memcached.properties file located on the Jamf Pro server.
- Increase the memory cap:
- Start the service with the following command:
sudo systemctl start memcached.service - Enable the service with the following command:
systemctl enable memcached.service - Continue to steps for Enabling Memcached.
- Repeat for any additional Memcached endpoints.