Deploying Object S in Linux environment "indescribable" age

888u

Last update at :2024-05-04,Edit by888u

First of all, I would like to thank Mr. Xi Qin for his contribution. This article mainly guides you to deploy Object S "indescribable" age on Linux. The general process is as follows: First, install the Swift client for managing OpenStack

First, install the Swift client for managing OpenStack OS X

sudo easy_install pip sudo pip install –upgrade setuptools sudo pip install python-swiftclient

Ubuntu

sudo aptitude install python-pip sudo pip install python-swiftclient

RHEL, CentOS, or Fedora

sudo yum install python-setuptools sudo easy_install pip sudo pip install –upgrade setuptools sudo pip install python-swiftclient

Windows

See http://docs.python-guide.org/en/latest/starting/install/win.html#distribute-pip for instructions on installing pip for Windows. pip install python-swiftclient

Then modify /etc/profile and add relevant variables [API information acquisition address: https://cp.conoha.jp/Account/API/]

export OS_AUTH_URL=’https://ident-r1nd1001.cnode.jp/v2.0′ export OS_TENANT_NAME=’7332819′ export OS_USERNAME=’7332819′ export OS_PAVPSWORD=’************’

Execute command

source /etc/profile

Executing `swift stat` returns something similar

# swift stat

Account: ******************************* Containers: 0 Objects: 0 Bytes: 0 Accept-Ranges: bytes X-Timestamp: 1395129386.25830 X-Trans-Id: ******************************* Content-Type: text/plain; charset=utf-8

Indicates successful configuration. Next, you can use `swift upload container-name filename` to upload. However, there is a problem, that is, the uploaded file cannot be accessed through the browser. You need to execute the following command to make the file readable

swift post -r ‘.r:*’

##Other usage `swift list container-name` lists the contents of the container `swift download container-name filename` Download filename in container Copyright belongs to the author, original address: http://www.ixiqin.com/conohaobjects"Indescribable"agelinuxhuanjingbushu.html

Recommended site searches: IP online query, Hong Kong cn2 server, good domain name registration, all-round virtual host, overseas domain name registration Taobao virtual host independent IP host, Wanwang domain name registration official website, filing space, US high defense space,

Deploying Object S in Linux environment

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码