To get your own server you'll need a few things:
Hardware, Software and a little of your time.
The following items are also recommended:
The USB Stick is necessary for the installation of the system. Also, having a reliable USB stick from a reputable brand will help ensure that the process goes smoothly.
Download the .iso file and the .iso.sig file from some of the listed provider from archlinux.org and open the md5.txt file.
Arch Linux is only available for 64-bit systems.
Check the two files in the same folder with the following command/s:
pacman-key -v archlinux-<version>-x86_64.iso.sig
gpg --keyserver pgp.mit.edu --keyserver-options auto-key-retrieve --verify archlinux-<version>-x86_64.iso.sig
Another method to verify the authenticity of the signature is to ensure that the public key's fingerprint is identical to the key fingerprint of the Arch Linux developer who signed the ISO-file. See Wikipedia:Public-key_cryptography for more information on the public-key process to authenticate keys.
Download Etcher to flash the ISO
You have to align the boot-start to your USB-Stick.
Depending on your motherboard, you must press the "esc" or "f2" or "f12" or "end" key immediately after the PC starts.
Check your motherboard/computer manual if no button works or ask us.
Go to: 1. Boot 2. BOOT DEVICE PRIORITY (or similar)
Put the USB at the first place (with F5 and F6). Hit the button esc until save changes and reset. Hit enter and yes.
Reboot and choose Start: Boot Arch Linux (x86_64)
After installing your operating system, you need to change back your BIOS settings
If you got every requirements then we can go further with the first step (3 steps in total).
Get yourself a coffee or tea and let's go through this.
or with sudo
(check of=/dev/sdd, if it's really your USB Stick!!!)
sudo fdisk -l
sudo dd bs=4M if=~/Downloads/archlinux-<version>-x86_64.iso of=/dev/sdd
You can also use Etcher if you prefer a graphical user interface (GUI).
Follow the link www.noip.com and create an account and copy your chosen hostname.
You’ll need it for the installation of the server.
Go through the arch-scratch-docu.md file. Just copy and paste.
Done? Did you restart your server? Everything seems to be fine?
You’ll need the port forwarded to your Raspberry Pi - IP (192.168.1.76 <- can be this one).
The 1194 (udp) port needs to be open in your router for the VPN connection (Wikipedia link).
Last step will be to change the DNS server. This is necessary to get every device through Pi-Hole. Login in to your router and change the "primary DNS server" under "DHCP-Server".
This can be named differently. Depends on your router.
Delete the "secondary DNS server" and save it.
Might be necessary to re-login all your connected devices to your WIFI/LAN.
If you encounter problems, simply create an issue.
Last edited by Dan, 2019-10-12 21:44:27