Install Swift using Keystone-certified multi-node in javastuserver11.10

Source: Internet
Author: User
Note: The following is highlighted in red with redundant information due to the editor. 1. Summary all operations involved in this article are verified on the effectuserver11.1064-bit system. This document references Openstackkeystone. The specific information is as follows: Linux: ttuserver11.1064-bitoneiric & Note: The following highlighted in red contains redundant information due to the editor. 1. SummaryAll operations involved in this article are verified on the 64-bit Ubuntu Server 11.10 system. This article references the relevant documentation of Openstack keystone. The details are as follows:
  1. Linux: Ubuntu Server 11.10 64-bit oneiric
  2. Proxy Server IP: 192.168.112.129
  3. Storage Server One: 192.168.112.130
  4. Storage Server Two: 192.168.112.131
  5. Storage Server Three: 192.168.112.132
  6. Keystone Server IP: 192.168.112.20.
  7. Official documentation: www.openstack.org
  8. Reference: http://keystone.openstack.org/installing.html
  9. Swift version: 1.4.8
  10. Keystone version: 2012.2

2. Create swift users for each machine

  1. Sudo useradd-mk/home/swift/-s/bin/bash swift
  2. Sudo passwd swift # Add a password for a swift user. Here I set it to swift
  3. Edit the/etc/sudoer file and add the following code at the end of the file:
  4. Swift ALL = (ALL) NOPASSWD: ALL
3. Download the source code (for swift Users)
  1. 1. Install the git Tool
  2. Sudo apt-get install git-core
  3. 2. Download keystone and swift source code from the Proxy Machine
  4. Su swift # Switch to swift user
  5. Sudo mkdir/home/swift/openstack # create a directory to store
  6. Cd/home/swift/openstack
  7. Git clone https://github.com/openstack/swift.git # download swift
  8. Cd swift
  9. Git checkout 1.4.8 # Use version 1.4.8. You can
  10. # Use the git tag command to view the number of versions
  11. Git clone https://github.com/openstack/keystone.git
  12. Cd keystone
  13. Git checkout 75a8dfe
  14. 3. Download swift from the machine on each Storage Node
  15. Su swift # Switch to swift user
  16. Sudo mkdir/home/swift/openstack # create a directory to store
  17. Cd/home/swift/openstack
  18. Git clone https://github.com/openstack/swift.git # download swift
  19. Cd swift
  20. Git checkout 1.4.8 # Use version 1.4.8. You can
  21. # Use the git tag command to view the number of versions
  22. 4. Download keystone and python-keystoneclient from the host of the Auth (keystone) node
  23. Su swift # Switch to swift user
  24. Sudo mkdir/home/swift/openstack # create a directory to store
  25. Cd/home/swift/openstack
  26. Git clone https://github.com/openstack/keystone.git
  27. Cd keystone
  28. Git checkout 75a8dfe
  29. Git clone https://github.com/openstack/python-keystoneclient.git
  30. Cd/home/swift/openstack/python-keystoneclient

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.