Created
January 18, 2015 23:32
-
-
Save dantoncancella/1a443ddd312d7a052244 to your computer and use it in GitHub Desktop.
Feroda 20 initial development installation
This file contains hidden or 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 "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