Wednesday, December 8, 2010

Install Oracle di ubuntu 9.10 (Karmic)

Install oracle di ubuntu 9.10, silahkan download masternya di http://oss.oracle.com/debian/dists/unstable/non-free/binary-i386/oracle-xe_10.2.0.1-1.1_i386.deb

kemudian paket yang diperlukan:

install kedua libaio setelah itu install oracle-xe

dpkg -i libaio_0.3.104-1_i386.deb

dpkg -i libaio1_0.3.104-1ubuntu6_i386.deb

dpkg -i oracle-xe_10.2.0.1-1.1_i386.deb

kemudian jalankan

/etc/init.d/oracle-xe configure

masih dalam konsole

export PATH=$PATH:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin

export ORACLE_HOME=”/usr/lib/oracle/xe/app/oracle/product/10.2.0/server”

export ORACLE_SID=XE

kalo tahap ini sudah selesai, silahkan test oraclenya

sqlplus sys as sysdba

kalo sudah masuk berarti sudah sukses

Thursday, December 2, 2010

How To Read ISO File in Linux

1. Login with root user ID
2. Create a directory to serve as mount point. You may also skip the directory creation by using default directory that created during Linux installation (e.g. /media/cdrom or /mnt/cdrom in some Red Hat Linux editions).
3. Suppose you want to mount /ISO/rhel4-cd1.iso image file to /media/cdrom directory mount point, execute this mount command

mount -o loop -t iso9660 /ISO/rhel4-cd1.iso /media/cdrom


4. Now, you can read / access the CD image file that is mounted to /media/cdrom directory, as if you’re accessing the physical CD-ROM loaded into hardware drive.

5. To un-mount the loaded CD image file, simply execute
umount /media/cdrom
or eject /media/cdrom command will do.