Raspberry Pi 3 B+: Difference between revisions

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


=== nodejs ===
=== nodejs ===
  13  apt-get install emacs-nox
<syntaxhighlight lang="bash" enclose="div">
    23  apt-get install cec-utils
raspi-config
  24  apt-get install nodejs npm
 
  25  npm install -g n
apt-get install emacs-nox
  26  n stable
apt-get install cec-utils
    29  aptitude purge nodejs npm
apt-get install nodejs npm
  31  npm install -g --unsafe-perm homebridge
npm install -g n
  32  npm install -g homebridge-cmdswitch2
n stable
aptitude purge nodejs npm
npm install -g --unsafe-perm homebridge
npm install -g homebridge-cmdswitch2
</syntaxhighlight>

Revision as of 09: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