13.07.2015 Views

B2C Database

B2C Database

B2C Database

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2 <strong>Database</strong> installation scripts2.1 Create <strong>B2C</strong> <strong>Database</strong>ORACLE_SID=<strong>B2C</strong>ORACLE_HOME=/export/home/oracle/product/8.1.7ORACLE_BASE=/mnt/database2/oracle/oradata/<strong>B2C</strong>/export ORACLE_SID ORACLE_HOME ORACLE_BASEechoecho Running Make <strong>Database</strong> Script ...echoecho ORACLE_SID = $ORACLE_SIDecho ORACLE_BASE = $ORACLE_BASEecho ORACLE_HOME = $ORACLE_HOMEechoif [ ! -d /mnt/database2/oracle/oradata/<strong>B2C</strong>//admin ]; then mkdir /mnt/database2/oracle/oradata/<strong>B2C</strong>//admin;fiif [ ! -d /mnt/database2/oracle/oradata/<strong>B2C</strong>//admin/$ORACLE_SID ]; then mkdir/mnt/database2/oracle/oradata/<strong>B2C</strong>//admin/$ORACLE_SID; fiif [ ! -d /mnt/database2/oracle/oradata/<strong>B2C</strong>//admin/<strong>B2C</strong>/bdump ]; then mkdir/mnt/database2/oracle/oradata/<strong>B2C</strong>//admin/<strong>B2C</strong>/bdump; fiif [ ! -d /mnt/database2/oracle/oradata/<strong>B2C</strong>//admin/$ORACLE_SID/cdump ]; then mkdir/mnt/database2/oracle/oradata/<strong>B2C</strong>//admin/$ORACLE_SID/cdump; fiif [ ! -d /mnt/database2/oracle/oradata/<strong>B2C</strong>//admin/$ORACLE_SID/udump ]; then mkdir/mnt/database2/oracle/oradata/<strong>B2C</strong>//admin/$ORACLE_SID/udump; fiif [ ! -d /mnt/database2/oracle/oradata/<strong>B2C</strong>//oradata ]; then mkdir/mnt/database2/oracle/oradata/<strong>B2C</strong>//oradata; fiif [ ! -d /mnt/database2/oracle/oradata/<strong>B2C</strong>//oradata/<strong>B2C</strong> ]; then mkdir/mnt/database2/oracle/oradata/<strong>B2C</strong>//oradata/<strong>B2C</strong>; fiif [ ! -d /mnt/database2/oracle/oradata/<strong>B2C</strong>//admin/$ORACLE_SID/create ]; then mkdir/mnt/database2/oracle/oradata/<strong>B2C</strong>//admin/$ORACLE_SID/create; fiif [ ! -d /mnt/database2/oracle/oradata/<strong>B2C</strong>//admin/$ORACLE_SID/pfile ]; then mkdir/mnt/database2/oracle/oradata/<strong>B2C</strong>//admin/$ORACLE_SID/pfile; fiif [ ! -d ]; then mkdir ; fimkdircp ./init<strong>B2C</strong>.ora /mnt/database2/oracle/oradata/<strong>B2C</strong>//admin/$ORACLE_SID/pfilecp ./init<strong>B2C</strong>.ora /mnt/database2/oracle/oradata/<strong>B2C</strong>//admin/$ORACLE_SID/createln -fs /mnt/database2/oracle/oradata/<strong>B2C</strong>//admin/$ORACLE_SID/pfile/init<strong>B2C</strong>.ora/export/home/oracle/product/8.1.7/dbs/init<strong>B2C</strong>.oracp ./ /mnt/database2/oracle/oradata/<strong>B2C</strong>//admin/$ORACLE_SID/create/export/home/oracle/product/8.1.7/bin/orapwdFILE=/mnt/database2/oracle/oradata/<strong>B2C</strong>//admin/$ORACLE_SID/pfile/orapw$ORACLE_SIDPASSWORD=oracle ENTRIES=10ln -fs /mnt/database2/oracle/oradata/<strong>B2C</strong>//admin/$ORACLE_SID/pfile/orapw$ORACLE_SID/export/home/oracle/product/8.1.7/dbs/orapw$ORACLE_SIDsvrmgrl

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!