Skip to content

Instantly share code, notes, and snippets.

@thecodingcod
Last active June 27, 2018 11:03
Show Gist options
  • Save thecodingcod/bb4640399131e887d15062715fa2dbba to your computer and use it in GitHub Desktop.
Save thecodingcod/bb4640399131e887d15062715fa2dbba to your computer and use it in GitHub Desktop.
CentOS Post Installation Primitive Script.
#Enable Epel,Nux Repos
#Epel
printf "\n<--------------- Enable Epel Repo ---------------------->\n"
yum install -y epel-release
#NUX
printf "\n<--------------- Enable NUX Repo ---------------------->\n"
yum install -y http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm
#--------------------------------#
#2- multimedia packages
#--------------------------------#
#a. Installing Vlc
printf "\n<--------------- Installing VLC/FFMpeg ---------------------->\n"
yum install -y vlc ffmpeg
#--------------------------------#
#--------------------------------#
#b. Installing Media Codecs
printf "\n<--------------- Installing Multimedia Codecs ---------------------->\n"
yum install -y gstreamer gstreamer-plugins-base gstreamer-plugins-good gstreamer-plugins-bad-free
yum install -y gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-ffmpeg
#--------------------------------#
#--------------------------------#
#installing Apps
#1- Basic Tools
printf "\n<--------------- Installing Basic Tools ---------------------->\n"
yum install -y vim git gparted youtube-dl ntfs-3g fuse deluge uget
#--------------------------------#
#--------------------------------#
#Update the System
printf "\n<--------------- System Update ---------------------->\n"
yum -y update
#--------------------------------#
#--------------------------------#
#Cinnamon Desktop
printf "\n<--------------- Installing Cinnamon Desktop ---------------------->\n"
yum groups install -y "Cinnamon Desktop"
#--------------------------------#
#--------------------------------#
#Development tools e.g. glibc,make,autotools, etc
printf "\n<--------------- Installing Development tools ---------------------->\n"
yum groups install -y "Development Tools"
#--------------------------------#
#--------------------------------#
#Kvm Packages
printf "\n<--------------- Installing KVM Virtualization Host ---------------------->\n"
sudo yum install -y qemu-kvm qemu-img virt-manager libvirt libvirt-python libvirt-client virt-install virt-viewer bridge-utils
#--------------------------------#
#--------------------------------#
#Kernel Headers and libraries
printf "\n<--------------- Installing Kernel Headers ---------------------->\n"
yum install -y kernel-headers kernel-tools kernel-devel
#--------------------------------#
#3- Python Packages
printf "\n<--------------- Installing Python/Python3/PIP ---------------------->\n"
#--------------------------------#
yum install -y python python3 python-pip
#--------------------------------#
#--------------------------------#
#Linuxacademy-dl & soundcloud downloader
pip install linuxacademy-dl scdl
#--------------------------------#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment