Develop
2013.04.23 16:57
[android] 디바이스(시뮬레이터) hosts 파일 수정하기
조회 수 31129 댓글 0
remount 한다.
>adb remount
안드로이드에 있는 host 파일을 받는다.
>adb pull /system/etc/hosts D:\TDPlatform\android_home\backup\
hosts 파일 수정한다.
---------------------------------------
기본적으로 로컬만 등록되어 있음.
127.0.0.1 localhost
---------------------------------------
host 파일을 넣는다.
>adb push D:\TDPlatform\android_home\work\hosts /system/etc/
hosts 파일 수정 확인해보기
>adb -e shell
#cat /system/etc/hosts
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
1101 | System/OS | [linux] 프로그램 설치방법 (내공쌓기) | hooni | 2003.04.23 | 13493 |
1100 | System/OS | [linux] 계정관리하기(내공쌓기) | hooni | 2003.04.23 | 13319 |
1099 | System/OS | [linux] 기본적인 설정하기(내공쌓기) | hooni | 2003.04.23 | 14056 |
1098 | System/OS | [linux] 새 하드디스크 추가하기..(내공쌓기) | hooni | 2003.04.23 | 13856 |
1097 | System/OS | [linux] 아파치설치/설정 | hooni | 2003.04.23 | 14554 |
1096 | System/OS | [linux] 아파치설치/설정(CGI부분) | hooni | 2003.04.23 | 14625 |
1095 | System/OS | [linux] 아파치설치/설정 - SSI(Server Side Include) | hooni | 2003.04.23 | 13260 |
1094 | System/OS | [linux] 아파치 설치/설정(proxy) | hooni | 2003.04.23 | 13012 |
1093 | System/OS | [linux] 아파치설치/설정(모니터링) | hooni | 2003.04.23 | 14221 |
1092 | System/OS | [linux] 아파치설치/설정 - 사용인증 | hooni | 2003.04.23 | 15150 |
1091 | System/OS | [linux] 아파치설치/설정 - 알리어싱(aliasing) | hooni | 2003.04.23 | 51452 |
1090 | System/OS | [linux] 랜카드가 2개 일 때 네트워크 설정 | hooni | 2003.04.23 | 30130 |