No Description

strlst 2c68922446 notes: added convenience script 1 month ago
etc 6d4d336fe8 nginx: limit worker connections 2 months ago
usr 2c68922446 notes: added convenience script 1 month ago
.gitignore e590e7b9b5 added encrypted files 5 months ago
README.md 9a30649a80 adjusted hosts for mattermost, added documentation 10 months ago
check-dropzone 484df6dde0 new scripts 7 months ago
reset 484df6dde0 new scripts 7 months ago
setup 484df6dde0 new scripts 7 months ago

README.md

rpi-server-config

this is my personal repository meant to hold all necessary information to set up classic server utilities on a void linux raspberry

void linux

follow the steps on https://wiki.voidlinux.org/Raspberry_Pi until you end up with a working and booting void linux environment

upgrade xbps and all preinstalled binary packages until xbps doesn't find any upgradeable packages

xbps-install -Syu

system setup

install basic utilities

xbps-install -S git mksh vis
chsh # to /bin/mksh

configure

# make a new user
useradd strlst -G wheel
export EDITOR=vis
# enable wheel permissions
# by removing the comments around "%wheel ALL=(ALL) ALL"
visudo
su - strlst
chsh # to /bin/mksh again
git clone https://notabug.org/strlst/dotfiles
git clone https://notabug.org/strlst/rpi-server-config
cd dotfiles
# meant to easily bootstrap all required packages
# rpibootstrap doesn't exist, so just
# echo "curl wget nginx whatever" > rpibootstrap beforehand
#cat rpibootstrap | xargs xbps-install -Sy
# bootstrap various dotfiles
sh setup
cd
# bootstrap various config files (ssh, nginx, hosts, ...)
cd rpi-server-config
sh setup

should be pretty much set up and ready for venture

services

don't forget to link new serverices

sudo ln -s /etc/sv/nginx /var/service
...

services should start on their own