Install arch linux on rpi3

Posted on Tue 07 June 2016 in posts

Follow instructions from the following url to install:

change root password: tp root

install some software:

pacman -S sudo gvim

uncomment the visudo line for wheel

$ sed -i 's/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
$ locale-gen
$ echo LANG=en_US.UTF-8 > /etc/locale.conf
$ echo KEYMAP=dvorak > /etc/vconsole.conf
$ ln -s /usr/share/zoneinfo/America/Denver /etc/localtime
$ timedatectl set-local-rtc 0
$ useradd -d /home/yourUserName -m -G wheel  -s /usr/bin/zsh yourUserName
$ passwd yourUserName

log out and back inn

$ sudo userdel alarm
$ pacman -S ntp
$ systemctl enable ntpd.service
$ systemctl start ntpd.service
$ sudo pacman -S --needed htop openssh alsa-utils git zsh wget base-devel dialog wpa_supplicant iw rxvt-unicode cower python libnewt

set up wireless

sudo wifi-menu -o
netctl start yourWifiSSID
netctl enable yourWifiSSID

install vundle

git clone ~/.vim/bundle/Vundle.vim
# then open vim and run :BundleInstall


chmod +x raspi-config
sudo ./raspi-config
# select overclock and set to high

Configure vnc

#install vnc
sudo pacman -S tigervnc
# auto configure
#shut down the server
vncserver -kill :1
#install x server
sudo pacman -S xorg-server xorg-xrdb xorg-xmodmap i3