맥북에서 Iterm을 이용하여 원활한 접속을 진행하기 위해 ssh_config파일을 수정합니다.
*설정에 경우 특별한 안내가 없을 시 Controller, Compute 두개다 설정하는 것입니다.
#SSH파일 수정
vi /etc/ssh/sshd_config
#로그인 방법 변경
#PermitRootLogin prohibit-password
PermitRootLogin yes
:wq
#서비스 재시작
service sshd restart
네트워크 세팅
#네트워크 인터페이스 작업을 수행합니다.
#원본파일 백업 및 삭제 진행
cp /etc/network/interfaces /etc/network/interfaces.org
rm /etc/network/interfaces
vi /etc/network/interfaces
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
[Controller]
# The MGMT interface
auto enp0s5
iface enp0s5 inet static
address 10.211.55.64
netmask 255.255.255.0
gateway 10.211.55.1
dns-nameservers 168.126.63.1 8.8.8.8
[Compute]
# The MGMT interface
auto enp0s5
iface enp0s5 inet static
address 10.211.55.65
netmask 255.255.255.0
gateway 10.211.55.1
dns-nameservers 168.126.63.1 8.8.8.8
# The Provider interface
auto enp0s6
iface enp0s6 inet manual
up ip link set dev \$IFACE up
down ip link set dev \$IFACE down
#HOSTS파일을 수정합니다.
vi /etc/hosts
127.0.0.1 localhost
::1 localhost
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
#ADD SETTING
10.211.55.64 osc
10.211.55.65 osn
:wq
#Ping 테스트
ping -w 1 osc && ping -w 1 osn
'가상화 > Openstack Queens' 카테고리의 다른 글
OpenStack Queens PKG Download (0) | 2019.08.14 |
---|---|
OpenStack Queens RABBIT & MEMCACHE (0) | 2019.08.14 |
OpenStack Queens MySQL(MariaDB) 설치 (0) | 2019.08.14 |
OpenStack Queens NTP(Chrony) (0) | 2019.08.13 |
OpenStack Queens 구성환경 (0) | 2019.08.10 |