User Tools

Site Tools


freebsd:seafile_with_apache_https

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
freebsd:seafile_with_apache_https [2019/02/22 11:41]
tschulz [Apache Setup]
freebsd:seafile_with_apache_https [2019/02/22 11:55] (current)
tschulz [Apache Setup]
Line 96: Line 96:
 </​file>​ </​file>​
   * Be sure to change **<​FQDN>​** at **ServerName**,​ **SSLCertificateFile**,​ and **SSLCertificateKeyFile**.   * Be sure to change **<​FQDN>​** at **ServerName**,​ **SSLCertificateFile**,​ and **SSLCertificateKeyFile**.
 +  * Change **"​SERVICE_URL"​** in **/​usr/​local/​www/​haiwen/​conf/​ccnet.conf**<​file bash /​usr/​local/​www/​haiwen/​conf/​ccnet.conf>​
 +...
 +SERVICE_URL = https://<​FQDN>​
 +...
 +</​file>​
 +  * Add **"​FILE_SERVER_ROOT"​** to **"/​usr/​local/​www/​haiwen/​conf/​seahub_settings.py"​**<​file python /​usr/​local/​www/​haiwen/​conf/​seahub_settings.py>​
 +...
 +FILE_SERVER_ROOT = '​https://<​FQDN>/​seafhttp'​
 +...
 +</​file>​
  
 +===== Set Automatic Startup ===== 
 +  * We end where we started "/​etc/​rc.conf"​. ​ Add the following to enable startup of seafile,​seahub,​ and apache<​file bash /​etc/​rc.conf>​ 
 +... 
 +LANG="​en_US.UTF-8"​ 
 +LC_ALL="​en_US.UTF-8"​ 
 +seafile_enable="​YES"​ 
 +seahub_enable="​YES"​ 
 +apache24_enable="​YES"​ 
 +... 
 +</​file>​ 
 +  * Finally either restart or run the following to get everything running:<​file bash> 
 +service seafile start 
 +service seahub start 
 +service apache24 start 
 +</​file>​
  
  
freebsd/seafile_with_apache_https.1550857276.txt.gz · Last modified: 2019/02/22 11:41 by tschulz