羣暉搭建webssh

  1. 拷貝工程到系統根,而後須要賦予權限 sudo chmod 777 -R WebSSH2/
  2. git clone https://github.com/zhaocundang/WebSSH2.gitnode

  3. depends : node.js v8webpack

npm ERR! webpack-cli@3.2.1 postinstall: lightercollective
npm ERR! spawn ENOENT
npm ERR!git

To install:
admin@DiskStation:/volume1/web/webssh/WebSSH2/app$ sudo npm i -g lightercollective
/volume1/@appstore/Node.js_v8/usr/local/bin/lightercollective -> /volume1/@appstore/Node.js_v8/usr/local/lib/node_modules/lightercollective/index.jsgithub

  • lightercollective@0.3.0
    updated 1 package in 1.942s
  1. cd /WebSSH/app/web

  2. sudo npm installnpm

  3. cp WebSSH2/app/package.json ../json

    sudo npm startvim

6.開機自啓: sudo vim /etc/rc append this: (在末尾exit0 以前) cd /WebSSH2/ && npm startapp

  1. how to use?

in browser : http://10.168.1.241:2222/ssh/host/127.0.0.1ssh

相關文章
相關標籤/搜索