Difference between revisions of "Seafile"

From SME Server
Jump to navigationJump to search
Line 28: Line 28:
 
{{#smeversion: ccnet }}
 
{{#smeversion: ccnet }}
 
=== Description ===
 
=== Description ===
<!-- add a description here -->
 
  
 +
==== install needed repo ====
 +
<syntaxhighlight lang="bash">
 +
yum install --enablerepo=smedev,smecontribs smeserver-extrarepositories-epel smeserver-extrarepositories-centos-sclo -y
 +
signal-event yum-modify
 +
</syntaxhighlight>
 +
 +
==== install ====
 +
<syntaxhighlight lang="bash">
 +
yum install --enablerepo=smedev,smecontribs,epel,centos-sclo-rh,centos-sclo-centos seafile-seahub seafile-server
 +
</syntaxhighlight>this will at least pull :
 +
* ccnet-server          x86_64       5.1.3-4.el6.sme         smedev         91 k
 +
* fuse-libs             x86_64       2.8.3-5.el6             base           74 k
 +
* libarchive            x86_64       2.8.3-7.el6_8           base          127 k
 +
* libccnet              x86_64       5.1.3-4.el6.sme         smedev         38 k
 +
* libevent2             x86_64       2.0.21-2.el6            base          193 k
 +
* libevhtp              x86_64       1.2.11n-4.el6.sme       smedev        125 k
 +
* libsearpc             x86_64       3.0.7-3.el6.sme         smedev         27 k
 +
* libzdb                x86_64       3.1-4.el6.sme           smedev         63 k
 +
* postgresql-libs       x86_64       8.4.20-8.el6_9          updates       202 k
 +
* python-ccnet          noarch       5.1.3-4.el6.sme         smedev         37 k
 +
* python-seafile        noarch       5.1.3-1                 smedev         42 k
 +
* seafile-lib          x86_64       5.1.3-1                 smedev         36 k
 +
NB: you will need new version of sqlite  3.7.17-9.el6.sme  from smecontribs.; need to add this in Requires of the seafile-server rpms<syntaxhighlight lang="bash">
 +
yum update sqlite --enablerepo=smedev,smecontribs
 +
</syntaxhighlight>
 +
 +
==== NOT TO DO as already compiled : ====
 +
install prerequesites for seafile -server is still missing. maybe not necessary<syntaxhighlight lang="bash">
 +
yum install libevent libcurl4-openssl libglib  uuid  intltool  libsqlite  libmysqlclient  libarchive    libtool  libjansson  valac  libfuse --enablerepo=epel,smedev,smecontribs
 +
</syntaxhighlight>will miss this
 +
* libcurl4-openssl
 +
* libglib
 +
* libsqlite
 +
* libmysqlclient
 +
* libjansson
 +
* valac
 +
* libfuse
 +
 +
==== install python27 ====
 +
<syntaxhighlight lang="bash">
 +
yum install python27-python sclo-python27-python-chardet python27-python-six  --enablerepo=centos-sclo-rh,epel,centos-sclo-centos
 +
</syntaxhighlight>
 +
 +
==== install prerequesite for seahub ====
 +
those are available for base python, but will be needed against sclo python27<syntaxhighlight lang="bash">
 +
yum install --enablerepo=epel pytz python-django-compressor python-django-post_office python-gunicorn python-flup python-chardet python-dateutil python-six
 +
</syntaxhighlight>
 +
 +
will need pip install or create rpm :
 +
* Django 1.8
 +
* django-statici18n
 +
* djangorestframework
 +
* django-constance (install it by <code>pip install <nowiki>https://github.com/haiwen/django-constance/archive/bde7f7c.zip</nowiki></code>)
 +
* openpyxl
 +
 +
install Django and other python related modules
 +
 +
 +
startup scripts and sme related db
 +
 +
configuration
  
 
=== Installation ===
 
=== Installation ===
Line 53: Line 113:
 
{{#smechangelog: {{#var:smecontribname}} }}
 
{{#smechangelog: {{#var:smecontribname}} }}
  
 
+
=== References ===
<!-- list of category you want to see this page in -->
+
* https://manual.seafile.com/build_seafile/server.html
 +
* <!-- list of category you want to see this page in -->
 
[[Category: Contrib]]
 
[[Category: Contrib]]
 
 
<!-- Please keep there the template revision  number as is -->
 
<!-- Please keep there the template revision  number as is -->

Revision as of 21:29, 28 February 2018




seafile
NeedImage.svg
seafile logo
Maintainer[[user:Jean-Philippe Pialasse|Jean-Philippe Pialasse]]
Urlhttps://wwww.seafile.com
Category

file

Tags cloudfile share


Warning.png Warning:
This is early alpha development please use only on test machine, not for production


Maintainer

Jean-Philippe Pialasse

Version

smeserver-seafile
The latest version of smeserver-seafile is available in the SME repository, click on the version number(s) for more information.


Alpha 9:
seafile
The latest version of seafile is available in the SME repository, click on the version number(s) for more information.


Alpha 9:
seafile-server
The latest version of seafile-server is available in the SME repository, click on the version number(s) for more information.


Alpha 9:
ccnet
The latest version of ccnet is available in the SME repository, click on the version number(s) for more information.


Description

install needed repo

yum install --enablerepo=smedev,smecontribs smeserver-extrarepositories-epel smeserver-extrarepositories-centos-sclo -y
signal-event yum-modify

install

yum install --enablerepo=smedev,smecontribs,epel,centos-sclo-rh,centos-sclo-centos seafile-seahub seafile-server

this will at least pull :

  • ccnet-server          x86_64       5.1.3-4.el6.sme         smedev         91 k
  • fuse-libs             x86_64       2.8.3-5.el6             base           74 k
  • libarchive            x86_64       2.8.3-7.el6_8           base          127 k
  • libccnet              x86_64       5.1.3-4.el6.sme         smedev         38 k
  • libevent2             x86_64       2.0.21-2.el6            base          193 k
  • libevhtp              x86_64       1.2.11n-4.el6.sme       smedev        125 k
  • libsearpc             x86_64       3.0.7-3.el6.sme         smedev         27 k
  • libzdb                x86_64       3.1-4.el6.sme           smedev         63 k
  • postgresql-libs       x86_64       8.4.20-8.el6_9          updates       202 k
  • python-ccnet          noarch       5.1.3-4.el6.sme         smedev         37 k
  • python-seafile        noarch       5.1.3-1                 smedev         42 k
  • seafile-lib x86_64       5.1.3-1                 smedev         36 k

NB: you will need new version of sqlite 3.7.17-9.el6.sme from smecontribs.; need to add this in Requires of the seafile-server rpms

yum update sqlite --enablerepo=smedev,smecontribs

NOT TO DO as already compiled :

install prerequesites for seafile -server is still missing. maybe not necessary

yum install libevent libcurl4-openssl libglib  uuid  intltool   libsqlite  libmysqlclient  libarchive    libtool  libjansson   valac   libfuse --enablerepo=epel,smedev,smecontribs

will miss this

  • libcurl4-openssl
  • libglib
  • libsqlite
  • libmysqlclient
  • libjansson
  • valac
  • libfuse

install python27

yum install python27-python sclo-python27-python-chardet python27-python-six  --enablerepo=centos-sclo-rh,epel,centos-sclo-centos

install prerequesite for seahub

those are available for base python, but will be needed against sclo python27

yum install --enablerepo=epel pytz python-django-compressor python-django-post_office python-gunicorn python-flup python-chardet python-dateutil python-six

will need pip install or create rpm :

  • Django 1.8
  • django-statici18n
  • djangorestframework
  • django-constance (install it by pip install https://github.com/haiwen/django-constance/archive/bde7f7c.zip)
  • openpyxl

install Django and other python related modules


startup scripts and sme related db

configuration

Installation

for now you need to do :

latter you will be able to do this:

yum --enablerepo=smecontribs install smeserver-seafile


Uninstall

yum remove smeserver-seafile  seafile

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-seafile component or use this link


Below is an overview of the current issues for this contrib:

IDProductVersionStatusSummary
10527SME Contribs9.2IN_PROGRESSrebuild with sqlite3 notify support

Changelog

Only released version in smecontrib are listed here.


References