From 7d8eff4871608ef36dce8ff3c62d147ab4eeb486 Mon Sep 17 00:00:00 2001 From: eichehome Date: Sun, 16 Jan 2022 22:14:12 +0100 Subject: [PATCH 1/5] First Version of KDE-Installation --- install.sh | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 install.sh diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..e7235c8 --- /dev/null +++ b/install.sh @@ -0,0 +1,34 @@ +ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime +hwclock --systohc + +# vim /etc/locale.gen +sed -i 's/#\(de_DE.UTF-8\)/\1/' /etc/locale.gen +locale-gen + +echo "LANG=de_DE.UTF-8" >> /etc/locale.conf +echo "KEYMAP=de-latin1" >> /etc/vconsole.conf #only for console not for DE or terminal +echo "FONT=Tamsyn10x20r" >> /etc/vconsole.conf +echo "arch" >> /etc/hostname +# vim /etc/hosts +echo "127.0.0.1 localhost" >> /etc/hosts +echo "::1 localhost" >> /etc/hosts +echo "127.0.1.1 arch.localedomain arch" >> /etc/hosts +echo root:test | chpasswd + +#AUR +pacman -S base-devel linux-headers linux-lts-headers + +# bind = dnsutils (dig, etc.) +pacman -S dialog reflector xdg-user-dirs xdg-utils inetutils bind bash-completion openssh rsync iptables-nft ipset firewalld lynx + +pacman -S efibootmgr mtools dosfstools sof-firmware os-prober +#pacman -S grub os-prober efibootmgr mtools dosfstools + +pacman -S iwd plasma kde-applications sddm bluez bluez-utils cups hplip alsa-utils pipewire pipewire-docs pipewire-alsa pipewire-pulse pipewire-jack helvum pavucontrol + +#Power +pacman -S acpi acpi_call tlp + +systemctl enable systemd-networkd +systemctl enable systemd-resolved +systemctl enable sddm \ No newline at end of file From 07e7498a85bb024347c40ed6ed6b2337b6d6c146 Mon Sep 17 00:00:00 2001 From: eichehome Date: Sun, 16 Jan 2022 22:45:21 +0100 Subject: [PATCH 2/5] Installed Systemdienste enabled --- install.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index e7235c8..2dbf281 100644 --- a/install.sh +++ b/install.sh @@ -29,6 +29,15 @@ pacman -S iwd plasma kde-applications sddm bluez bluez-utils cups hplip alsa-uti #Power pacman -S acpi acpi_call tlp +# System systemctl enable systemd-networkd systemctl enable systemd-resolved -systemctl enable sddm \ No newline at end of file +systemctl enable sshd +systemctl enable reflector.timer +systemctl enable firewalld +systemctl enable fstrim.timer +# Laptop +systemctl enable iwd +systemctl enable sddm +systemctl enable cups + From a526e707ae101c6981a70fa458da38449df1db8e Mon Sep 17 00:00:00 2001 From: eichehome Date: Sun, 16 Jan 2022 22:47:54 +0100 Subject: [PATCH 3/5] =?UTF-8?q?Initrd-Commands=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.sh b/install.sh index 2dbf281..6ef02ad 100644 --- a/install.sh +++ b/install.sh @@ -41,3 +41,6 @@ systemctl enable iwd systemctl enable sddm systemctl enable cups +sed -i 's/MODULES=()/MODULES=(amdgpu)/' /etc/mkinitcpio.conf + +mkinitcpio -p linux From ea25859fa4f2507ffa1043bd8560421897d5cf8f Mon Sep 17 00:00:00 2001 From: eichehome Date: Sun, 16 Jan 2022 22:49:06 +0100 Subject: [PATCH 4/5] Bootloader added --- install.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/install.sh b/install.sh index 6ef02ad..d2ef04d 100644 --- a/install.sh +++ b/install.sh @@ -44,3 +44,21 @@ systemctl enable cups sed -i 's/MODULES=()/MODULES=(amdgpu)/' /etc/mkinitcpio.conf mkinitcpio -p linux + +bootctl install + +# Bootloaderconfig +sed -i 's/#\(timeout\)\s[0-9]/\1 5/' /boot/loader/loader.conf +sed -i 's/#\(console\)/\1/' /boot/loader/loader.conf +sed -i 's/keep/max/' /boot/loader/loader.conf +sed -i 's/\(default\s\).*/\1arch.conf/' /boot/loader/loader.conf + +# Entry Arch +echo "title Arch Linux" >> /boot/loader/entries/arch.conf +echo "linux /vmlinuz-linux" >> /boot/loader/entries/arch.conf +# AMD +echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch.conf +# Intel +# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch.conf +echo "initrd /initramfs-linux.img" >> /boot/loader/entries/arch.conf +echo 'options root="LABEL=arch" rw' >> /boot/loader/entries/arch.conf From 2befef5e458d304a6a930bfbd1858da13e49089c Mon Sep 17 00:00:00 2001 From: eichehome Date: Sun, 16 Jan 2022 22:49:44 +0100 Subject: [PATCH 5/5] Netzwerk configured --- install.sh | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/install.sh b/install.sh index d2ef04d..fd19af3 100644 --- a/install.sh +++ b/install.sh @@ -62,3 +62,45 @@ echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch.conf # echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch.conf echo "initrd /initramfs-linux.img" >> /boot/loader/entries/arch.conf echo 'options root="LABEL=arch" rw' >> /boot/loader/entries/arch.conf + +# Netzwerk +# Ethernet +echo "[Match]" >> /etc/systemd/network/20-ethernet.network +echo "Name=en*" >> /etc/systemd/network/20-ethernet.network +echo "Name=eth*" >> /etc/systemd/network/20-ethernet.network +echo "" >> /etc/systemd/network/20-ethernet.network +echo "[Network]" >> /etc/systemd/network/20-ethernet.network +echo "DHCP=yes" >> /etc/systemd/network/20-ethernet.network +echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-ethernet.network +echo "" >> /etc/systemd/network/20-ethernet.network +echo "[DHCPv4]" >> /etc/systemd/network/20-ethernet.network +echo "RouteMetric=100" >> /etc/systemd/network/20-ethernet.network +echo "" >> /etc/systemd/network/20-ethernet.network +echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-ethernet.network +echo "RouteMetric=100" >> /etc/systemd/network/20-ethernet.network +# Wlan +echo "[Match]" >> /etc/systemd/network/20-wlan.network +echo "Name=wl*" >> /etc/systemd/network/20-wlan.network +echo "" >> /etc/systemd/network/20-wlan.network +echo "[Network]" >> /etc/systemd/network/20-wlan.network +echo "DHCP=yes" >> /etc/systemd/network/20-wlan.network +echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-wlan.network +echo "" >> /etc/systemd/network/20-wlan.network +echo "[DHCPv4]" >> /etc/systemd/network/20-wlan.network +echo "RouteMetric=600" >> /etc/systemd/network/20-wlan.network +echo "" >> /etc/systemd/network/20-wlan.network +echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-wlan.network +echo "RouteMetric=600" >> /etc/systemd/network/20-wlan.network +# Wwan (Mobilefunk) +echo "[Match]" >> /etc/systemd/network/20-wwan.network +echo "Name=ww*" >> /etc/systemd/network/20-wwan.network +echo "" >> /etc/systemd/network/20-wwan.network +echo "[Network]" >> /etc/systemd/network/20-wwan.network +echo "DHCP=yes" >> /etc/systemd/network/20-wwan.network +echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-wwan.network +echo "" >> /etc/systemd/network/20-wwan.network +echo "[DHCPv4]" >> /etc/systemd/network/20-wwan.network +echo "RouteMetric=700" >> /etc/systemd/network/20-wwan.network +echo "" >> /etc/systemd/network/20-wwan.network +echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-wwan.network +echo "RouteMetric=700" >> /etc/systemd/network/20-wwan.network