Added VM setup

pull/1/head
beech 2 years ago
parent f59adde5ff
commit 34287ebc7b
  1. 10
      README.md
  2. 1
      preinstall2.sh
  3. 70
      setup-vm.sh
  4. 6
      setup.sh

@ -1,6 +1,6 @@
# Arch Linux Install Scripts
Scripts for Arch install & configuration with DE, support packages, and apps. Includes VMWare drivers.
Scripts for Arch install & configuration with DE, support packages, and apps. Includes option to install VMWare drivers.
---
@ -59,7 +59,13 @@ reboot # Remove installation media during reboot
sudo pacman -S --noconfirm pacman-contrib curl git
sudo git clone https://git.boppdev.net/beech/ArchScripts
cd ArchScripts
sh setup.sh # Comment out line 9, 65 & 66 if you're not on a VM
# Normal Install
sh setup.sh
sh software.sh
# Installing as VM guest
sh setup-vm.sh
sh software.sh
```

@ -40,6 +40,7 @@ echo "options root=PARTUUID=$(blkid -s PARTUUID -o value /dev/sda3) rw" >> /boot
# install dhcpd service
sudo pacman -S dhcpcd --noconfirm --needed
sudo systemctl enable dhcpcd@ADAPTER.service # EDIT "ADAPTER" WITH YOUR ADAPTER IN IP LINK
# install NetworkManager

@ -0,0 +1,70 @@
#!/usr/bin/env bash
echo
echo "Installing Base System"
echo
PKGS=(
# --- VM Packages (Uncomment if not a VM guest)
'open-vm-tools'
# --- XORG Display Rendering
'xorg' # Base Package
'xorg-drivers' # Display Drivers
'xterm' # Terminal for TTY
'xorg-server' # XOrg server
'xorg-apps' # XOrg apps group
'xorg-xinit' # XOrg init
'xorg-xinput' # XOrg xinput
'xorg-twm' # XOrg twm
'xorg-xclock' # XOrg xclock
'xf86-input-vmmouse'
'xf86-video-vmware'
'mesa'
# --- Setup Desktop
'gnome' # GNOME
'xfce4-power-manager' # Power Manager
# --- Login Display Manager
'gdm' # Base Login Manager
# --- Networking Setup
'dialog' # Enables shell scripts to trigger dialog boxex
'networkmanager' # Network connection manager
'network-manager-applet' # System tray icon/utility for network connectivity
'dhclient' # DHCP client
'libsecret' # Library for storing passwords
'fail2ban' # Ban IP's after man failed login attempts
'ufw' # Uncomplicated firewall
# --- Audio
'alsa-utils' # Advanced Linux Sound Architecture (ALSA) Components https://alsa.opensrc.org/
'alsa-plugins' # ALSA plugins
'pulseaudio' # Pulse Audio sound components
'pulseaudio-alsa' # ALSA configuration for pulse audio
'pavucontrol' # Pulse Audio volume control
'pnmixer' # System tray volume control
# --- Bluetooth
'bluez' # Daemons for the bluetooth protocol stack
'bluez-utils' # Bluetooth development and debugging utilities
'bluez-libs' # Bluetooth libraries
'bluez-firmware' # Firmware for Broadcom BCM203x and STLC2300 Bluetooth chips
'blueberry' # Bluetooth configuration tool
'pulseaudio-bluetooth' # Bluetooth support for PulseAudio
)
for PKG in "${PKGS[@]}"; do
echo "INSTALLING: ${PKG}"
sudo pacman -S "$PKG" --noconfirm --needed
done
sudo systemctl enable gdm.service
sudo systemctl enable vmtoolsd.service
sudo systemctl enable vmware-vmblock-fuse.service
echo
echo "Done! Please Reboot & Run software.sh"
echo

@ -5,9 +5,6 @@ echo
PKGS=(
# --- VM Packages (Uncomment if not a VM guest)
'open-vm-tools'
# --- XORG Display Rendering
'xorg' # Base Package
'xorg-drivers' # Display Drivers
@ -62,9 +59,6 @@ done
sudo systemctl enable gdm.service
sudo systemctl enable vmtoolsd.service # Comment out if VM guest
sudo systemctl enable vmware-vmblock-fuse.service # Comment out if VM guest
echo
echo "Done! Please Reboot & Run software.sh"
echo