Skip to content

Instantly share code, notes, and snippets.

View thewellington's full-sized avatar

W. S. Wellington thewellington

View GitHub Profile
@thewellington
thewellington / req-rpm.txt
Created October 10, 2013 20:58
Required RPMs for Oracle
binutils-2.17.50.0.6
compat-libstdc++-33-3.2.3
compat-libstdc++-33-3.2.3 (32 bit)
elfutils-libelf-0.125
elfutils-libelf-devel-0.125
gcc-4.1.2
gcc-c++-4.1.2
glibc-2.5-24
glibc-2.5-24 (32 bit)
glibc-common-2.5
@thewellington
thewellington / wlsadmin
Created October 10, 2013 20:59
init scripts to start/stop Weblogic and Node Manager
#!/bin/bash
#
# wlsndm startup script for node manager
#
# chkconfig: - 75 15
# description: weblogic
# processname: WLSADMIN
# Source function library
. /etc/rc.d/init.d/functions
@thewellington
thewellington / .screenrc
Created October 12, 2013 02:19
My .screenrc file
## .screenrc ##
startup_message off
sorendition 00 07
# Tab bar
hardstatus off
@thewellington
thewellington / XProtect
Created October 16, 2013 04:39
File to edit when APple is being Jerks about Java and Flash
`/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist`
@thewellington
thewellington / etc-inittab
Last active December 25, 2015 21:48
Disable GUI in CentOS 6
# inittab is only used by upstart for the default runlevel.
#
# ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# System initialization is started by /etc/init/rcS.conf
#
# Individual runlevels are started by /etc/init/rc.conf
#
# Ctrl-Alt-Delete is handled by /etc/init/control-alt-delete.conf
#
@thewellington
thewellington / unlock.sql
Created October 18, 2013 17:46
Unlock Oracle Schema/User account
alter user USERNAME account unlock;
@thewellington
thewellington / create_volume.sh
Created October 23, 2013 20:07
Adding new volumes to NetApp
#
#
#
#create flexvol
vol create <volume_name> <aggregate_name> <size><m|g>
# activate Deduplication or Storage Efficiency
sis on /vol/<volume_name>
@thewellington
thewellington / nfs_exports.sh
Last active December 26, 2015 08:59
Create NFS Exports on NetApp
#
#
#
# first, read current exports file
rdfile /vol/vol0/etc/exports
# second, copy output to text editor, make necessary changes
# third, copy/paste new exports file
@thewellington
thewellington / tar_all_the_dirs.sh
Created November 6, 2013 18:17
tar and zip all the directories into individual .tgz files
#!/bin/bash
#
# Used to tar up all the directories in the cwd and create tgzs with the names of the original directories
for i in `find . -type d -depth 1`; do tar -czvf $i.tgz $i; done
@thewellington
thewellington / createbootdisk.sh
Created December 2, 2013 18:18
Create OS X Installer USB Boot Drive #boot #mac #usb
#!/bin/bash
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction