GithubHelp home page GithubHelp logo

askriver / ngrokconfeditor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jshensh/ngrokconfeditor

0.0 1.0 0.0 6 KB

Ngrok 客户端面板

Home Page: http://233.imjs.work/2513.html

JavaScript 54.25% HTML 45.75%

ngrokconfeditor's Introduction

Ngrok 客户端面板

###安装 Node 您需要先在客户端上安装 Node.js(这里以 Raspberry Pi 2 ARM v7 为例)

wget https://nodejs.org/dist/v4.4.2/node-v4.4.2-linux-armv7l.tar.xz
xz -d node-v4.4.2-linux-armv7l.tar.xz
tar xvf node-v4.4.2-linux-armv7l.tar
mv node-v4.4.2-linux-armv7l /usr/local
ln -s /usr/local/node-v4.4.2-linux-armv7l/bin/node /usr/local/bin/node
ln -s /usr/local/node-v4.4.2-linux-armv7l/bin/npm /usr/local/bin/npm
echo "registry = https://registry.npm.taobao.org" > ~/.npmrc

###下载并启动面板

git clone https://github.com/jshensh/ngrokConfEditor
mv ngrokConfEditor /
chmod 754 /ngrokConfEditor
cd /ngrokConfEditor
npm install --save
npm install forever -g
/usr/local/node-v4.4.2-linux-armv7l/bin/forever start /ngrokConfEditor/app.js

###设置自启动 将 Ngrok Conf Editor 加入自启动项

###注意事项

  1. Ngrok 的服务端与客户端配置见 树莓派教程:利用 Ngrok 穿透内网访问树莓派
  2. 一定需要将面板加入自启动列表
  3. 配置文件请放在 /root/ngrok.cfg,并 chmod 777
  4. 客户端请放在 /root/ngrok,并 chmod +x
  5. 面板启动时会自动启动 /root/ngrok,不要另外添加客户端的自启动
  6. 面板向公网开放时,请一定要设置 auth

###截图 screenshot1

ngrokconfeditor's People

Contributors

jshensh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.