Oracle 12c 安裝記錄(-)準備
安裝12c
點選(此處)摺疊或開啟
-
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
-
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
-
192.168.1.189 yws
-
[root@localhost ~]# vi /etc/sysconfig/network
-
NETWORKING=yes
-
HOSTNAME=localhost.localdomain
-
-
[root@localhost ~]# cat /etc/sysconfig/network
-
NETWORKING=yes
-
HOSTNAME=localhost.localdomain
-
192.168.1.189 yws
-
[root@localhost ~]# hostname yws
-
[root@localhost ~]# vi /etc/yum
-
yum/ yum.conf yum.repos.d/
-
[root@localhost ~]# vi /etc/yum
-
yum/ yum.conf yum.repos.d/
-
[root@localhost ~]# vi /etc/yum.conf
-
[main]
-
cachedir=/var/cache/yum/$basearch/$releasever
-
keepcache=0
-
debuglevel=2
-
logfile=/var/log/yum.log
-
exactarch=1
-
obsoletes=1
-
gpgcheck=1
-
plugins=1
-
installonly_limit=3
-
-
# This is the default, if you make this bigger yum won\'t see if the metadata
-
# is newer on the remote and so you\'ll \"gain\" the bandwidth of not having to
-
# download the new metadata and \"pay\" for it by yum not having correct
-
# information.
-
# It is esp. important, to have correct metadata, for distributions like
-
# Fedora which don\'t keep old packages around. If you don\'t like this checking
- # interupting your command line usage, it\
點選(此處)摺疊或開啟
-
[root@localhost /]# grep oinstall /etc/group
-
[root@localhost /]# /usr/sbin/groupadd -g 54321 oinstall
-
[root@localhost /]# /usr/sbin/groupadd -g 54322 dba
-
[root@localhost /]# /usr/sbin/groupadd -g 54323 oper
-
[root@localhost /]# /usr/sbin/groupadd -g 54324 backupdba
-
[root@localhost /]# /usr/sbin/groupadd -g 54325 dgdba
-
[root@localhost /]# /usr/sbin/groupadd -g 54326 kmdba
-
[root@localhost /]# /usr/sbin/groupadd -g 54327 asmdba
-
[root@localhost /]# /usr/sbin/groupadd -g 54328 asmoper
-
[root@localhost /]# /usr/sbin/groupadd -g 54329 asmadmin
-
[root@localhost /]# /usr/sbin/useradd -u 54321 -g oinstall -G dba,asmdba,backupdba,dgdba,kmdba oracle
-
[root@localhost /]# passwd oracle
-
Changing password for user oracle.
-
New password:
-
BAD PASSWORD: it is based on a dictionary word
-
BAD PASSWORD: is too simple
-
Retype new password:
-
passwd: all authentication tokens updated successfully.
-
[root@localhost /]# id oracle
-
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54324(backupdba),54325(dgdba),54326(kmdba),54327(asmdba)
-
[root@localhost /]# su - oracle
-
[oracle@yws ~]$ exit
-
logout
-
[root@localhost /]# mkdir -p /u01/app/oracle
-
[root@localhost /]# uname -a
-
Linux yws 2.6.32-358.el6.x86_64 #1 SMP Tue Jan 29 11:47:41 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
-
[root@localhost /]# chown -R oracle:oinstall /u01
- [root@localhost /]# su - oracle
點選(此處)摺疊或開啟
-
[root@localhost /]# chown -R oracle.oinstall database
-
[root@localhost /]# rm -rf linuxamd64_12c_database_1of2.zip
-
[root@localhost /]# rm -rf linuxamd64_12c_database_2of2.zip
-
[root@localhost /]# su - oracle
-
[oracle@yws ~]$ cat .bash_profile
-
# .bash_profile
-
-
# Get the aliases and functions
-
if [ -f ~/.bashrc ]; then
-
. ~/.bashrc
-
fi
-
-
# User specific environment and startup programs
-
-
PATH=$PATH:$HOME/bin
-
-
export ORACLE_BASE=/u01/app/oracle
-
export ORACLE_HOME=$ORACLE_BASE/product/12.1.0/dbhome_1
-
export ORACLE_SID=yws
-
export PATH=/usr/sbin:$PATH
-
export PATH=$ORACLE_HOME/bin:$PATH
-
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
-
export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
-
export PATH
-
[oracle@yws ~]$ cd /u01/
-
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29477587/viewspace-1081778/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle安裝——環境準備Oracle
- 2面準備記錄
- Oracle 12C安裝Oracle
- Openfire安裝準備-MySQL資料庫準備MySql資料庫
- ORACLE 12C RAC 部署應用包準備Oracle
- Oracle OCP(34):環境準備(Redhat 7 + Oracle 12c)OracleRedhat
- RAC安裝之一 安裝前準備
- oracle 11g RAC 安裝前準備指令碼Oracle指令碼
- aix5.3 安裝oracle11g 準備工作AIOracle
- oracle安裝實施準備工作郵件通知模板Oracle
- Linux 下安裝oracle 資料庫的準備LinuxOracle資料庫
- RHEL6安裝ORACLE11G準備工作Oracle
- 常見問題--oracle資料庫安裝準備Oracle資料庫
- OGG安裝準備工作
- 安裝 GPFS 及配置準備
- oracle 12c release 2 安裝Oracle
- oracle 12c 靜默安裝Oracle
- Centos 7.4 安裝Oracle 12cCentOSOracle
- Ubuntu下安裝oracle 12cUbuntuOracle
- 簡化oracle安裝準備利器--Oracle Validated ConfigurationsOracle
- Oracle 11G RAC叢集安裝(1)——安裝前的準備Oracle
- 【Oracle】RHEL6.4-64位 安裝oracle11.2.0.3(二) 軟體安裝環境準備Oracle
- Linux-6-64下安裝Oracle 12C筆記LinuxOracle筆記
- mysql01_安裝前準備MySql
- Oracle 12c資料庫安裝Oracle資料庫
- Oracle Linux 7上安裝Oracle 12cOracleLinux
- oracle 11G RAC 安裝前準備和注意事項Oracle
- Docker安裝記錄Docker
- lepus安裝記錄
- HandlerSocket安裝記錄
- Mantis安裝記錄
- LINUX AS4+ORACLE10G安裝記錄LinuxOracle
- PostgreSQL WAL解析:構建WAL記錄準備SQL
- MySQL全面瓦解:安裝部署與準備MySql
- 作好安裝Linux的準備(轉)Linux
- VBOX RAC 12C安裝一些常見問題記錄
- 在Oracle Linux 6.6上安裝Oracle 12cOracleLinux
- RedHat6.5 安裝Oracle 12c RACRedhatOracle