pip install --upgrade Pillow

This commit is contained in:
lian 2017-06-13 15:56:42 +08:00
parent 800e65c5ee
commit 9303aa91fb
2 changed files with 6 additions and 2 deletions

View File

@ -160,10 +160,12 @@ firewall-cmd --reload
# extra packages for enterprise linux
yum install epel-release -y
yum upgrade -y
yum install python-setuptools python-imaging MySQL-python python-memcached memcached python-urllib3 \
yum install python-setuptools python-pip MySQL-python python-memcached memcached python-urllib3 \
pwgen curl openssl python-ldap java-1.7.0-openjdk poppler-utils libreoffice python-requests \
libreoffice-headless libreoffice-pyuno wqy-microhei-fonts wqy-zenhei-fonts wqy-unibit-fonts -y
pip install --upgrade Pillow
# start memcached on system boot
systemctl enable memcached

View File

@ -140,10 +140,12 @@ fi
# Additional requirements
# -------------------------------------------
apt-get update
apt-get install -y python2.7 sudo python-pip python-setuptools python-imaging python-mysqldb python-ldap python-urllib3 \
apt-get install -y python2.7 sudo python-pip python-setuptools python-mysqldb python-ldap python-urllib3 \
openjdk-8-jre memcached python-memcache pwgen curl openssl poppler-utils libpython2.7 libreoffice \
libreoffice-script-provider-python ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy nginx python-requests
pip install --upgrade Pillow
rm /etc/nginx/sites-enabled/*
cat > /etc/nginx/sites-available/seafile.conf <<'EOF'