Last active
April 8, 2018 02:09
-
-
Save jinmingjian/83a2a4c24813215189a3 to your computer and use it in GitHub Desktop.
kimsufi_arch_post1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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