How-to Install Apache Derby on Ubuntu 14.04 Trusty LTS Linux Easy Guide

December 18th, 2014 by thelinuxevangelist

Ubuntu 14.04 Trusty Derby DB Quick-Start



The Linux Tutorial Shows You Step-by-Step How-to Install and Getting-Started with the Apache Derby Java Database on Ubuntu 14.04 Trusty Tahr LTS i386/amd64 Desktop/Server.

Apache Derby, an Apache DB subproject, is an Open Source Relational Database implemented entirely in Java.

Apache Derby main Features List:

  • Small Footprint
  • Based on Java, JDBC and SQL Standards
  • Embedded JDBC Driver to Easy Integrate in Java Projects
  • Support the Client/Server Mode with Derby Network Client JDBC
  • Easy to Install, Deploy and Use
Getting-Started with Apache Derby for Ubuntu 14.04 Trusty LTS - Featured
  1. Download the Latest Apache Derby Database Release:

    Apache Derby bin.tar.gz Archive
  2. Double-Click on Archive
    Extract into /tmp

    Installing Apache Derby on Ubuntu 14.04 Trusty LTS - extract
    Or from Command Line:

    tar xvzf $HOME/Downloads/db-derby*.bin.tar.gz -C /tmp/
  3. Open a Command Line Console Window
    Ctrl+Alt+t
    (Press “Enter” to Execute Commands)

    Apache Derby Quick-Start for Ubuntu 14.04 Trusty LTS - Open Terminal
  4. Setting Derby Ownership

    sudo su -c "chown -R root:root /tmp/db-derby*"
  5. Relocating Derby Folder

    sudo su -c "mv /tmp/db-derby* /opt/derby"
  6. Setting Derby Environment

    nano $HOME/.bashrc

    Append:

    export DERBY_HOME=/opt/derby
    export PATH=$PATH:$DERBY_HOME/bin
    

    Ctrl+x to Save &exit; from nano Editor :)

    bash

    To Load new Setup

  7. How-to Install Required Oracle Java JDK on Ubuntu:

    Install Oracle JDK 6/7/8 for Ubuntu
  8. Getting-Started with Derby Database on Ubuntu:

    Derby DB Quick-Start Guide
Share on Tumblr

Tags: , , , , , , , , , , , , , , , , , , , , , , , ,


Comments are disabled