mirror of
https://github.com/haiwen/seafile-server-installer-cn
synced 2024-09-20 08:15:28 +00:00
update the install scripts.
This commit is contained in:
parent
a592f51132
commit
c0b57e5409
|
@ -173,12 +173,7 @@ systemctl status firewalld &> /dev/null \
|
|||
yum install epel-release -y
|
||||
yum upgrade -y
|
||||
|
||||
if [[ ${SEAFILE_VERSION} =~ 7\.[0-9]*\.[0-9]* ]]; then
|
||||
yum install python-setuptools MySQL-python memcached python-urllib3 \
|
||||
pwgen curl openssl python-ldap java-1.8.0-openjdk poppler-utils libreoffice \
|
||||
libreoffice-headless libreoffice-pyuno wqy-microhei-fonts wqy-zenhei-fonts wqy-unibit-fonts \
|
||||
libffi-devel openssl-devel libmemcached -y
|
||||
else
|
||||
if [[ ${SEAFILE_VERSION} =~ 6\.[0-9]*\.[0-9]* ]]; then
|
||||
yum install python-setuptools MySQL-python memcached python-urllib3 \
|
||||
pwgen curl openssl python-ldap java-1.8.0-openjdk poppler-utils libreoffice python-requests \
|
||||
libreoffice-headless libreoffice-pyuno wqy-microhei-fonts wqy-zenhei-fonts wqy-unibit-fonts \
|
||||
|
@ -187,6 +182,11 @@ else
|
|||
pip install pylibmc==1.6.0 django-pylibmc==0.6.1
|
||||
pip install --timeout=3600 Pillow==4.3.0
|
||||
pip install psd-tools==1.4
|
||||
else
|
||||
yum install python-setuptools MySQL-python memcached python-urllib3 \
|
||||
pwgen curl openssl python-ldap java-1.8.0-openjdk poppler-utils libreoffice \
|
||||
libreoffice-headless libreoffice-pyuno wqy-microhei-fonts wqy-zenhei-fonts wqy-unibit-fonts \
|
||||
libffi-devel openssl-devel libmemcached -y
|
||||
fi
|
||||
|
||||
# start memcached on system boot
|
||||
|
|
|
@ -143,11 +143,7 @@ fi
|
|||
# -------------------------------------------
|
||||
apt-get update
|
||||
|
||||
if [[ ${SEAFILE_VERSION} =~ 7\.[0-9]*\.[0-9]* ]]; then
|
||||
apt-get install -y python2.7 sudo python-setuptools python-mysqldb python-ldap python-urllib3 \
|
||||
openjdk-8-jre memcached libmemcached-dev zlib1g-dev pwgen curl openssl poppler-utils libpython2.7 libreoffice \
|
||||
libreoffice-script-provider-python ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy nginx
|
||||
else
|
||||
if [[ ${SEAFILE_VERSION} =~ 6\.[0-9]*\.[0-9]* ]]; then
|
||||
apt-get install -y python2.7 sudo python-pip python-setuptools python-mysqldb python-ldap python-urllib3 \
|
||||
openjdk-8-jre memcached libmemcached-dev zlib1g-dev pwgen curl openssl poppler-utils libpython2.7 libreoffice \
|
||||
libreoffice-script-provider-python ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy nginx python-requests
|
||||
|
@ -155,6 +151,10 @@ else
|
|||
pip install pylibmc==1.6.0 django-pylibmc==0.6.1
|
||||
pip install --timeout=3600 Pillow==4.3.0
|
||||
pip install psd-tools==1.4
|
||||
else
|
||||
apt-get install -y python2.7 sudo python-setuptools python-mysqldb python-ldap python-urllib3 \
|
||||
openjdk-8-jre memcached libmemcached-dev zlib1g-dev pwgen curl openssl poppler-utils libpython2.7 libreoffice \
|
||||
libreoffice-script-provider-python ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy nginx
|
||||
fi
|
||||
|
||||
rm /etc/nginx/sites-enabled/*
|
||||
|
|
Loading…
Reference in New Issue
Block a user