Raspberry Pi 3 B+: Difference between revisions

From misc notes
Jump to navigation Jump to search
Line 17: Line 17:


=== nodejs ===
=== nodejs ===
<syntaxhighlight lang="bash" enclose="div">
13 apt-get install emacs-nox
raspi-config
23 apt-get install cec-utils

24 apt-get install nodejs npm
25 npm install -g n
apt-get install emacs-nox
apt-get install cec-utils
26 n stable
29 aptitude purge nodejs npm
apt-get install nodejs npm
31 npm install -g --unsafe-perm homebridge
npm install -g n
n stable
32 npm install -g homebridge-cmdswitch2
aptitude purge nodejs npm
npm install -g --unsafe-perm homebridge
npm install -g homebridge-cmdswitch2
</syntaxhighlight>

Revision as of 00:34, 4 May 2019

memo

Ubuntu Server 18.04

Ubuntu Server on a Raspberry Pi 2 or 3

netplan

/etc/netplan/50-cloud-init.yaml

netplan apply

結局 RPi HDMI の制御ができなさそうなので、せっかくの aarch64 だがやりたいことが難しいので採用はしないことにした。

Raspbian memo

nodejs

raspi-config

apt-get install emacs-nox
apt-get install cec-utils
apt-get install nodejs npm
npm install -g n
n stable
aptitude purge nodejs npm
npm install -g --unsafe-perm homebridge
npm install -g homebridge-cmdswitch2