Install Oracle software in text mode

1)install oracle software in text mode
1@@@@download the software and uncompress it.
@@@http://www.oracle.org
[root@station15 stage]# gunzip 10201_database_linux_x86_64.cpio.gz
[root@station15 stage]# cpio -idmv < 10201_database_linux_x86_64.cpio[root@station15 stage]# ls
10201_database_linux_x86_64.cpio  database
[root@station15 stage]# du -sh *
765M    10201_database_linux_x86_64.cpio
771M    database

2@@@@install oracle software in text mode
@@@Note: the preinstallation reference my blog "oracle preinstallation"
@@@
@@@the enterprise.rsp file have detail information for each option.
[root@station15 response]# pwd
/stage/database/response
[root@station15 response]# vim enterprise.rsp
####begin_2-1###############################################
ORACLE_HOME="/u01/app/oracle/product/10.2.0/db_1"
ORACLE_HOME_NAME="OraDbHome"
COMPONENT_LANGUAGES={"en","zh_CN"}
s_nameForDBAGrp="dba"
s_nameForOPERGrp="oracle"
n_configurationOption=3   @@@install software only
n_dbType=1
####begin_2-1###############################################

@@@
@@@run the installer
[root@station15 database]# chown -R oracle:oinstall /stage/*
[oracle@station15 database]$ ./runInstaller -ignoreSysPrereqs -silent -responseFile /stage/database/response/enterprise.rsp
.....................@@@installing.......

@@@
@@@run the $ORACLE_HOME/root.sh
[root@station15 database]# /u01/app/oracle/product/10.2.0/db_1/root.sh
enter
y
y
y
Creating /etc/oratab file...    @@@/etc/oratab for dbca

3@@@@install the network listener
@@@
[oracle@station15 response]$ pwd
/stage/database/response
[oracle@station15 response]$ vim netca.rsp
####begin_3-1#######################################
INSTALL_TYPE=""custom""
LISTENER_NUMBER=1
LISTENER_NAMES={"LISTENER"}
LISTENER_PROTOCOLS={"TCP;1521"}
LISTENER_START=""LISTENER""
######end_3-1#######################################

@@@
[oracle@station15 response]$ cp netca.rsp $ORACLE_HOME/  
[oracle@station15 response]$ cd $ORACLE_HOME/bin
[oracle@station15 bin]$ pwd
/u01/app/oracle/product/10.2.0/db_1/bin
[oracle@station15 bin]$ ./netca /silent /responseFile /stage/database/response/netca.rsp
...................
Oracle Net Services configuration successful. The exit code is 0

@@@
@@@edit the tns connect
[oracle@station15 admin]$ pwd
/u01/app/oracle/product/10.2.0/db_1/network/admin
[oracle@station15 admin]$ vim tnsnames.ora
ORCL15 =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.15)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SID = ORCL)
    )
  )




 

你可能感兴趣的:(oracle,Install,text,mode)