...
- Create three bucket on ObjSpace for commit, filesystem and block, for example myseafile-commit, myseafile-fs, myseafile-block.
- Login with SSH to the server running Seafile
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 title seafile.conf linenumbers true language text firstline 1 [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
Edit /etc/memcached.conf and change the line to increase startup RAM:
Bloque de Código title memcached.conf language text firstline 1 Change: -m 64 to: -m 128
If you are running Debian, you must also copy the CA Server bundle:
Bloque de Código title Copy CA Server Bundle linenumbers true language bash firstline 1 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
You are now ready to restart Seafile and confirm that its working:
Bloque de Código title Restart Seafile linenumbers true language bash firstline 1 service seafile-server restart
...