Skip to content

Instantly share code, notes, and snippets.

View ruehowl's full-sized avatar
🏡

Rahul Varghese ruehowl

🏡
  • Qlik.com
  • India
View GitHub Profile
@ruehowl
ruehowl / bash-cheatsheet.sh
Created October 13, 2016 06:18 — forked from LeCoupa/bash-cheatsheet.sh
Bash CheatSheet for UNIX Systems
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04
@ruehowl
ruehowl / apache_nginx_php_proftpd.sh
Last active October 19, 2016 04:11
This script can be used to compile and install apache2.4.23, nginx, php7.0.11 and proftpd
#!/bin/bash
# This script can be used to compile and install apache2.4.23, nginx, php7.0.11 and proftpd
export PROJ_DIR=`pwd`
export ARCHIVE_DIR="$PROJ_DIR/archive"
export SOURCE_DIR="$PROJ_DIR/src"
export PREFIX=$1
echo "Creating Archive and src....."
mkdir -p "$PROJ_DIR" "$ARCHIVE_DIR" "$SOURCE_DIR"
echo "Done.."