Installing Memcached
Install Memcached on the controller node.
- Install the Memcached component.
yum install memcached python3-memcached
- Modify the /etc/sysconfig/memcached file.
- Open the /etc/sysconfig/memcached file.
vi /etc/sysconfig/memcached
- Press i to enter the insert mode and add the following content to OPTIONS:
OPTIONS="-l 127.0.0.1,::1,controller"
- Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
- Open the /etc/sysconfig/memcached file.
- Start the Memcached service and configure it to start upon system startup.
systemctl enable memcached.service systemctl start memcached.service
- Optional: After the Memcached service is started, view the service status as required.
memcached-tool controller stats
Parent topic: Configuring the Deployment Environment