Add prepare script for system installation
This commit is contained in:
parent
5bfbbe3a13
commit
d3e223ba90
|
@ -0,0 +1,24 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
sudo -s
|
||||||
|
|
||||||
|
# Silkaj + Duniterpy
|
||||||
|
apt install python3-pip
|
||||||
|
apt install libsodium18
|
||||||
|
pip3 install silkaj
|
||||||
|
|
||||||
|
|
||||||
|
# Install IPFS
|
||||||
|
cd /usr/src/
|
||||||
|
wget https://dist.ipfs.io/ipfs-update/v1.5.2/ipfs-update_v1.5.2_linux-arm.tar.gz
|
||||||
|
tar xvzf ipfs-update_v1.5.2_linux-arm.tar.gz
|
||||||
|
cd ipfs-update
|
||||||
|
./install.sh
|
||||||
|
ipfs-update install latest
|
||||||
|
|
||||||
|
# Install gammu
|
||||||
|
apt install ppp screen git python3-pip minicom gammu gammu-smsd
|
||||||
|
usermod -aG gammu pi
|
||||||
|
|
||||||
|
|
||||||
|
exit 0
|
Loading…
Reference in New Issue