6 Jul
2022
6 Jul
'22
2:48 a.m.
1、install memcached 2、pip install python-memcached [root@mailgroups ~]# su - mailman (venv) [mailman@mailman ~]$ pip install python-memcached 3、(venv) [mailman@mailman ~]$ vi /etc/mailman3/settings.py CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': '127.0.0.1:11211', } } (venv) [mailman@mailgroups ~]$ exit [root@mailgroups ~]# systemctl restart mailmanweb