Merge pull request #53 from haiwen/mem_and_pillow

start memcached and avoid pip timeout error
This commit is contained in:
Daniel Pan 2018-08-17 11:04:18 +08:00 committed by GitHub
commit 480b2d77f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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/*