Árbol de páginas

Versiones Comparadas

Clave

  • Estas líneas han sido añadidas. Esta palabra fue añadida.
  • Estas líneas han sido eliminadas. Esta palabra fue eliminada.
  • El formato fue cambiado.

...

  1. Create three bucket on ObjSpace for commit, filesystem and block, for example myseafile-commit, myseafile-fs, myseafile-block.
  2. Login with SSH to the server running Seafile
  3. Edit /opt/seafile/conf/seafile.conf with your usual editor and add the following configuration, substituting your bucket names from step 1 and your Access/Secret keys

    Bloque de Código
    titleseafile.conf
    linenumberstrue
    languagetext
    firstline1
    [commit_object_backend]
    name = s3
    bucket = YOUR_COMMIT_BUCKET
    key_id = YOURACCESSKEY
    key = YOURSECRETKEY
    host = obj.space:443
    port = 443
    use_https = true
    memcached_options = --SERVER=localhost --POOL-MIN=10 --POOL-MAX=100
    [fs_object_backend]
    name = s3
    bucket = YOUR_FILESYSTEM_BUCKET
    key_id = YOURACCESSKEY
    key = YOURSECRETKEY
    host = obj.space:443
    port = 443
    use_https = true
    memcached_options = --SERVER=localhost --POOL-MIN=10 --POOL-MAX=100
    [block_backend]
    name = s3
    bucket = YOUR_BLOCK_BUCKET
    key_id = YOURACCESSKEY
    key = YOURSECRETKEY
    host = obj.space:443
    port = 443
    use_https = true
    memcached_options = --SERVER=localhost --POOL-MIN=10 --POOL-MAX=100
  4. Edit /etc/memcached.conf and change the line to increase startup RAM:

    Bloque de Código
    titlememcached.conf
    languagetext
    firstline1
    Change:
    
    -m 64
    
    to:
    
    -m 128
  5. If you are running Debian, you must also copy the CA Server bundle:

    Bloque de Código
    titleCopy CA Server Bundle
    linenumberstrue
    languagebash
    firstline1
    sudo mkdir -p /etc/pki/tls/certs
    sudo cp /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt
    sudo ln -s /etc/pki/tls/certs/ca-bundle.crt /etc/pki/tls/cert.pem
  6. You are now ready to restart Seafile and confirm that its working:

    Bloque de Código
    titleRestart Seafile
    linenumberstrue
    languagebash
    firstline1
    service seafile-server restart

...