Difference between revisions of "Raspberry Pi Compute"

From Open Source Controls Wiki
Jump to navigation Jump to search
Line 2: Line 2:
https://www.waveshare.com/wiki/Write_Image_for_Compute_Module_Boards_eMMC_version
https://www.waveshare.com/wiki/Write_Image_for_Compute_Module_Boards_eMMC_version


https://www.waveshare.com/wiki/CM4-DUAL-ETH-4G/5G-BASE


https://www.waveshare.com/wiki/CM4-DUAL-ETH-4G/5G-BASE
== Setup ==
Install image to Compute using imager software. 
 
https://www.raspberrypi.com/software/


  sudo apt-get update
  sudo apt-get update

Revision as of 19:22, 30 July 2022

https://www.waveshare.com/wiki/Write_Image_for_Compute_Module_Boards_eMMC_version

https://www.waveshare.com/wiki/CM4-DUAL-ETH-4G/5G-BASE

Setup

Install image to Compute using imager software.

https://www.raspberrypi.com/software/

sudo apt-get update
sudo apt-get upgrade
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
sudo systemctl enable nodered.service
sudo apt-get -y install mosquitto
sudo apt-get -y install pwgen
sudo apt-get -y install wget
sudo apt-get -y install zip
sudo apt-get -y install build-essential cmake
echo "Installing M-Bus Libraries..."
sudo apt-get -y install git libtool libltdl-dev autoconf automake
sudo git clone https://github.com/rscada/libmbus.git
cd libmbus
sudo sh clean.sh
sudo sh build.sh
make
sudo make install
sudo ln -s /usr/local/lib/libmbus.so.0 /usr/lib/libmbus.so.0
mkdir /home/pi/node-hiu
mkdir /home/pi/node-hiu/logs
mkdir /home/pi/node-hiu/iHIU
mkdir /home/pi/node-hiu/flows
sudo chmod -R 775 /home/pi/node-hiu