The section describes the process for installing and setting up a Beelink SER5 mini computer with an operating system and all the necessary software for streaming.
The operation system used for the guide is Arch Linux and it's installation guide the basis for this document. If you'd like to find out more detailed information, you can follow this link -> https://wiki.archlinux.org/title/installation_guide
- Create a USB boot disk with Arch Linux
- Boot Beelink and mash delete key to enter BIOS
- Go to boot menu and adjust the boot order to have USB as highest priority
- Reboot the computer with the Arch Linux medium connected
root@archiso ~ # iwctl
[iwd]# station wlan0 connect Toshi
[iwd]# exit
root@archiso ~ # ping archlinux.org
Check existing disks and partitions
root@archiso ~ # fdisk -l
Modify MVNe drive to remove existing partitions
root@archiso ~ # fdisk /dev/nvme0n1
The existing EFI directory is small (100MB) so remove that and the Windows partitions. Add a new 1G partition and set type to EFI System
. Add new partition that takes remaining space. It should default to Linux filesystem type. Write changes and exit
root@archiso ~ # mkfs.fat -F 32 /dev/nvme0n1p1
Note: this might take a little bit while creating the journal. Just wait for it to complete
root@archiso ~ # mkfs.ext4 /dev/nvme0n1p2
root@archiso ~ # mount /dev/nvme0n1p2 /mnt
root@archiso ~ # mount --mkdir /dev/nvme0n1p1 /mnt/boot
root@archiso ~ # pacstrap -K /mnt base linux linux-firmware vim grub efibootmgr git sudo amd-ucode
root@archiso ~ # genfstab -U /mnt >> /mnt/etc/fstab
root@archiso ~ # arch-chroot /mnt
[root@archiso /]# ln -sf /usr/share/zoneinfo/PST8PDT /etc/localtime
[root@archiso /]# hwclock --systohc
Edit /etc/locale.gen
and uncomment en_US.UTF-8
[root@archiso /]# locale-gen
Create /etc/locale.conf
with the following contents
LANG=en_US.UTF-8
Create /etc/hostname
with the following contents. Replace the number 1 with the number that is designated for the streaming computer you are setting up
kq-stream-1
[root@archiso /]# passwd
[root@archiso /]# grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id="ARCH KQ Seattle Streaming"
[root@archiso /]# grub-mkconfig -o /boot/grub/grub.cfg
[root@archiso /]# useradd -m stream
[root@archiso /]# passwd stream
[root@archiso /]# visudo
Add in the line
stream ALL=(ALL:ALL) ALL
[root@archiso /]# pacman -S gnome networkmanager libva-mesa-driver vlc nodejs npm
Select all selections for gnome
Select 1) noto-fonts-emoji for emoji-font
Select 2) pipewire-jack for jack
If you have issues with package signing run the following commmands
[root@archiso /]# rm -r /etc/pacman.d/gnupg
[root@archiso /]# pacman-key --init
[root@archiso /]# pacman-key --populate
[root@archiso /]# flatpak install flathub com.obsproject.Studio
[root@archiso /]# systemctl enable gdm
[root@archiso /]# systemctl enable NetworkManager
[root@archiso /]# exit
root@archiso ~ # umount -R /mnt
root@archiso ~ # reboot
Connect to wifi then open console and install vscode
[stream@kq-stream-1 ~]$ flatpak install flathub com.visualstudio.code
Power settings - set Screen Blank to Never and Automatic Suspend to Off. Power Button Behavior to Power Off Appearance - Style Dark
[stream@kq-stream-1]$ git clone https://github.com/hitoshisatow/kqsea-streaming.git
[stream@kq-stream-1]$ npx @kqhivemind/hivemind-client ~/kqsea-streaming/cab_configs/config-4bs.json