Skip to content

Instantly share code, notes, and snippets.

@dantoncancella
Created January 18, 2015 23:32
Show Gist options
  • Save dantoncancella/1a443ddd312d7a052244 to your computer and use it in GitHub Desktop.
Save dantoncancella/1a443ddd312d7a052244 to your computer and use it in GitHub Desktop.
Feroda 20 initial development installation
#!/bin/bash
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
yum groupinstall -y 'Development tools'
yum install -y httpd php php-devel mysql mysql-server php-mysqlnd php-mssql php-opcache
sudo systemctl enable httpd.service
sudo systemctl enable mariadb.service
sudo systemctl start mariadb.service
sudo systemctl start httpd.service
yum localinstall -y --nogpgcheck 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
yum update
yum install -y gnome-classic-session vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment