Difference between revisions of "Raspberry Pi Compute"

From Open Source Controls Wiki
Jump to navigation Jump to search
(Undo revision 2180 by Rhg (talk))
Tag: Undo
Line 8: Line 8:
  sudo apt-get upgrade
  sudo apt-get upgrade
  bash <(curl -sL <nowiki>https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered</nowiki>)
  bash <(curl -sL <nowiki>https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered</nowiki>)
  sudo apt-get install mosquitto
sudo systemctl enable nodered.service
 
  sudo apt-get -y install mosquitto
sudo apt-get -y install pwgen
sudo apt-get install build-essential cmake
 
echo "Installing M-Bus Libraries..."
sudo apt-get -y install git libtool libltdl-dev autoconf automake
sudo git clone git://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

Revision as of 19:07, 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

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 install build-essential cmake
echo "Installing M-Bus Libraries..."
sudo apt-get -y install git libtool libltdl-dev autoconf automake
sudo git clone git://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