==========================
1. VM 설정 및 우분투(ubuntu) 12.04 LTS 설치
==========================
Acquire::http::proxy "http://xx.xx.xx.xx:8080/";
Acquire::https::proxy "https://xx.xx.xx.xx:8080/";
==========================
7. OpenStack 설치
==========================
1. VM 설정 및 우분투(ubuntu) 12.04 LTS 설치
==========================
- Ubuntu 설치
- Guest OS(Ubuntu)에 네트워크 카드 2개 설정
- 하나는 "공유네트워크"(NAT)로 설정하고 다른 하나는 "호스트 전용"으로 설정
- Guest OS(Ubuntu)에 네트워크 카드 2개 설정
- 하나는 "공유네트워크"(NAT)로 설정하고 다른 하나는 "호스트 전용"으로 설정
==========================
2. Network 설정
==========================
- /etc/network/interface 파일 수정
auto eth0
iface eth0 inet static
address 10.1.100.3
netmask 255.255.255.0
gateway 10.1.100.1
dns-nameservers 168.126.63.1
auto eth1
iface eth1 inet static
address 192.168.100.3
netmask 255.255.255.0
- Proxy 서버 설정(Proxy서버가 있는 경우에만 설정)
sudo vi /etc/apt/apt.conf- Proxy 서버 설정(Proxy서버가 있는 경우에만 설정)
Acquire::http::proxy "http://xx.xx.xx.xx:8080/";
Acquire::https::proxy "https://xx.xx.xx.xx:8080/";
==========================
3. Git 설치
==========================
$ sudo apt-get install -y git
==========================
4. 사용자(stack) 추가
==========================
devstack으로 설치를 하기 위해서 stack 사용자를 추가하고 sudo 권한 부여
# useradd -U -G sudo -s /bin/bash -m stack
# echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
# passwd stack
==========================
5. Devstack 설치파일 다운로드
==========================
stack 사용자 계정으로 전환 후, 홈 디렉토리에서 Devstack 다운로드
$ git clone git://github.com/openstack-dev/devstack.git
==========================
3. Git 설치
==========================
$ sudo apt-get install -y git
==========================
4. 사용자(stack) 추가
==========================
devstack으로 설치를 하기 위해서 stack 사용자를 추가하고 sudo 권한 부여
# useradd -U -G sudo -s /bin/bash -m stack
# echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
# passwd stack
==========================
5. Devstack 설치파일 다운로드
==========================
stack 사용자 계정으로 전환 후, 홈 디렉토리에서 Devstack 다운로드
$ git clone git://github.com/openstack-dev/devstack.git
==========================
6. local.conf 수정
==========================
- ~devstack/samples/local.conf 파일을 devstack 루트 디렉토리로 복사
- 제일 밑에 아래 라인 추가. (한번 설치한 후부터는 인터넷으로부터 패키지설치작업 생량)
OFFLINE=true
7. OpenStack 설치
==========================
~devstack$ ./stack.sh
sudo apt-get install python-setuptools
sudo apt-get install python-dev
sudo apt-get install libevent-dev
error: command 'gcc' failed with exit status 1
sudo apt-get install python-dev
sudo apt-get install libevent-dev
댓글 없음:
댓글 쓰기