Sunday, March 8, 2015

Mac install Windows USB drive NTFS in read write mode

This is probably one of the first things you have to learn about Mac.... it took me one month of Mac usage to actually figure it out.

http://osxdaily.com/2013/10/02/enable-ntfs-write-support-mac-os-x/

my USB drive is called 2TBSMALL:

diskutil info /Volumes/2TBSMALL | grep UUID 
#(the result for me is 1B5A8C6C-616A-4537-B0F2-B9D13ADE305B)

sudo nano /etc/fstab
#(enter this line, then CTRL-O and CTRL-X)
UUID=1B5A8C6C-616A-4537-B0F2-B9D13ADE305B none ntfs rw,auto,nobrowse

#eject the Drive and insert it again. It should NOT appear in finder - don't panic it's in /Volumes.

#run the Disk Utility and make sure the drive is in R/W mode

#then create a link on the Desktop 
sudo ln -s /Volumes/DRIVENAME ~/Desktop/DRIVENAME
#type fn-F11 to show desktop




If this doesn't work, from terminal run "dmesg", in my logs I could find this error:

ntfs_system_inodes_get(): $LogFile is not clean. Mount in Windows.

so I put the Drive in Windows, run the "fix errors" utility, done a safe eject and opla', in Mac it worked!

PS all this obviously STINKS big time, and it proves that Apple and Microsoft are just 2 Corporations who make the planet a miserable place to live. We would be much better off in a planet without Masters and without Slaves, and possibly without Gods and without States - and of course without Armies.

PPS another RANT: how can someone make a keyboard without curly and square braces and pipe sign? Well, Apple did it! Brilliant! IQ below 80...

Thursday, March 5, 2015

Installing Weblogic 11.1.6 with Java 7 in a few seconds

(maybe the few seconds is an overstatement....)

With the Biemond way (thank you Biemond you are a God):

install git and vagrant

Download jdk-7u55-linux-x64.tar.gz from http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html#jdk-7u55-oth-JPR



Download UnlimitedJCEPolicyJDK7.zip (JCE Java Cryptographic Extensions) here http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html

Download wls1036_generic.jar from http://www.oracle.com/technetwork/middleware/ias/downloads/wls-main-097127.html (choose "Oracle WebLogic Server 11gR1 (10.3.6) + Coherence - Package Installer" for "Additional Platforms", where it says "File1 1 GB" )

Download from https://support.oracle.com the p17572726_1036_Generic.zip "Patch 17572726: SU Patch [FCX7]: WLS PATCH SET UPDATE 10.3.6.0.7" https://support.oracle.com/epmos/faces/PatchDetail?requestId=16925196&_afrLoop=481943043189464&patchId=17572726&_afrWindowMode=0&_adf.ctrl-state=jhdx9weyr_233

Checkout the Biemond Vagrant from here https://github.com/biemond/biemond-orawls-vagrant (copy the http url from the "HTTPS clone URL" box)

git clone https://github.com/biemond/biemond-orawls-vagrant.git

put the downloaded jars and zips and tar.gz into /Users/edwin/software

vagrant up

It should all work. If not, use your brain.





If you don't want to use Biemond's Puppet module, but rather waste countless hours doing it manually, you can download a CentOS Appliance (OVA file)

http://virtualboxes.org/images/centos/

download https://s3-eu-west-1.amazonaws.com/virtualboxes.org/CentOS7-base.ova.torrent (you can download Free Download Manager to download it)

Open VirtualBox, Import appliance, select the .ova file just downloaded

See also

http://www.javamonamour.org/2014/09/weblogic-installing-weblogic-1035.html



Docker, what does it do actually?

I have watched a couple of scary confusing presentations https://www.youtube.com/watch?feature=player_detailpage&v=Av2Umb6nELU and https://www.youtube.com/watch?v=Q5POuMHxW-0 without being able to understand anything. Why you guys don't stop trying to be smart weird and funny and just try to be educational.



Finally I stumbled upon this BRILLIANT presentation :



by Ken Cochrane https://github.com/kencochrane (thank you Ken, you are a God!) which shows you in a very effective way what Docker does and how to use it.



You should also go through the very nice hands-on tutorial https://www.docker.com/tryit/



I am not sure yet how to take advantage of Docker, but surely it's a very impressive technology!

More reading here on the internal working of Docker http://stackoverflow.com/questions/16047306/how-is-docker-io-different-from-a-normal-virtual-machine