New Search

If you are not happy with the results below please do another search

1 search result for:

1

Node-RED my OLD ARMv7l Raspberry PI

sudo apt updatesudo apt upgradeuname -m เช็คว่า CPU เป็น ARMv7 ขึ้นไปหรือไม่ ติดตั้ง NodeJS และติดตั้ง Node-REDbash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) ตอบ Y ตอนนี้จะเข้าได้ทาง http://x.x.x.x:1880ตั้ง authensudo nano /home/XXX/.node-red/settings.jsเอา comment ออกadminAuth: {type: “credentials”,users: [{username: “admin”,password: “$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN.”,permissions: “*”}]},แก้ admin ตามที่ชอบ sudo npm install -g –unsafe-perm node-red-adminสร้าง hash passwordnode-red-admin hash-pwใส่ password จะได้ hash ไปใส่ใน password: ไฟล์ settings.js sudo node-red-stop หรือ sudo […]