No Description

strlst f84d3a3553 new blog post 1 week ago
etc b355b47739 new nginx conf for new setup 3 weeks ago
usr f84d3a3553 new blog post 1 week ago
.gitignore cd33bb0bb7 now supports note compilation 3 weeks ago
README.md 9a30649a80 adjusted hosts for mattermost, added documentation 4 months ago
check-dropzone 484df6dde0 new scripts 2 weeks ago
reset 484df6dde0 new scripts 2 weeks ago
setup 484df6dde0 new scripts 2 weeks 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