Skip to content

Instantly share code, notes, and snippets.

@andrewseidl
Last active October 17, 2015 07:10
Show Gist options
  • Save andrewseidl/de454164198fb838ba68 to your computer and use it in GitHub Desktop.
Save andrewseidl/de454164198fb838ba68 to your computer and use it in GitHub Desktop.
Commands to install Yaourt and setup user access to Arch running on AWS
curl https://github.com/andrewseidl.keys >> ~/.ssh/authorized_keys
sudo pacman --noconfirm -Syyu
sudo pacman --noconfirm -S base-devel vim zsh wget yajl tmux mlocate
wget https://aur.archlinux.org/cgit/aur.git/snapshot/yaourt.tar.gz
wget https://aur.archlinux.org/cgit/aur.git/snapshot/package-query.tar.gz
tar xvf package-query.tar.gz
tar xvf yaourt.tar.gz
cd package-query
makepkg -i --noconfirm
cd ../yaourt
makepkg -i --noconfirm
usermod -a -G wheel andrew
vim /etc/sudoers
su - andrew
ssh-keygen -q
curl https://github.com/andrewseidl.keys >> ~/.ssh/authorized_keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment