mirror of
https://github.com/haiwen/seafile-server-installer-cn
synced 2024-09-20 08:15:28 +00:00
Merge pull request #53 from haiwen/mem_and_pillow
start memcached and avoid pip timeout error
This commit is contained in:
commit
480b2d77f4
|
@ -165,10 +165,10 @@ yum install python-setuptools MySQL-python memcached python-urllib3 \
|
|||
libreoffice-headless libreoffice-pyuno wqy-microhei-fonts wqy-zenhei-fonts wqy-unibit-fonts \
|
||||
gcc libffi-devel python-devel openssl-devel libmemcached libmemcached-devel python2-pip -y
|
||||
pip install --upgrade pylibmc django-pylibmc
|
||||
pip install Pillow==4.3.0
|
||||
pip install --timeout=3600 Pillow==4.3.0
|
||||
|
||||
# start memcached on system boot
|
||||
systemctl enable memcached
|
||||
systemctl enable --now memcached
|
||||
|
||||
# -------------------------------------------
|
||||
# Install nginx
|
||||
|
|
|
@ -145,7 +145,7 @@ openjdk-8-jre memcached libmemcached-dev zlib1g-dev pwgen curl openssl poppler-u
|
|||
libreoffice-script-provider-python ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy nginx python-requests
|
||||
|
||||
pip install --upgrade pylibmc django-pylibmc
|
||||
pip install Pillow==4.3.0
|
||||
pip install --timeout=3600 Pillow==4.3.0
|
||||
|
||||
rm /etc/nginx/sites-enabled/*
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user