update
This commit is contained in:
parent
7f9f12c509
commit
a60abbf4eb
@ -95,4 +95,4 @@ make
|
|||||||
make install
|
make install
|
||||||
make install-config
|
make install-config
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@ -38,6 +38,26 @@ server_addr: "ngrok.hellolight.me:4443"
|
|||||||
trust_host_root_certs: false
|
trust_host_root_certs: false
|
||||||
```
|
```
|
||||||
|
|
||||||
|
nano ~/.ngrok
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
|
||||||
|
server_addr: ngrok.hellolight.me:4443
|
||||||
|
trust_host_root_certs: false
|
||||||
|
tunnels:
|
||||||
|
web:
|
||||||
|
#auth: "AuthUser:AuthPassWord"
|
||||||
|
proto:
|
||||||
|
http: 5000
|
||||||
|
ssh:
|
||||||
|
remote_port: 12222
|
||||||
|
proto:
|
||||||
|
tcp: 22
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
./ngrok -subdomain pub -proto=http -config=ngrok.cfg 8000
|
./ngrok -subdomain pub -proto=http -config=ngrok.cfg 8000
|
||||||
|
|
||||||
./ngrok -subdomain pub -proto=http -config=ngrok.cfg 22
|
./ngrok -subdomain pub -proto=http -config=ngrok.cfg 22
|
||||||
|
|||||||
14
ubuntu/sudo.md
Normal file
14
ubuntu/sudo.md
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# sudo
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
> sudo visudo
|
||||||
|
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
|
||||||
|
light ALL=(ALL) NOPASSWD: ALL
|
||||||
|
%admin ALL=(ALL) NOPASSWD: ALL
|
||||||
|
%sudo ALL=(ALL) NOPASSWD: ALL
|
||||||
|
|
||||||
|
```
|
||||||
Loading…
x
Reference in New Issue
Block a user