Alpine to Sway

Alpine Linux with Sway Bash, Text Editor Packages apk add vim bash Create Non Root User Packages apk add sudo shadow Command Add User useradd -m -G wheel -s /bin/bash <user_name> passwd <user_name> sudo file EDITOR=vim visudo # Make wheel group can use sudo Setup eudev setup-devd udev GPU Intel apk add mesa-dri-gallium AMD Read here Nvidia Read here PAM apk add linux-pam shadow-login Elogind apk add elogind polkit-elogind dbus rc-update add elogind rc-update add polkit rc-update add dbus Sway apk add sway Reboot After rebooting your computer, you should use your non-root userer to log in ...

April 7, 2024 · 1 min · Wei, Feng

Basic AlpineLinux (UEFI) Install

Alpine Linux(UEFI) Semi-Automatic Installation Enter Installation Your login username is root, password is empty Check UEFI test -d /sys/firmware/efi && echo UEFI || echo BIOS Keyboard Layout Answer some questions setup-keymap ## answer 'us' twice Hostname setup-hostname <your_hostname> Networking Alpine Linux’s wiki recommend you using ethernet to connect internet But you can also use setup-interfaces to use wireless connection Answer some questions setup-interfaces After the configuration rc-service networking start rc-update add networking boot Apk Repositories You can find all repositories mirrors in here Edit /etc/apk/repositories ...

April 5, 2024 · 1 min · Wei, Feng