Drupal on Docker in 30 seconds

Install Docker

After that you just need to pull a drupal container from docker hub

Access new docker environment on http://yourdockerserver:8080

account login is admin / admin

docker

Grab a beer

Docker install on OpenSuse Tumbleweed

 

 

 

Quick one liner to get a full OPatch inventory of your Oracle Middleware Server

After trying to use OEM to grab all the patches from every installed Oracle product, I gave up and decided to write my own one liner. Customize to match your weblogic install directory.

This script will first find all Middleware Homes specifically using Weblogic, then run the lsinventory or lspatches to display a full listing.

  • First, sign in as the “oracle” user
  • Second, run the following command on your linux system

ora-plane

 

 

How to extend your Wireless Network with DD-WRT

I am always frustrated with WiFi. It seems like a black art needing certain spirits and voodoo dolls in place. Anyway, after struggling for a bit, I thought I would document how I extended my Netgear  WNDR3700v2 network hundreds of feet using older Buffalo Routers.

I have a barn about 100 feet away from my house and obviously need Man Cave stuff in there including streaming video and audio. After looking a Cantennas and other Magical tools, I came up with a simple solutions using OpenSource software.

Goto https://www.dd-wrt.com and search for you Wireless Router in their database. In my case, Buffalo WHR-G300N v2.

First of all read the instructions and make sure you understand the flashing process before proceeding. I have and you may BRICK your router to a useless light flasher.

Download the two bin files to your computer. In my case the Buffalo routers already had a “DD-WRT Like” interface, so all I had to do was update using the Buffalo to DD-WRT firmware, followed by the whr-g300nv2-firmware-MULTI.bin

Once you have the firmware installed and router rebooted, follow the below screenshots as a guide.

Setup / Wireless / Security etc.

  • Disable WAN
  • Set you IP info to your local network

Screenshot from 2015-08-26 20:56:36

  • Choose “Client Bridge”
  • Match your Wireless SID and security from your First Main Router
  • Add a Virtual Interface and Broadcast you new SID

Screenshot from 2015-08-26 20:58:27

  • Set your wireless security to match your main router
  • Secure your Virtual Interface with same or different security.

Screenshot from 2015-08-26 20:59:07

  • IMPORTANT Choose Router from the Operating Mode. I futsed with this for an hour
  • Once that is set to Router, your routing will actually work as well as DNS.

Screenshot from 2015-08-26 20:59:55

  • Goto Status and Wireless to check your connection to Main Router. You should see MAC Address and Signal.

Screenshot from 2015-08-26 21:00:36

  • Sit back and grab a beer!

 

 

 

 

Weblogic Startup Scripts

The following scripts and procedure allows stopping and starting of Weblogic Instances using Jython (Python) scripts and the nodemanager. Services are then created and can be used at startup and shutown for your NodeManager, Admin Server, and Managed Servers.

Assumptions:

Version = Weblogic 10.3.6
MW_HOME = /u01/app/oracle/weblogic1036R2
JAVA_HOME = /u01/app/jdk
DOMAIN = IDMdomain
BOOTSCRIPTS LOCATION = /u01/app/oracle/$MW_HOME/bootscripts
Node Manager is installed and configured.

Configure the nodemanager as follows

 

Create the main wls.py script

Next is the startall.sh script

stopall.sh

 

config.properties

 

Before running this command (deprecated in 12c, but still works in 12.1.3), you must source setDomainEnv.sh for the domain you are using.

Encrypt username and password (11g)

Then run this command to create your encrypted User and Key files

Encrypt credentials for Weblogic

 

Now create your init.d startup scripts

 

/etc/init.d/nodemanager

The weblogic scripts call the startall.sh when the server starts, and stopall.sh when the server stops.

/etc/init.d/weblogic

 

Both the nodemanager and weblogic startup scripts need to made runable (chmod 755) and then added to chkconfig

Update your Nodemanager type to be “Plain”

image2015-6-24 7-54-27

This can be done for each domain on your server

Well Done! Grab a beer