Install arch linux on rpi3

Posted on Tue 07 June 2016 in posts

Follow instructions from the following url to install:

https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3

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 https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
# then open vim and run :BundleInstall

overclock

wget https://raw.github.com/chattama/raspi-config-archlinux/archlinux/raspi-config
chmod +x raspi-config
sudo ./raspi-config
# select overclock and set to high

Configure vnc

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