/ installation / setup-guide.txt
setup-guide.txt
1 2 #------------------------------------------------------------------------------ 3 4 0. If repo on bytesofprogress.net is unreachable, it is mirrored on the other 5 Gitea server. If this is unreachable too, use offsite backups. 6 1. Create user named "byte21516" 7 2. Give the server a static IPv4 or use DHCP address reservation with MAC-address. 8 3. Install git (apt install git -y) 9 4. Clone git repository (Do not clone it into the home folder) & cd into folder "installation". 10 5. Make sure to replace "bookworm" in install.sh with the "cosename" of your distribution. 11 6. chmod +x install.sh & then execute "install.sh" as root. 12 7. Move "docker-compose.yml" to "/home/byte21516/BytesOfProgress". 13 8. Navigate to the "maintenance" folder in the repo, move contents to "/home/byte21516". 14 9. Reboot. 15 10. Login as "byte21516", cd into "/home/byte21516/BytesOfProgress" 16 11. Execute command "sudo docker-compose up -d". 17 12. Wait a minute, then execute command "sudo docker-compose down". 18 13. Place contents of folder "html" of the git repo inside "/home/byte21516/BytesOfProgress/nginx/html/". 19 14. Replace "/home/byte21516/BytesOfProgress/nginx/conf.d/default.conf" with "default.conf" from the git repo installation folder. 20 14. Delete contents of "/var/lib/tor/hidden_service/", place contents of "onionhost" folder (on the USB) into "/var/lib/tor/hidden_service/" & restart TOR service. 21 15. Execute command "sudo docker-compose up -d" while being in "/home/byte21516/BytesOfProgress/". 22 16. Run "sudo nala fetch" and choose your debian mirrors. 23 17. Reboot. 24 25 #------------------------------------------------------------------------------ 26 27 If it is not me doing this, and NOTHING of this works: Just throw contents of "html" folder on a webserver. 28 29 #------------------------------------------------------------------------------