Changes

From SME Server
Jump to navigationJump to search
211 bytes added ,  06:46, 1 March 2018
no edit summary
Line 118: Line 118:  
yum remove gcc cpp cloog-ppl mpfr ppl autoconf automake gettext-devel gettext-libs libart_lgpl libgcj glib2-devel
 
yum remove gcc cpp cloog-ppl mpfr ppl autoconf automake gettext-devel gettext-libs libart_lgpl libgcj glib2-devel
 
yum remove python27-python-devel scl-utils-build
 
yum remove python27-python-devel scl-utils-build
 +
</syntaxhighlight>
 +
 +
====  startup scripts and sme related db ====
 +
 +
==== configuration ====
 +
 +
==== Start server ====
 +
<syntaxhighlight lang="bash">
 +
cd /opt/rh/python27/root/usr/lib/python2.7/site-packages/
 +
ln /usr/lib/python2.6/site-packages/seaserv seaserv -s
 +
ln /usr/lib/python2.6/site-packages/seafile seafile -s
 +
ln /usr/lib/python2.6/site-packages/ccnet ccnet -s
 +
cd /opt/rh/python27/root/usr/lib64/python2.7/site-packages/
 +
ln /usr/lib64/python2.6/site-packages/pysearpc pysearpc -s
 +
 +
scl enable python27 bash
 +
mkdir /opt/seafile/;
 +
cd  /opt/seafile/;
 +
mkdir seafile-server/
 +
mkdir seafile-server/runtime
 +
cd seafile-server/
 +
ln /usr/share/seafile-seahub seahub -s
 +
cd /opt/seafile/
 +
 +
export PYTHONPATH=/usr/share/seafile-seahub/thirdpart
 +
 +
seafile-admin setup
 +
 +
touch seahub.db
 
</syntaxhighlight>-----------------------------------------------------------------
 
</syntaxhighlight>-----------------------------------------------------------------
   Line 144: Line 173:  
for more information.
 
for more information.
   −
====  startup scripts and sme related db ====
  −
  −
==== configuration ====
  −
  −
==== Start server ====
   
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
cd /opt/rh/python27/root/usr/lib/python2.7/site-packages/
+
# seafile-admin start
ln /usr/lib/python2.6/site-packages/seaserv seaserv -s
  −
ln /usr/lib/python2.6/site-packages/seafile seafile -s
  −
ln /usr/lib/python2.6/site-packages/ccnet ccnet -s
  −
cd /opt/rh/python27/root/usr/lib64/python2.7/site-packages/
  −
ln /usr/lib64/python2.6/site-packages/pysearpc pysearpc -s
     −
scl enable python27 bash
+
Starting seafile-server...
mkdir /opt/seafile/;
+
Starting seahub...
cd  /opt/seafile/;
+
Seahub running on port 8000
mkdir seafile-server/
+
Done
mkdir seafile-server/runtime
  −
cd seafile-server/
  −
ln /usr/share/seafile-seahub seahub -s
  −
cd /opt/seafile/
     −
export PYTHONPATH=/usr/share/seafile-seahub/thirdpart
+
</syntaxhighlight>
   −
seafile-admin setup
+
==== configure httpd reverse proxy ====
</syntaxhighlight>
      
=== Installation ===
 
=== Installation ===
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu