Skip to content

Instantly share code, notes, and snippets.

@SentryXSI
Last active September 6, 2019 17:52
Show Gist options
  • Save SentryXSI/13ed14978521fc7e361fccf5d581737e to your computer and use it in GitHub Desktop.
Save SentryXSI/13ed14978521fc7e361fccf5d581737e to your computer and use it in GitHub Desktop.
Fedora Server Dev Setup
#!/usr/bin/env bash
set -euxo pipefail
sudo dnf install -y \
httpd \
httpd-devel \
httpd-manual \
php \
php-bcmath \
php-cli \
php-common \
php-devel \
php-json \
php-fpm \
php-gd \
php-gmp \
php-manual-en \
php-mbstring \
php-opcache \
php-pdo \
php-sodium \
php-xml
sudo dnf install -y \
composer \
neofetch \
git \
hub \
git-extras \
vim-fugitive \
bash-completion
sudo firewall-cmd --add-service=http --zone=FedoraServer --permanent
sudo firewall-cmd --reload
sudo systemctl start httpd
sudo systemctl status httpd
php --version
git --version
composer --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment