41 lines
787 B
Markdown
41 lines
787 B
Markdown
# Installation on hardware (Raspberry PI)
|
|
Raspberry Pi imager (.img)
|
|
|
|
> If no internet connection: setup-interfaces with DHCP, rc-service networking restart
|
|
|
|
```sh
|
|
setup-alpine
|
|
us
|
|
us
|
|
|
|
hostname: alpi
|
|
ip: 192.168.2.2/24
|
|
gateway: router (192.168.2.254)
|
|
netmask 255.255.255.0
|
|
dns nameservers: 1.1.1.1
|
|
|
|
Europe/Amsterdam
|
|
chrony
|
|
1
|
|
YOURUSERNAME
|
|
YOURNAME
|
|
github.com/YOURUSERNAME.keys
|
|
|
|
openssh
|
|
y
|
|
mmcblk0 / sda
|
|
sys
|
|
y
|
|
reboot
|
|
```
|
|
|
|
FIRST. Make sure your public key is configured for SSH! Else, next step will LOCK YOU OUT SSH!
|
|
|
|
Then, run setup.sh by getting it from the internet (wget is in busybox):
|
|
```sh
|
|
wget https://git.plabble.org/Maurice/alpine-server-setup/raw/branch/main/setup.sh
|
|
chmod +x setup.sh
|
|
./setup.sh
|
|
```
|
|
|
|
This will install git, clone this repository and run the installation scripts. |