Created
July 7, 2014 14:54
-
-
Save gilgamesh2k/0db8f473c054266e0869 to your computer and use it in GitHub Desktop.
Fedora 20 post installation script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $EUID -ne 0 ]; then | |
echo "you have to run this with sudo..." | |
exit -1 | |
fi | |
# Fedora 19 Post Installation Script | |
echo "[!] Installing yum-plugin-fastestmirror..." | |
yum -y install yum-plugin-fastestmirror | |
echo "[!] Updating system..." | |
yum -y update | |
echo "[!] Installing RPMFusion..." | |
yum localinstall -y --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm | |
yum localinstall -y --nogpgcheck http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm | |
yum install -y --nogpg rpmfusion* | |
echo "[!] Installing rpm-sphere..." | |
cat <<EOF >>/etc/yum.repos.d/rpm-sphere.repo | |
[rpm-sphere] | |
name=RPM Sphere | |
baseurl=http://download.opensuse.org/repositories/home:/zhonghuaren/Fedora_19/ | |
gpgkey=http://download.opensuse.org/repositories/home:/zhonghuaren/Fedora_19/repodata/repomd.xml.key | |
enabled=1 | |
gpgcheck=1 | |
EOF | |
# Czech man pages | |
yum -y install man-pages man-pages-cs | |
# Basic software | |
echo "[!] Installing basic software (wget,nano,mc)" | |
yum -y install wget nano mc # todo config nano mc | |
# ===== Tools ===== | |
# Compression | |
echo "[!] Installing compression tools" | |
yum -y install unrar p7zip | |
yum -y install cmatrix | |
# Monitoring | |
echo "[!] Installing monitoring tools..." | |
yum -y install htop iotop nmon fping | |
# Disks | |
echo "[!] Installing disk tools..." | |
yum -y install smartmontools gparted partimage hdparm | |
# Hardware | |
echo "[!] Installing hardware tools..." | |
yum -y install lshw lm_sensors | |
# ==================== | |
# ===== Codecs ===== | |
echo "[!] Installing Proprietary Codecs..." # todo: nejak moc toho je | |
yum install -y gstreamer-* gstreamer1-* ffmpeg x264 --exclude=*devel,*doc* | |
# =============== GUI =============== | |
# Gnome | |
yum -y install dconf-editor | |
yum -y install gnome-tweak-tool | |
# GUI software | |
yum -y install deluge | |
yum -y install krusader kate | |
yum -y install unetbootin | |
# Media players - SMPlayer Banshee | |
yum -y install banshee # todo: Banshee je v .NETu? | |
yum -y install smplayer | |
# ===== Firefox ===== | |
# Adobe Flash Player plugin | |
echo "[!] Installing Adobe Flash Player..." | |
yum install -y --nogpg http://linuxdownload.adobe.com/adobe-release/adobe-release-$(arch)-1.0-1.noarch.rpm | |
yum install -y flash-plugin | |
# =================== | |
# Big software | |
# Google Chrome | |
echo "[!] Installing Google Chrome..." | |
cat <<EOF >> /etc/yum.repos.d/google-chrome.repo | |
[google-chrome] | |
name=google-chrome - 64-bit | |
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64 | |
enabled=1 | |
gpgcheck=1 | |
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub | |
EOF | |
yum -y install -y google-chrome-stable | |
# Dropbox | |
echo "[!] Installing Dropbox..." | |
cat <<EOF >> /etc/yum.repos.d/dropbox.repo | |
[Dropbox] | |
name=Dropbox Repository | |
baseurl=http://linux.dropbox.com/fedora/\$releasever/ | |
gpgkey=http://linux.dropbox.com/fedora/rpm-public-key.asc | |
EOF | |
yum -y install -y nautilus-dropbox | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment