【Seafile】Seafile私有云方案

Posted by 橙叶 on Tue, Oct 4, 2016
2016-10-03-1
相比于ownCloud,Seafile进程式方案显然更适合大型文件处理、工作更稳定,目前提供个人家庭和企业两个版本
安装Seafile说实话比ownCloud还简单(ownCloud主要是LAMP的环境繁琐)。

首先安装一下环境

  • python 2.7 (从 Seafile 5.1 开始,python 版本最低要求为2.7)
  • python-setuptools
  • python-imaging
  • python-mysqldb
  • python-ldap
  • python-urllib3
  • python-memcache (或者 python-memcached)

# 在Debian/Ubuntu系统下

apt-get update apt-get install python2.7 python-setuptools python-imaging python-ldap 
python-mysqldb python-memcache python-urllib3


# 在 CentOS 7 下>

yum install python-setuptools python-imaging python-ldap MySQL-python python-memcached 
python-urllib3

环境上一定Python一定要2.7版本,如果不是要换个源


# wget http://download-cn.seafile.com/seafile-server_6.0.4_x86-64.tar.gz

# tar -zxvf seafile-server_6.0.4_x86-64.tar.gz

# mv seafile-server_6.0.4_x86-64  seafile

简单来说就是把Seafile下载下来,解压,给文件夹改个名。


# cd seafile

#./setup-seafile.sh

跟据提示完成简单配置

 

# ./seafile.sh start

[10/03/16 10:44:47] ../common/session.c(132): using config file /root/conf/ccnet.conf Starting seafile server, please wait … Seafile server started

Done.

./seahub.sh start

LANG is not set in ENV, set to en_US.UTF-8 LC_ALL is not set in ENV, set to en_US.UTF-8 Starting seahub at port 8000 …


It’s the first time you start the seafile server. Now let’s create the admin account

What is the email for the admin account? [ admin email ] What is the password for the admin account? [ admin password ]

Enter the password again: [ admin password again ]


Successfully created seafile admin

Seahub is started

Done.

设置管理员账户邮箱和密码

浏览器输入以下地址 http://你的服务器地址:8000/ 2016-10-03

我认为Seafile在功能上是不如ownCloud的,性能上优于ownCloud。仅个人家庭版来说,Seafile能提供的功能较少,而ownCloud能够通过大量插件进行功能扩展。二者界面设计上不相上下,均采用响应式设计。Seafile在存储文件时采用分割切片,这样即使root用户也无法直接查看文件,ownCloud采用文件原样存储,不过也可以进行服务器端加密。

Seafile也提供了不同系统的客户端,都可以免费下载使用(ownCloud 安卓和IOS均售0.99$)

 



comments powered by Disqus