Added install3

pull/1/head
beech 2 years ago
parent 36bcbf6094
commit 3acc0c60c4
  1. 1
      gnomesetup.sh
  2. 2
      install1-ex.sh
  3. 10
      install2-ex.sh
  4. 34
      install3-ex.sh
  5. 1
      kdesetup.sh

@ -57,6 +57,7 @@ for PKG in "${PKGS[@]}"; do
sudo pacman -S "$PKG" --noconfirm --needed
done
sudo systemctl disable sddm.service
sudo systemctl enable gdm.service
echo

@ -8,7 +8,7 @@ echo "Arch Install Script 1 - Drive Setup"
echo "-------------------------------------------------"
lsblk
echo "Specify drive name for install(ex. /dev/sda, /dev/nvme0n1). THIS WILL FORMAT & PARTITION THE SPECIFIED DRIVE!"
echo "Specify drive name for install (ex. /dev/sda, /dev/nvme0n1). THIS WILL FORMAT & PARTITION THE SPECIFIED DRIVE!"
read -r -p "Enter the disk: " DISK

@ -42,7 +42,11 @@ hwclock --systohc --utc
# set hostname - edit archdesk with preferred hostname
echo archdesk > /etc/hostname
echo "Set hostname."
read -r -p "Enter the hostname: " HOSTNAME
echo ${HOSTNAME} > /etc/hostname
# Enable TRIM
@ -67,8 +71,10 @@ echo "options root=PARTUUID=$(blkid -s PARTUUID -o value ${DISK}3) rw" >> /boot/
# install NetworkManager
sudo pacman -S networkmanager --noconfirm --needed
sudo systemctl disable dhcpcd.ervice
sudo systemctl stop dhcpcd.service
sudo systemctl enable NetworkManager.service
sudo systemctl start NetworkManager.service
echo "-------------------------------------------------"
echo "Arch Linux Installed & Configured. Please [exit] & run [umount -R /mnt] and reboot"

@ -0,0 +1,34 @@
install_gnome () {
echo "Setting up GNOME + GDM..."
sh gnomesetup.sh
echo "Gnome installed & GDM enabled on reboot."
}
install_kde () {
echo "Setting up KDE + SDDM..."
sh kdesetup.sh
echo "KDE installed + SDDM enabled on reboot"
}
install_software () {
echo "Setting up KDE + SDDM..."
sh software.sh
echo "Software installed."
}
while true; do
options=("Install GNOME + GDM" "Install KDE + SDDM" "Install Software" "Exit")
echo "Debian Server Setup: "
select opt in "${options[@]}"; do
case $REPLY in
1) install_gnome; break ;;
2) install_kde; break ;;
3) install_software; break ;;
4) break 2 ;;
*) echo "Invalid" >&2
esac
done
done
echo "Exiting! Please reboot to enter desktop environment."

@ -57,6 +57,7 @@ for PKG in "${PKGS[@]}"; do
sudo pacman -S "$PKG" --noconfirm --needed
done
sudo systemctl disable gdm.service
sudo systemctl enable sddm.service
echo