250x250
Notice
Recent Posts
«   2024/07   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
관리 메뉴

일상 코딩

[Raspberry Pi/라즈베리파이] 라즈베리파이에 ngrok 설치 본문

Raspberry Pi/ngrok 설치

[Raspberry Pi/라즈베리파이] 라즈베리파이에 ngrok 설치

polarcompass 2023. 3. 13. 23:14
728x90
ngrok 파일 다운로드

https://dashboard.ngrok.com/get-started/setup

 

ngrok - Online in One Line

 

dashboard.ngrok.com

① 32-bit 라즈베리 파이 OS 설치시 선택

$ wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-arm.tgz

② 64-bit 라즈베리파이 OS 설치시 선택

$ wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-arm64.tgz

 

압축 풀기
tgz 파일 확장자일 경우

① 32-bit 라즈베리 파이 OS

$ tar -xzvf ngrok-v3-stable-linux-arm.tgz

② 64-bit 라즈베리파이 OS

$ tar -xzvf ngrok-v3-stable-linux-arm64.tgz

https://webcreate.tistory.com/entry/%EB%A6%AC%EB%88%85%EC%8A%A4-%EC%95%95%EC%B6%95-%ED%8C%8C%EC%9D%BC-%EC%B4%9D%EC%A0%95%EB%A6%AC-zip-tar-targz-tarbz2-%EC%95%95%EC%B6%95%ED%92%80%EA%B8%B0

 

리눅스 압축 파일 총정리 zip tar tar.gz tar.bz2 압축풀기

1. ZIP- 압축하기zip -rF (압축파일명).zip (압축할 폴더 또는 파일)r : 서브 디렉터리 까지 압축F : 한글 이름을 가진 파일까지 압축 zip filename.zip ./* //현재 폴더에 전부를 압축할때 ./*는 현재 폴더 전

webcreate.tistory.com

 

ngrok command not found 에러 발생시
$ cd
$ sudo cp ngrok /usr/local/bin/

https://wajeeh-ahsan.medium.com/ngrok-command-not-found-4216082492b2

 

ngrok command not found

If you facing this error, may be you haven’t downloaded/installed ngrok setup or may be there was an issue in going through this.

wajeeh-ahsan.medium.com

 

ngrok site에서 받은 token 입력

명령어 입력

ngrok 실행
$ ngrok http 80

Forwarding 부분 주소를 외부 컴퓨터 브라주에 입력시 외부에서 라즈베리 파이로 접속이 가능하다.

 

728x90