# Amazom S3 下安裝
為了安裝 Seafile 專業版服務器并使用亞馬遜 S3,您需要:
- 按照 [下載安裝 Seafile 專業版服務器](#) 指南安裝基本的 Seafile 專業版服務器。
- 安裝 python 的 `boto` 庫。它可以用來訪問 S3 服務。
~~~
sudo easy_install boto
~~~
-
安裝和使用 Memcached.
-
編輯 `/data/haiwen/seafile-data/seafile.conf` 文件,添加下面幾行:
~~~
[commit_object_backend]
name = s3
# bucket 的名字只能使用小寫字母,數字,點號,短劃線
bucket = my.commit-objects
key_id = your-key-id
key = your-secret-key
memcached_options = --SERVER=localhost --POOL-MIN=10 --POOL-MAX=100
[fs_object_backend]
name = s3
# bucket 的名字只能使用小寫字母,數字,點號,短劃線
bucket = my.fs-objects
key_id = your-key-id
key = your-secret-key
memcached_options = --SERVER=localhost --POOL-MIN=10 --POOL-MAX=100
[block_backend]
name = s3
# bucket 的名字只能使用小寫字母,數字,點號,短劃線
bucket = my.block-objects
key_id = your-key-id
key = your-secret-key
memcached_options = --SERVER=localhost --POOL-MIN=10 --POOL-MAX=100
~~~
建議您為 commit,fs 和 block objects 分別創建 buckets。key_id 和 key 用來提供 S3 的身份認證。您可以在您的 AWS 賬戶頁面的"安全證書"段找到 key_id 和 key。
當您在 S3 上創建 buckets 時,請先閱讀 [S3 bucket 命名規則](http://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html "the bucket naming rules")。注意, 尤其不要在 bucket 的名字中使用**大寫**字母(不要使用駱駝式命名法,比如 MyCommitOjbects)。
為了獲得最佳性能,強烈建議您安裝 memcached 并且為 objects 啟用 memcache。
- 介紹
- 概覽
- Seafile 組件
- 研發路線圖
- 常見問題解答
- 修改日志
- 我要參與
- Linux 下部署 Seafile 服務器
- 部署 Seafile 服務器(使用 SQLite)
- 部署 Seafile 服務器(使用 MySQL)
- Nginx 下配置 Seahub
- Nginx 下啟用 Https
- Apache 下配置 Seahub
- Apache 下啟用 Https
- Seafile LDAP 配置
- 開機啟動 Seafile
- 防火墻設置
- Logrotate 管理系統日志
- 使用 Memcached
- 使用 NAT
- 非根域名下部署 Seahub
- 從 SQLite 遷移至 MySQL
- 安裝常見問題
- 升級
- Windows 下部署 Seafile 服務器
- 下載安裝 Windows 版 Seafile 服務器
- 安裝 Seafile 為 Windows 服務
- 所用端口說明
- 升級
- 從 Windows 遷移到 Linux
- 垃圾回收
- 部署 Seafile 專業版服務器
- 下載安裝 Seafile 專業版服務器
- 從社區版遷移至專業版
- 升級
- Amazon S3 下安裝
- OpenStackSwift 下安裝
- Ceph 下安裝
- 配置選項
- 文件搜索說明
- 集群部署
- 集群中啟用搜索和后臺服務
- NFS 下集群安裝
- 常見問題解答
- 軟件許可協議
- 服務器個性化配置
- ccnet.conf
- seafile.conf
- seahub_settings.py
- 發送郵件提醒
- 個性化郵件提醒
- 用戶管理
- 存儲容量與文件上傳/下載大小限制
- 自定義 Web
- 管理員手冊
- 賬戶管理
- 日志
- 備份與恢復
- Seafile FSCK
- Seafile GC
- WebDAV 和 FUSE 擴展
- WebDAV 擴展
- FUSE 擴展
- 安全選項
- 安全特性
- 日志和審計
- 開發文檔
- 編譯 Seafile
- Linux
- Windows
- Max OS X
- Server
- 開發環境
- 編程規范
- Web API
- Python API
- 數據模型
- 服務器組件
- 同步算法