🛠️ Adding BuildGuide branch for the ease of use (#252)

* Create BuildGuide.md

* bug fixes

* Update BuildGuide.md

* Update make_image.sh

* Update BuildGuide.md

* Update make_image.sh

additional improvements and "done" message added. Thanks @k0gen!

* Update BuildGuide.md

Added intro notes and made minor adjustments to the guide.

* Update setup.sh

Required adjustments to prevent reboot when following BuildGuide.md

* Update BuildGuide.md

Improvements to final setup steps

* bug fix

additional improvements and "done" message added. Thanks @k0gen!

* Update Makefile

Changes to facilitate building process when using the BuildGuide

* Update BuildGuide.md

Avoiding manual changes to Makefile and cleaning up step 7

* Update BuildGuide.md

Switching from sftp to cp for one line command simplification

* Update BuildGuide.md

Simplified method of transferring .img to desktop. Thanks @k0gen!

* Update BuildGuide.md

update to latest openssl https://www.openssl.org/news/openssl-1.1.1-notes.html

* Update BuildGuide.md

Simplified step 6 and added new required dependency

* Update BuildGuide.md

Added hint on how to check `agent` log

* Update setup.sh

Added missing dependency

* Update BuildGuide.md

Simplified step 6

* Simplifying Rust installation

One line install, reboot is no longer needed.

* make_image.sh +x 

Make it executable before running

* Step no longer needed

chmod +x done by Makefile

* Update BuildGuide.md

Added dependency for Rust setup

* Adding BuildGuide branch for the ease of use

* Forgot about the guide file :)

* Update BuildGuide.md

apt -y by default and some environment add-ons

Co-authored-by: Tommy Smith <63304263+t0mmysm1th@users.noreply.github.com>
This commit is contained in:
Mariusz Kogen
2021-03-29 22:21:01 +02:00
committed by GitHub
parent 1ca7a699c1
commit 7f9f942eb1
5 changed files with 254 additions and 24 deletions

View File

@@ -1,15 +1,26 @@
#!/bin/bash
apt update
apt install -y libsecp256k1-0
apt install -y tor
apt install -y docker.io
apt install -y iotop
apt install -y bmon
apt autoremove -y
mkdir -p /root/volumes
mkdir -p /root/tmp/appmgr
mkdir -p /root/agent
mkdir -p /root/appmgr/tor
apt-get update -y
apt-get install -y tor
apt-get install -y iotop
apt-get install -y bmon
apt-get install -y libavahi-client3
apt-get install -y libsecp256k1-0
apt-get install -y docker.io needrestart-
mv /root/setup.sh /root/setup-s1.sh.done
cat <<EOT >> /root/setup-s2.sh
#!/bin/bash
apt-get update -y
apt-get install -y tor
apt-get install -y iotop
apt-get install -y bmon
apt-get install -y libavahi-client3
apt-get install -y libsecp256k1-0
apt-get install -y docker.io needrestart-
apt-get autoremove -y
systemctl enable lifeline
systemctl enable agent
systemctl enable ssh
@@ -17,5 +28,8 @@ systemctl enable avahi-daemon
passwd -l root
passwd -l pi
sync
systemctl disable setup.service
reboot
systemctl disable setup
mv /root/setup-s2.sh /root/setup-s2.sh.done
reboot
EOT
chmod +x /root/setup-s2.sh