New Company Laptop

Posted on Jul 8, 2026
  • install chrome
    • chrome exist on company portal but couldn’t be installed due to Chinese great firewall. It asked me to download chrome standalone installer, ink
  • wsl migration
  • install wsl on new laptop with “wsl -d archlinux”
  • set passwd for root: passwd
  • pacman
    • pacman -Syu
    • cp /etc/pacman.d/mirrorlist.pacnew /etc/pacman.d/mirrorlist
    • uncommont chinese mirror
    • cp pacman.conf from old wsl /etc/pacman.conf
  • sudo
  • pacman -S vim sudo
  • EDITOR=vim visudo
  • wsl configuration
  • vim /etc/wsl.conf: add [user] default=xxx
  • cp wsl.conf from old wsl /etc/wsl.conf
  • cp .wslconfig from old windows laptop C:\Users\xxxuser
  • locale
  • update /etc/locale.gen -> locale-gen
  • add normal user
  • add user: useradd -m -G wheel -s /bin/bash hongy19
  • change user passed: passwd hongy19
  • copy file from old wsl to new wsl by onedrive