mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-26 02:32:50 +00:00
update Setup Memory Cache
This commit is contained in:
parent
6cc2e11ee6
commit
31b481d1ff
|
|
@ -426,6 +426,9 @@ Memory cache is mandatory for pro edition. You may use Memcached or Reids as cac
|
||||||
```
|
```
|
||||||
# on Debian/Ubuntu 18.04+
|
# on Debian/Ubuntu 18.04+
|
||||||
apt-get install memcached libmemcached-dev -y
|
apt-get install memcached libmemcached-dev -y
|
||||||
|
|
||||||
|
# activate the venv
|
||||||
|
source python-venv/bin/activate
|
||||||
pip3 install --timeout=3600 pylibmc django-pylibmc
|
pip3 install --timeout=3600 pylibmc django-pylibmc
|
||||||
|
|
||||||
systemctl enable --now memcached
|
systemctl enable --now memcached
|
||||||
|
|
@ -452,6 +455,9 @@ Memory cache is mandatory for pro edition. You may use Memcached or Reids as cac
|
||||||
```
|
```
|
||||||
# on Debian/Ubuntu 18.04+
|
# on Debian/Ubuntu 18.04+
|
||||||
apt-get install -y redis-server libhiredis-dev
|
apt-get install -y redis-server libhiredis-dev
|
||||||
|
|
||||||
|
# activate the venv
|
||||||
|
source python-venv/bin/activate
|
||||||
pip3 install redis django-redis
|
pip3 install redis django-redis
|
||||||
|
|
||||||
systemctl enable --now redis-server
|
systemctl enable --now redis-server
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue