Skip to content

Instantly share code, notes, and snippets.

View dyoungwd's full-sized avatar

Darren Young dyoungwd

View GitHub Profile
@dyoungwd
dyoungwd / fedora-lampserver.sh
Last active October 31, 2015 10:03
Set up LAMP server Fedora
#! /bin/bash
# script to lamp server
# author dyoung0378@gmail.com
#LOG IN AS ROOT BEFORE EXECUTING SCRIPT su -l
#LAMP is an acronym derived from the first letters of the combination of operating system #and open-source software stack. Linux, Apache HTTP server, MySQL/MairiaDB, and PHP/Perl/#Python
#Apache
dnf -y install httpd
#Enable the httpd service to start automatically on every reboot
@dyoungwd
dyoungwd / steamfix.sh
Last active October 31, 2015 10:38
Script to install steam and use system runtime instead of steam runtime
#!/bin/bash
# script to install steam and use system runtime instead of steam runtime
# author D4zzy dyoung0378@gmail.com
DIR=$HOME/.local/share/Steam/
# Install steam if not already done and start
# sudo dnf install steam
#Steam required to be started before removing steam runtime
@dyoungwd
dyoungwd / fedora25-upgrade
Last active November 22, 2016 14:52
Fedora 25 Upgrade Script
#! /bin/bash
# script to upgrade to Fedora 25
#login as root
su
#Upgrade system
dnf -y upgrade
#install plugins
dnf -y install dnf-plugin-system-upgrade
#Download files for upgrade
@dyoungwd
dyoungwd / fedora-wifi-fix.sh
Created November 24, 2016 10:20
realtek wifi fix
echo "options rtl8723be fwlps=0 swlps=0" | sudo tee /etc/modprobe.d/rtl8723be.conf
@dyoungwd
dyoungwd / nodejs-install.sh
Created November 24, 2016 22:22
Install nodejs in Fedora
#!/usr/bin/env bash
func_check_for_root() {
if [ ! $( id -u ) -eq 0 ]; then
echo "ERROR: $0 Must be run as root, Script terminating" ;exit 7
fi
}
func_check_for_root
#SETUP PARAMS
@dyoungwd
dyoungwd / koala-install.sh
Created November 25, 2016 09:17
Script to install koala-app Less / Sass compiler on Fedora
#!/usr/bin/env bash
#Script to install Koala-App
#Koala is a GUI application for Less, Sass, Compass and CoffeeScript compilation
#http://koala-app.com/
#Script by D4zzy
# Install wget if not installed
sudo dnf install wget
# Download Koala App
@dyoungwd
dyoungwd / 0_reuse_code.js
Last active February 10, 2017 00:01
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@dyoungwd
dyoungwd / pentestTools.sh
Last active November 8, 2017 18:58 — forked from opnchaudhary/pentestTools.sh
This script will download the security tools needed for pentesting in fedora
#!/bin/sh
#Install Complete Security-Lab tools
#sudo dnf -y groupinstall security-lab
#If you want certain groups - copy paste the required group into terminal
# Install Code Analysis Tools
sudo dnf -y install splint pscan flawfinder rats
@dyoungwd
dyoungwd / Fedora-Jekyll-Install.sh
Created April 2, 2018 08:53
Installation Script For Jekyll on Fedora 27
sudo dnf install ruby ruby-devel redhat-rpm-config gcc gcc-c++
sudo gem install json
sudo gem install jekyll bundler
sudo gem update --system
//Move to the jekyll folder - cd ./your/jekyll/folder
bundle install
bundle update
@dyoungwd
dyoungwd / ubuntu-server-setup.sh
Created April 3, 2018 21:12
General Script For Setting Up Your Ubuntu / Debian OpenStack Instance or Server for Website Hosting
# General Script For Setting Up Your Ubuntu / Debian OpenStack Instance or Server for Website Hosting
# You Must Edit 'newuser' And 'example.com' To Desired username And domain
# Install Apache
sudo apt-get update
sudo apt-get install -y apache2
# Install Lamp Instead ( apache, php, mysql )
# sudo apt-get install lamp-server^