Operate Vagrant
to ubuntu16.04
created in VirtualBox
to ngrok
I installed it.
software | Version |
---|---|
VirtualBox | 6.1.16 |
ubuntu / xenial64 | 16.04.7 LTS |
Vagrant | 2.2.14 |
ngrok | 2.3.35 |
Install linux (arm64) as a zip file
vagrant@ubuntu-xenial:~$ wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
When I typed ~ $ unzip ngrok-stable-linux-amd64.zip
, unzip
such a command was angry, so I installed it.
vagrant@ubuntu-xenial:~$ sudo apt install zip
vagrant@ubuntu-xenial:~$ sudo apt install unzip
Immediately, use the unzip
command to unzip the file you just installed.
vagrant@ubuntu-xenial:~$ unzip ngrok-stable-linux-amd64.zip
I will check if it was done properly.
vagrant@ubuntu-xenial:~$ ls
ngrok ngrok-stable-linux-amd64.zip
Looks okay: smiley:
ngrok
directory to/usr/bin* In "/ usr/bin", "not used in single user mode" and "commands and programs managed by the system by a package management system such as RPM or deb" are placed. .. Although not used in an emergency, important commands and programs that make up the system will be placed here.
vagrant@ubuntu-xenial:~$ sudo cp ngrok /usr/bin
vagrant@ubuntu-xenial:~$ ngrok -version
ngrok version 2.3.35
It's installed properly and I'm relieved: blush:
When you want to start it, use the following command
vagrant@ubuntu-xenial:~$ ./ngrok http 80
If you want to know something, you can find it with the following command.
vagrant@ubuntu-xenial:~$ ./ngrok help
https://qiita.com/mininobu/items/b45dbc70faedf30f484e https://qiita.com/RayDoe/items/8a68f40d165819b82463 https://linuc.org/study/knowledge/544/
Recommended Posts