# object storage
安裝
yum install \(git\) curl \(gcc\) memcached rsync sqlite \ \(libffi-devel\) xinetd python-coverage \(python-setuptools\) \ python-devel python-nose python-simplejson pyxattr \ python-eventlet python-greenlet python-paste-deploy \ python-netifaces python-dns python-mock \ \(python-pip\) python-requests python-futures python-six Note: \(xxx\) 表示 裝在 build server 就可以了. -- libffi-devel 也要裝在 build serverswift client commnads (http:\/\/docs.openstack.org\/cli-reference\/swift.html)
> set metadata swift -A http://127.0.0.1:8088/auth/v1.0 -U test:tester -K testing post con-2 -m id:2 -m tryme:ok > delete metadata (multiple remove header can be sent) swift -A http://127.0.0.1:8088/auth/v1.0 -U test:tester -K testing post con-2 -H 'X-Remove-Container-Meta-tryme:ok' > list swift -A http://127.0.0.1:8088/auth/v1.0 -U test:tester -K testing listTroubleshoot
> config log level 在proxy-server.conf, account-server.conf, container-server.conf and object-server.conf 將 [DEFAULT]的 log_level設為DEBUG log_level 分為 DEBUG, INFO, AUDIT, WARNING, ERROR, CRITICAL, and TRACE.ssl
http:\/\/lingxiankong.github.io\/blog\/2014\/02\/06\/openstack-ssl\/
http:\/\/www.thegeekstuff.com\/2009\/07\/linux-apache-mod-ssl-generate-key-csr-crt-file\/
https:\/\/www.swiftstack.com\/blog\/2015\/01\/06\/how-to-generate-and-apply-ssl-certificates\/