Monday, January 6, 2020

Oracle 18c

Oracle 18c (12.2.0.2) Oracle 19c (12.2.0.3)

https://docs.oracle.com/en/database/oracle/oracle-database/12.2/cncpt/introduction-to-oracle-database.html#GUID-2B1BADE1-C36F-4555-9867-3B15B6CE858C


Container CDB
Pluggable PDB (multi tennant) in CDB

Remote Standby Database with Observer


A file system enables disk space to be allocated to many files. Each file has a name and is made to appear as a contiguous address space to applications such as Oracle Database. The database can create, read, write, resize, and delete files.
A file system is commonly built on top of a logical volume constructed by a software package called a logical volume manager (LVM). The LVM enables pieces of multiple physical disks to combine into a single contiguous address space that appears as one disk to higher layers of software.


/etc/oratab mounts db startup
/etc/fstab mount points

adrci > show aleert

lsnrctl LISTNER




Monday, December 16, 2019



pvdisplay

pvcreate /dev/sdb1

-lvs
vgs

vgextend Volugroup /dev/sb1

lvcreate -L 40G -h lv_rarw volgroup




fdisk -
/dev/xvda1,2,3


https://www.linuxquestions.org/questions/linux-newbie-8/aborted-journal-and-volume-remounted-read-only-812216/


pvs /dev/xvdd


Tuesday, April 10, 2018

Jboss Developer Openshift MAC


Install Docker

brew install openshift-cli


OpenShift/Minishit on MAC

Quick notes to install openshit on mac -

openshift.org/vm
brew cask install minishift
\curl -sSL https://get.rvm.io | bash -s stable

Open your terminal and run

\curl -sSL https://get.rvm.io | bash -s stable
When this is complete, you need to restart your terminal for the rvm to work.

Now, run rvm list known

This shows the list of versions of the ruby.

Now, run rvm install ruby-2.3

If you type ruby -v in the terminal, you should see ruby 2.4.2.

If it still shows you ruby 2.0., run rvm use ruby-2.4.2 --default.


brew install docker-machine-driver-xhyve

sudo chown root:wheel $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
sudo chmod u+s $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve

minishift start

https://docs.openshift.org/latest/minishift/getting-started/quickstart.html

Thursday, February 8, 2018

subclipse - svn for eclipse

Add URL to Install new software (under Help)


Then chose the Core,Subclipse and JavaHL windows binaries.
This will download install and restart.

You can then open an SVN perspective and add the trunk.
From there you can checkout the code into the eclipse directories.

Once they are checked out into eclipse… the eclipse becomes svn aware.
(you can test it by changing a file and it should be marked with asterisk)

The svn commands can be found by right clicking the file and they are located under Team submenu.

You can also do a project compare to the repository at the top level to quickly identify all changes in project.

Wednesday, December 6, 2017

Monero Cold Walet


My Monero Experience

https://coinmarketcap.com/currencies/monero/

https://themerkle.com/top-3-monero-wallet-solutions/

https://getmonero.org/resources/user-guides/monero-wallet-cli.html

https://www.reddit.com/r/Monero/comments/55dhkf/taushet_usb_monero_cold_wallet_generator/

The Taushet USB Monero Cold Wallet Generator is a pre-packaged, pre-hashed and pre-zipped collection of the tools required to make a secure wallet that only requires a single checking/security hash. It takes around 10 minutes to make a secure cold wallet. The tool has been hashed and verified by many community members (see here).
The full instructions can be found on the reddit post,


What you need:
  • 1 x taushet-USB-wallet-gen.zip
  • 3 x USB thumbdrives
How to use:
  1. download https://mega.nz/#!iQ1QwACY!63LgepwldjgfBkH8WaXxyGPQ4f5JOvg54Zd4vhtwQdw
  2. Physically disconnect from the internet.
  3. Check that the hash (md5) of the file matches those on the reddit post.
7E8923A66F8165B890177A34559B694C

md5 taushet-USB-wallet-gen.zip 
MD5 (taushet-USB-wallet-gen.zip) = 7e8923a66f8165b890177a34559b694c

  1. Extract the zip file, which contains: slacko64-6.3.0.iso, Rufus-2.11.exe, monero-wallet-generator-master (dir), and this ReadMe.txt.

  1. Make a bootable USB of the ISO using Rufus 2.11. Agree to all the default settings in the dialog boxes.

  1. Drag the monero-wallet-generator-master directory to the USB drive.

  1. Reboot using the USB into PuppyLinux (hold down F12 during boot to select boot drive)
press f12 repeatedly on startup
  1. Open the monero-wallet-generator.html file in the directory, generate the wallet seed and keys
  2. Save the seed, address and keys to the second USB drive. Copy/paste, don't type. This is you digital vault, not to be used until fund extraction.
  3. Write down the seed three times on a single sheet of paper. This is your physical vault.
  4. Save the address (and maybe viewkey) to the third USB drive. This is your address usb, which can be used with relative abandon.
  5. Remove second and third USB drives.
  6. Wipe the first USB drive (containing the wallet generator and linux), or destroy it.
  7. Remove all USB drives.
  8. Reboot, reconnect internet.

You now have a cold wallet!

Friday, December 18, 2015

MySQL - Can't init tc log

/usr/sbin/mysqld: File '' not found (Errcode: 2)
151217 20:21:27 [ERROR] Failed to open log (file '', errno 2)
151217 20:21:27 [ERROR] Could not open log file
151217 20:21:27 [ERROR] Can't init tc log

151217 20:21:27 [ERROR] Aborting

Solution:

mysql-bin.index had become corrupted
edit this file to include all indexes did the fix

server was able to restart after that