群晖搭建webssh
作者:互联网
- 拷贝工程到系统根,然后需要赋予权限 sudo chmod 777 -R WebSSH2/
git clone https://github.com/zhaocundang/WebSSH2.git
depends : node.js v8
npm ERR! webpack-cli@3.2.1 postinstall: lightercollective
npm ERR! spawn ENOENT
npm ERR!
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.js
- lightercollective@0.3.0
updated 1 package in 1.942s
cd /WebSSH/app/
sudo npm install
cp WebSSH2/app/package.json ../
sudo npm start
6.开机自启: sudo vim /etc/rc append this: (在末尾exit0 之前) cd /WebSSH2/ && npm start
- how to use?
in browser : http://10.168.1.241:2222/ssh/host/127.0.0.1
标签:npm,ERR,lightercollective,webssh,sudo,js,WebSSH2,群晖,搭建 来源: https://www.cnblogs.com/zhaocundang/p/10746189.html