Raspberry PI Private Server With Manjaro
Motivation
Instead of using a VPS or other 3rd party service build a private, low cost, silent home server.
Useful stuff:
Check https://linuxhint.com/manjaro-package-manager-pacman/.
Temperature:
/opt/vc/bin/vcgencmd measure_temp
Update packages:
sudo pacman -Syu
Install some tools:
sudo pacman -S networkmanager vim mc htop wget
Start networkmanager:
sudo systemctl start NetworkManager
Auto start on boot:
sudo systemctl enable NetworkManager
Config network:
sudo nmtui
Here you will add your wifi device and configure it. Yo can enable the Security and enter your password if so inclined. The important things to not forget to do is enable these 2 lines before you save and exit:
[X] Automatically connect
[X] Available to all users
Stop MAC spoofing - for some reasons I needed to stop it:
sudo vim /etc/NetworkManager/conf.d/100-disable-wifi-mac-randomization.conf
with content:
[device]
wifi.scan-rand-mac-address=no
reboot…
Install Gitea
Find an arm-linux version in https://dl.gitea.io/gitea/1.15.6/.
wget -O gitea https://dl.gitea.io/gitea/1.15.6/gitea-1.15.6-linux-arm64
sudo useradd \
--system \
--shell /bin/bash \
--user-group \
--disabled-password \
--home-dir /home/git \
git
(to be continued - hopefully…)