Seafile (http://seafile.com/) is an enterprise file sync and share solution that can make use of ObjSpace for file storage. This guide assumes you are running the Pro version of Seafile which includes S3 support. You can install the 3 user Pro version for free.
Assuming that you have Seafile already install on your server
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
[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:
Change: -m 64 to: -m 128 |
If you are running Debian, you must also copy the CA Server bundle:
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:
service seafile-server restart |

You're now ready to use Seafile with ObjSpace
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|