sudo nano /private/etc/hosts
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
10.2.2.10 test.domain.com
Ctrl+o
Enter
Ctrl+x
바로 적용을 위해서
dscacheutil -flushcache
'맥북' 카테고리의 다른 글
맥북에서 블루투스 기기(키보드, 마우스 등)가 갑자기 연결이 잘 안될때... (0) | 2016.02.03 |
---|---|
맥북에서 ftp 서버 열기 (0) | 2015.04.15 |
mac에서 java_home 설정 (0) | 2015.03.09 |
맥북 mariadb 설치하기 (0) | 2014.11.10 |
맥북 homebrew 설치하기 (0) | 2014.11.10 |