일상 코딩
[Raspberry Pi/라즈베리파이] 라즈베리파이에 ngrok 설치 본문
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
리눅스 압축 파일 총정리 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
728x90