**環境:**CentOS 7 MariaDBpython
**Server ip:**192.168.11.23mysql
安裝rpmfusion源: yum install -y http://mirrors.ustc.edu.cn/rpmfusion/free/el/rpmfusion-free-release-7.noarch.rpm http://mirrors.ustc.edu.cn/rpmfusion/nonfree/el/rpmfusion-nonfree-release-7.noarch.rpmsql
更換epel源爲中科大epel源: sed -e 's!^mirrorlist=!#mirrorlist=!g'
-e 's!^#baseurl=!baseurl=!g'
-e 's!//download.fedoraproject.org/pub!//mirrors.ustc.edu.cn!g'
-e 's!http://mirrors.ustc!https://mirrors.ustc!g'
-i /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel-testing.repojson
安裝依賴: yum install -y python-memcached python-ldap python-urllib3 python-setuptools python-simplejson python-imaging ffmpeg ffmpeg-develmemcached
配置目錄: mkdir /data/hkqlight/installed -purl
下載seafile server安裝包: wget -O /data/hkqlight/installed/seafile-server_6.0.9_x86-64.tar.gz http://seafile-downloads.oss-cn-shanghai.aliyuncs.com/seafile-server_6.0.9_x86-64.tar.gz.net
解壓安裝包: cd /data/hkqlight &&tar zxf /data/hkqlight/installed/seafile-server_6.0.9_x86-64.tar.gzserver
啓動安裝腳本: cd /data/hkqlight/seafile-server-6.0.9 &&./setup-seafile-mysql.sh 圖片
啓動seafile: ./seafile.sh start && ./seahub.sh start ip
登錄網頁
設置爲中文界面 ![a10](https://static.oschina.net/uploads/img/201705/12174721_Hqle.png "a10")