Get Ubuntu Get Ubuntu

Download Ubuntu now for free, request a free CD or buy it on DVD or CD

Get Support Get Support

Free documentation and community support, or buy professional support

Get Involved Get Involved

Share technical know-how with other users, or help to promote Ubuntu

Get Developing Get Developing

Share your development expertise and help shape the future of Ubuntu

User login

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
1 + 2 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

Navigation

Who's new

  • pertapacilik
  • saifulfaizan
  • mayonks
  • naiimullah
  • iwe

Who's online

There are currently 0 users and 1 guest online.

Oracle Database

bizkut's picture

Abstract Cloud computing is a growing area of concern in the IT security community because cloud architectures are literally popping up all over. Public clouds are available from Google.com, Amazon.com, Microsoft, Oracle/Sun, Canonical/Eucalyptus and many other vendors. Private cloud technologies, where the cloud software is loaded on local or in-house server hardware, are available from [...]



Original Source: http://feedproxy.google.com/~r/PlanetGeorgia/~3/muUEshk1lbM/
bizkut's picture

tanya siapa?

TORA yang disediakan pada repository ubuntu (lucid) secara default hanya mensupport protokol untuk mysql dan pgsql, sedangkan saya membutuhkan sebuah ORACLE-DB client yang native linux.

sebelumnya unduh dahulu paket dibawah ini dari sini

  • oracle-instantclient11.2-basic-11.2.0.1.0-1.i386.rpm
  • oracle-instantclient11.2-devel-11.2.0.1.0-1.i386.rpm
  • oracle-instantclient11.2-sqlplus-11.2.0.1.0-1.i386.rpm

Karena sistem yang digunakan adalah ubuntu yang berbasis debian maka paket-paket rpm tersebut harus di convert dengan alien, dan untuk itu ada beberapa dependensi yang diperlukan oleh aplikasi TORA dan agar proses convert dari rpm ke deb lancar, berikut dependensi yang harus diinstallkan

  • alien
  • libqt3-mt-dev
  • libqt3-compat-headers
  • libqscintilla-dev
  • build-essential
  • g++
  • gcc
  • autoconf
  • automake
  • flex
  • zlib1g-dev
  • docbook-xsl
  • debhelper
  • libaio1
  • dpatch
  • fakeroot
  • xsltproc
  • texi2html
  • texinfo
  • libqt3-mt-psql
  • libqt3-mt-odbc
  • config-package-dev
  • cmake
  • qt4-dev-tools

Sebelum menjalankan alien terlebih dahulu harus di tentukan path untuk oracle home dan library dimana oracle client tersebut akan diinstallkan, ada baiknya juga tambahkan script berikut di “.bashrc” agar anda tidak perlu susah-susah lagi mengetikkan environment setiap kali anda reboot.

export ORACLE_HOME="/usr/lib/oracle/11.2/client"
export LD_LIBRARY_PATH="${ORACLE_HOME}/lib"
export TNS_ADMIN="${ORACLE_HOME}"

Selanjutnya convert paket-paket rpm ORACLE Instantclient ke paket deb menggunakan alien, sekaligus menginstallkannya.

sudo alien -i *386.rpm

Berikutnya silakan download TORA yang sudah saya re-compile dengan support untuk melakukan koneksi database dengan library ORACLE Instantclient dari sini

Install dengan mengklik 2 kali icon file tersebut atau melalui CLI dengan cara :

sudo dpkg -i tora_2.1.1-1_i386.deb

Apabila sering melakukan update sistem secara berkala, bisa jadi paket tora nanti akan tertimpa dengan yang baru, maka jalankan perintah berikut agar paket aplikasi tora tersebut tidak akan pernah diupdate.

sudo aptitude hold tora

:cool:



Original Source: http://www.thetunnels.net/tora-as-oracle-db-client-ubuntu/
bizkut's picture

2 days ago I wondered about an EULA stating that the software still consists of SUNs trademark.
But for a few day now even VirtualBox got rebranded.
I've already posted earlier about the OpenOffice splash screen with the Oracle Logo, but here we go with the Beautiful Vbox Screen: (V 3.2)

I'm still wondering when the Blue Screen will change to red - even in the icon if not in Windows Guests itself :-)



Original Source: http://benste.blogspot.com/2010/05/sun-oracle-rebranding-finished.html
bizkut's picture

Richard Jones alerted me to Martin Blais' dbapiext.py, and I like it very much.

Richard's post focuses on the improvements to bind variable handling. I love dbapiext.py for another reason: it provides query results as namedtuples, a class so perfect for database resultsets that they make me sob with relief.


>>> import cx_Oracle, dbapiext
>>> connection = cx_Oracle.connect('username/password@SID')
>>> results = dbapiext.execute_obj(connection, 'SELECT * FROM crew')
>>> row = results.next()
>>> row
Row(ID=1, NAME='Kaylee Frye', ROLE='Mechanic')
>>> row[1]
'Kaylee Frye'
>>> row.ROLE
'Mechanic'

When memory isn't an issue, I like to transform the result into a list and tack on a simple equality filter method for convenience.


class Filterable(list):
def filter(self, **kw):
for itm in self:
for k in kw:
if not (getattr(itm, k) == kw[k]):
break
else:
yield itm
yield StopIteration


>>> result = Filterable(dbapiext.execute_obj(connection, 'SELECT * FROM crew'))
>>> result.filter(NAME='Jayne Cobb').next()
Row(ID=5, NAME='Jayne Cobb', ROLE='Public Relations')

It is, of course, no SQLAlchemy, and isn't meant to be. It's meant to be a roadmap toward a less awful DB-API for Python. (I still wake up in the middle of the night, gasping, "Five incompatible bind variable formats! It's heresy!") In the meantime, dbapiext.py is a nice lightweight layer for times when SQLAlchemy is too much. For instance, I write lots of database administration tools that poke around in lots of different views of Oracle's data dictionary, and setting up SQLAlchemy mappings for each of them is a pain. dbapiext.py is perfect for that. Thanks, Martin!



Original Source: http://catherinedevlin.blogspot.com/2010/05/dbapiextpy.html
bizkut's picture

First off: PyCon online registration ends TODAY. Go do it NOW.

I intend to show off sqlpython at PyCon. Version 1.7 works with postgreSQL and MySQL as well as Oracle. (In fact, a single sqlpython session can keep connections to all three types of databases open at once!)

1.7 isn't quite ready for PyPI yet; I've just posted an appeal for sqlpython testing, with instructions for getting the development version, to the sqlpython google group. If you'd like to take the new-and-improved sqlpython for a spin around your databases, I would hugely appreciate it. Anticipate a PyPI release just before PyCon, once the ugliest of the bugs are worked out.

See you in Atlanta!



Original Source: http://catherinedevlin.blogspot.com/2010/02/sqlpython-17-pre-release.html
bizkut's picture

Oracle has finally taken over Sun Microsystems. Days of darkness are here but how long will it be?
Sun is not only about hardware. What will happen to OpenOffice.org, Java and MySQL? How about the Sun and MySQL Certifications?

How will Jonathan, being the last Sun Microsystem's CEO end his career there?

All the debates are ongoing in the internet but I look forward to Oracle making clear statements on these concerns.



Original Source: http://tboxmy.blogspot.com/2010/01/oracle-has-finally-taken-over-sun.html