Skip to content

Instantly share code, notes, and snippets.

@vodolaz095
Last active January 31, 2021 10:00
Show Gist options
  • Save vodolaz095/81b3ccb237b2baf3979d to your computer and use it in GitHub Desktop.
Save vodolaz095/81b3ccb237b2baf3979d to your computer and use it in GitHub Desktop.
Little script to help me installing Fedora 32 linux on my home PCs (comment lines you do not need)
#!/bin/sh
echo "Start SSHD service"
systemctl enable sshd
systemctl start sshd
echo "Remove junky programs i hate"
dnf -y remove clipit asunder gnomebaker lxmusic gnumeric osmo pidgin xpad
echo "Upgrade system"
dnf -y upgrade
echo "Install rpm fussion repos"
dnf -y install 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
echo "Install video player"
dnf -y install smplayer
echo "Install MPD server and client"
dnf -y install mpd lame ncmpc
echo "Install my favourite desctop programs"
dnf -y install rednotebook swift firefox screen mc system-config-users sqliteman libpng12 liferea sshfs keepassx seahorse gnupg gnupg2 scrot system-config-users
echo "Install foto editing tools"
dnf -y install shotwell rawstudio gimp
echo "Install and start Tor"
dnf -y install tor
systemctl enable tor
systemctl start tor
echo "Install nodejs of actual version and tools required"
dnf -y install gcc-c++ make dnf-plugins-core krb5-libs krb5-devel git
dnf -y install nodejs nodejs-devel npm
echo "Install Go of actual version"
dnf -y install golang golang-godoc
echo "Install ruby for heroku toolchain"
dnf -y install ruby
echo "Install syncthing"
dnf -y install syncthing
systemctl enable syncthing@vodolaz095
systemctl start syncthing@vodolaz095
echo "Install redis database"
dnf -y install redis
systemctl start redis
systemctl enable redis
echo "Install mongo database"
dnf -y install mongodb mongodb-server
systemctl enable mongod
systemctl start mongod
echo "Install Mariadb database"
dnf -y install mariadb mariadb-server
systemctl enable mariadb
systemctl start mariadb
echo "Install nginx"
#http://blog.frag-gustav.de/2013/07/21/nginx-selinux-me-mad/
dnf -y install nginx
chcon -Rt httpd_sys_content_t /srv/www/
setsebool -P httpd_can_network_connect 1
echo "Install hipchat"
echo "[atlassian-hipchat]
name=Atlassian Hipchat
baseurl=http://downloads.hipchat.com/linux/yum
enabled=1
gpgcheck=1
gpgkey=https://www.hipchat.com/keys/hipchat-linux.key
" > /etc/yum.repos.d/atlassian-hipchat.repo
dnf -y install hipchat
echo "Install steam"
#dnf config-manager --add-repo=http://negativo17.org/repos/fedora-steam.repo
dnf -y install steam
echo "Install podman"
dnf -y install podman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment