Changes

Jump to navigation Jump to search
984 bytes added ,  01:07, 7 March 2018
no edit summary
Line 120: Line 120:  
</syntaxhighlight>
 
</syntaxhighlight>
   −
well I got some errors and the files in github says different from doc<syntaxhighlight lang="bash">
+
well I got some errors and the files in github says different from doc
scl enable python 27: test-requirements.txt and requirements.txt for 5.1 branch
+
 
 +
<nowiki>:</nowiki> test-requirements.txt and      requirements.txt for 5.1 branch (NB server asks for requests==2.8.0 while seahub for 2.3.0)<syntaxhighlight lang="bash">
 +
scl enable python 27
      Line 145: Line 147:  
pip install pytz==2015.7
 
pip install pytz==2015.7
   −
</syntaxhighlight>I also see some memcached service is needed...  seahub/avatar/sql/migration.md
+
 
 +
pip install termcolor==1.1.0
 +
pip install prettytable==0.7.2
 +
pip install pexpect==4.0
 +
pip install httpie
 +
pip install django-constance[database]
 +
 
 +
</syntaxhighlight>seafile server would need pip install MySQL-python==1.2.5, which will need mysql devel to compile
 +
 
 +
I also see some memcached service is needed...  seahub/avatar/sql/migration.md
    
====  startup scripts and sme related db ====
 
====  startup scripts and sme related db ====
Line 224: Line 235:  
==== configure httpd reverse proxy ====
 
==== configure httpd reverse proxy ====
 
the easy way is :<syntaxhighlight lang="bash">
 
the easy way is :<syntaxhighlight lang="bash">
 +
db domains setprop seafile.itx.pialasse.com  Nameservers local ProxyPassTarget http://127.0.0.1:8000/ TemplatePath ProxyPassVirtualHosts
 +
 +
signal-event domain-modify seafile.itx.pialasse.com
 +
</syntaxhighlight>more long way:
 +
 +
<syntaxhighlight lang="bash">
 
mkdir /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts/ -p
 
mkdir /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts/ -p
 
cat  > /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts/28SeafileProxyPass <<- 'EndOfMessage'  
 
cat  > /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts/28SeafileProxyPass <<- 'EndOfMessage'  
Line 396: Line 413:  
latter you will be able to do this:
 
latter you will be able to do this:
 
  yum --enablerepo=smecontribs install smeserver-seafile-server {{#var:smecontribname}}
 
  yum --enablerepo=smecontribs install smeserver-seafile-server {{#var:smecontribname}}
 +
 +
=== Client usage ===
 +
If you want to connect locally you need to do the following:<syntaxhighlight lang="bash">
 +
cd ~
 +
mkdir ~/seafile-client
 +
seaf-cli init -d ~/seafile-client
 +
seaf-cli start
 +
seaf-cli download -l "the id of the library" -s  "the url + port of server" -d "the folder where the library folder will be downloaded" -u "username on server" [-p "password"]
 +
seaf-cli status
 +
</syntaxhighlight>
    
=== Uninstall ===
 
=== Uninstall ===
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu