Skip to content

Instantly share code, notes, and snippets.

@gpdd
Last active December 5, 2015 13:09
Show Gist options
  • Save gpdd/052634ea3cc6207afa2b to your computer and use it in GitHub Desktop.
Save gpdd/052634ea3cc6207afa2b to your computer and use it in GitHub Desktop.
Arch network
hostnamectl set-hostname myhostname
timedatectl set-timezone Europe/Moscow
timedatectl set-ntp true
hwclock --systohc
gpg --list-keys
vi ~/.gnupg/gpg.conf
# keyserver hkp://keyserver.ubuntu.com
# keyserver-options auto-key-retrieve
# install cower
mkdir ~/cower
cd ~/cower
curl -L -O https://aur.archlinux.org/cgit/aur.git/snapshot/cower.tar.gz
tar -xvf cower.tar.gz
cd cower
makepkg -srci
# install broadcom-wl wifi driver https://wiki.archlinux.org/index.php/Broadcom_wireless
# configure Netctl https://wiki.archlinux.org/index.php/Netctl
# autologin and disable clearing of boot messages
systemctl edit getty@tty1
# [Service]
# ExecStart=
# ExecStart=-/usr/bin/agetty --autologin username --noclear %I 38400 $TERM
# TTYVTDisallocate=no
# systemctl enable lvm2-monitor.service
# vgscan
# vgchange -ay
# create snapshot
# lvcreate -L 10G -s -n rootsnap /dev/mapper/vg-rootv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment