더북(TheBook)

2. net-tools를 설치하면 CentOS 7에서도 ifconfig 명령어를 이용해 IP를 확인할 수 있습니다. yum install 명령어를 이용해 다음과 같이 net-tools를 설치합니다.

[root@centos ~]# yum install -y net-tools
Loaded plugins: fastestmirror
base                                                          | 3.6 kB  00:00:00
extras                                                        | 3.4 kB  00:00:00
updates                                                       | 3.4 kB  00:00:00
extras/7/x86_64/primary_db                                    | 131 kB  00:00:05
Loading mirror speeds from cached hostfile
 * base: ftp.daumkakao.com
 * extras: mirror.oasis.onnetcorp.com
 * updates: centos.mirror.cdnetworks.com
…
Installed:
  net-tools.x86_64 0:2.0-0.17.20131004git.el7

Complete!

신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.