Benutzer-Werkzeuge

Webseiten-Werkzeuge


computer:linux:oracle_database_11g_auf_centos

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
computer:linux:oracle_database_11g_auf_centos [2011/03/17 14:15] – christiancomputer:linux:oracle_database_11g_auf_centos [2011/03/18 13:50] (aktuell) – christian
Zeile 1: Zeile 1:
 Abhängigkeiten: Abhängigkeiten:
 <code> <code>
-yum install binutils elfutils-libelf-0.* glibc-2.* glibc-common-2.* libgcc-4.* libstdc++* make* elfutils-libelf-devel-0.* glibc-devel-2.* gcc-4.* gcc-c++-4.* unixODBC-2.* libaio libaio-devel unixODBC-devel sysstat compat-libstdc++* pdksh+# yum install binutils elfutils-libelf-0.* glibc-2.* glibc-common-2.* libgcc-4.* libstdc++* make* elfutils-libelf-devel-0.* glibc-devel-2.* gcc-4.* gcc-c++-4.* unixODBC-2.* libaio libaio-devel unixODBC-devel sysstat compat-libstdc++* pdksh
 </code> </code>
  
 Gruppen und Benutzeraccount: Gruppen und Benutzeraccount:
 <code> <code>
-#groupadd oinstall +# groupadd oinstall 
-#groupadd dba +# groupadd dba 
-#groupadd oper +# groupadd oper 
-#groupadd asmadmin +# groupadd asmadmin 
-#useradd -g oinstall -G dba,oper,asmadmin oracle +# useradd -g oinstall -G dba,oper,asmadmin oracle 
-#passwd oracle+# passwd oracle
 </code> </code>
  
Zeile 34: Zeile 34:
 PAM: PAM:
 <code> <code>
-echo "session    required     pam_limits.so" >> /etc/pam.d/login+# echo "session    required     pam_limits.so" >> /etc/pam.d/login
 </code> </code>
  
Zeile 66: Zeile 66:
 ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
 ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOME ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOME
-ORACLE_SID=DB11G; export ORACLE_SID+ORACLE_SID=orcl; export ORACLE_SID
 ORACLE_TERM=xterm; export ORACLE_TERM ORACLE_TERM=xterm; export ORACLE_TERM
 PATH=/usr/sbin:$PATH; export PATH PATH=/usr/sbin:$PATH; export PATH
Zeile 86: Zeile 86:
  
 <code> <code>
-C:\Programme\Xming>xming -ac -multiwindow -clipboard+C:\Programme\Xming> xming -ac -multiwindow -clipboard
 </code> </code>
  
Zeile 173: Zeile 173:
         # will not prompt the user for any values         # will not prompt the user for any values
         su - $ORA_OWNER -c "$ORA_HOME/db_1/bin/lsnrctl start"         su - $ORA_OWNER -c "$ORA_HOME/db_1/bin/lsnrctl start"
-        su - $ORA_OWNER -c $ORA_HOME/db_1/bin/dbstart +        su - $ORA_OWNER -c "$ORA_HOME/db_1/bin/dbstart" 
-        su - $ORA_OWNER -c $ORA_HOME/db_1/bin/emctl start dbconsole+        su - $ORA_OWNER -c "$ORA_HOME/db_1/bin/emctl start dbconsole"
         touch /var/lock/subsys/dbora         touch /var/lock/subsys/dbora
         ;;         ;;
Zeile 181: Zeile 181:
         # The following command assumes that the oracle login         # The following command assumes that the oracle login
         # will not prompt the user for any values         # will not prompt the user for any values
-        su - $ORA_OWNER -c $ORA_HOME/db_1/bin/emctl stop dbconsole +        su - $ORA_OWNER -c "$ORA_HOME/db_1/bin/emctl stop dbconsole" 
-        su - $ORA_OWNER -c $ORA_HOME/db_1/bin/dbshut+        su - $ORA_OWNER -c "$ORA_HOME/db_1/bin/dbshut"
         su - $ORA_OWNER -c "$ORA_HOME/db_1/bin/lsnrctl stop"         su - $ORA_OWNER -c "$ORA_HOME/db_1/bin/lsnrctl stop"
         rm -f /var/lock/subsys/dbora         rm -f /var/lock/subsys/dbora
         ;;         ;;
 esac esac
 +
 ... ...
 # chmod 750 /etc/init.d/dbora # chmod 750 /etc/init.d/dbora
computer/linux/oracle_database_11g_auf_centos.1300367707.txt.gz · Zuletzt geändert: von christian