git clone https://github.com/zhaocundang/WebSSH2.gitnode
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
cd /WebSSH/app/web
sudo npm installnpm
cp WebSSH2/app/package.json ../json
sudo npm startvim
6.開機自啓: sudo vim /etc/rc append this: (在末尾exit0 以前) cd /WebSSH2/ && npm startapp
in browser : http://10.168.1.241:2222/ssh/host/127.0.0.1ssh