Skip to main content

Zhy

Arch Linux post-install setup

Arch Linux is a very minimalistic distribution. After a fresh installation, many tasks need to be done to make the system usable.

Locale setup

Set the correct time zone:

# ln -s /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime

Generate and set locale to en_US.UTF-8:

# locale-gen en_US.UTF-8
# localectl set-locale LANG=en_US.UTF-8

User settings

Install sudo:

# pacman -S sudo

Create a normal user (and home dir) and add it to wheel group for sudo access:

# useradd zhy -m -G wheel

Use visudo command to add wheel to sudoers, uncomment this line:

%wheel ALL=(ALL) ALL

Set a password:

# passwd zhy

Wireless setup

Install iw and wpa_supplicant:

# pacman -S iw wpa_supplicant

Use iw to get info about your wireless card(s):

$ iw list

Use wifi-menu (pre-installed) to find and connect to access points:

# wifi-menu

Useful packages

Some common packages that are almost required:

  • wget
  • zip and unzip
  • vim
  • git
  • base-devel, build tools to compile packages from source
  • zsh
  • cronie, cron for systemctl

Install these via Pacman:

pacman -S wget
pacman -S zip unzip
pacman -S vim
pacman -S git
pacman -S --needed base-devel
pacman -S zsh
pacman -S cronie

Comments

Comments powered by Disqus