aboutsummaryrefslogtreecommitdiff
path: root/1.root.bash_history
diff options
context:
space:
mode:
Diffstat (limited to '1.root.bash_history')
-rw-r--r--1.root.bash_history47
1 files changed, 47 insertions, 0 deletions
diff --git a/1.root.bash_history b/1.root.bash_history
new file mode 100644
index 0000000..aa2a253
--- /dev/null
+++ b/1.root.bash_history
@@ -0,0 +1,47 @@
+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
+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 ffmpeg imagemagick libcaca \
+ nasm clang cmake python nodejs npm gdb ed edbrowse elinks w3m lynx \
+ autossh nginx avahi hostapd nss-mdns paccache
+ # 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