aboutsummaryrefslogtreecommitdiff
path: root/1.root.bash_history
blob: 3d1fe066dbc83d7821957088b77bc94b7de63899 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
pacman-key --init
pacman-key --populate archlinuxarm
nano /etc/hostname
nano /etc/hosts
    127.0.0.1 zeno localhost
    10.0.0.1 zeno.local zeno.global.domain
nano /etc/locale.gen
    en_US.UTF-8
nano /etc/locale.conf
    LANG=en_US.UTF-8
ln -s /usr/share/zoneinfo/MST7MDT /etc/localtime

# Quiet Boot (Optional)
nano /boot/cmdline.txt
    root=/dev/mmcblk0p2 rw rootwait console=ttyAMA0,115200 console=tty1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 elevator=noop audit=0 quiet loglevel=3 vga=current
nano /etc/sysctl.conf
    kernel.printk = 3 3 3 3

reboot

wifi-menu
nano /etc/pacman.conf
pacman -Syu --needed base-devel moreutils sudo man zsh vim git \
  tmux screen ncurses tree htop ncdu nmap wavemon bat mosh \
  wget rsync aria2 ack qrencode sshfs bc entr jq zip unzip unrar atool \
  nasm clang cmake python nodejs npm gdb ed edbrowse elinks w3m lynx \
  ffmpeg imagemagick libcaca autossh nginx avahi hostapd nss-mdns
  # And whatever else you want

visudo
groupmod -n $NEWUSER alarm
usermod -d /home/NEWUSER -l $NEWUSER -m alarm
usermod -aG users,wheel,http,uucp,lp,video,audio,input,git $NEWUSER
passwd $NEWUSER
passwd

vim /etc/ssh/sshd_config
# Recommended settings are in sshd_config in the repo

systemctl start avahi-daemon
systemctl enable avahi-daemon
vim /etc/nsswitch.conf
cp /usr/share/doc/avahi/ssh.service /etc/avahi/services/
vim /etc/avahi/services/ssh.service

reboot