Skip to content

Instantly share code, notes, and snippets.

@jinmingjian
Last active April 8, 2018 02:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save jinmingjian/83a2a4c24813215189a3 to your computer and use it in GitHub Desktop.
Save jinmingjian/83a2a4c24813215189a3 to your computer and use it in GitHub Desktop.
kimsufi_arch_post1
# chang ssh and enable pub key
# nano -w /etc/ssh/sshd_config
# cp .ssh/authorized_keys2 /home/xxx/.ssh/authorized_keys
# change to ca's mirror
#/etc/pacman.conf
#[community]
#SigLevel = Never
#Include = /etc/pacman.d/mirrorlist
pacman -S haveged
haveged -w 1024
pacman-key --init
pacman-key --populate archlinux
pkill haveged
pacman -Rs haveged
su - xxx -c 'chsh -s $(which zsh)'
su - xxx -c 'wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O - | sh'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment