Skip to content

Instantly share code, notes, and snippets.

@brockers
Last active March 25, 2016 17:16
Show Gist options
  • Select an option

  • Save brockers/fa566a1f0db4e5e2a8ea to your computer and use it in GitHub Desktop.

Select an option

Save brockers/fa566a1f0db4e5e2a8ea to your computer and use it in GitHub Desktop.
Fedora 20 KDE Spin default setup
#!/bin/bash
# This is meant to be run on a newly install computer
# and can be done remotely by something like this:
#
# ssh username@ipaddress 'bash -s' < local_script.sh
#
# Enable/Start SSHD
#######################################
systemctl start sshd
systemctl enable sshd
firewall-cmd --add-port=22/tcp
# Initial software install
#######################################
dnf update -y
dnf install -y firefox vim libreoffice wget git xdotool krdc gimp inkscape clementine nethack-vultures
# Add software repository
#######################################
## RPMFusion
dnf install -y http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
## Adobe
#dnf install http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm
#rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
## Virtualbox Current
dnf -y install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel
cd /etc/yum.repos.d/ && wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
dnf makecache
dnf -y install VirtualBox-4.3
## Google (Adding Google Chrome automatically adds the repository)
dnf install -y http://www.ai-sys.com/linux/google-chrome-stable_current_x86_64.rpm
# Secondary software install
#######################################
# dnf update -y
# dnf install -y
# Download other stuff
#######################################
cd /root/Downloads && wget http://www.ai-sys.com/linux/Kyocera_CS_3550ci.PPD
wget http://www.ai-sys.com/linux/AI-Admin-Background.png
# Set Default Printer
########################################
lpadmin -p "Kyocera-3550ci" -v socket://10.0.0.11:9100/ \
-P Kyocera_CS_3550ci.PPD -D "Kyocera Scanner, Printer, Copier, Fax" \
-L "A.I. OKC Office" -o 'Color=Mono' -E
shutdown -h now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment