欢迎来到天天文库
浏览记录
ID:40558911
大小:2.43 MB
页数:15页
时间:2019-08-04
《linux安装和配置ORACLE数据安装环境》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、[root@oralce~]#vncserverNew'oralce.pony.com:1(root)'desktopisoralce.pony.com:1Startingapplicationsspecifiedin/root/.vnc/xstartupLogfileis/root/.vnc/oralce.pony.com:1.log[root@oralce~]#lltotal84-rw-------1rootroot3388Oct12012anaconda-ks.cfgdrwxr-xr-x2rootroot4096Oct113:51Desktop-rw-r--r--1rootroot514
2、80Oct12012install.log-rw-r--r--1rootroot5062Oct12012install.log.syslog[root@oralce~]#groupaddoinstall[root@oralce~]#groupaddoper[root@oralce~]#groupadddba[root@oralce~]#useradd-goinstall-Gdba,operoracle[root@oralce~]#paswwdoracle-bash:paswwd:commandnotfound[root@oralce~]#passwdoracleChangingpassword
3、foruseroracle.NewUNIXpassword:BADPASSWORD:itisbasedonadictionarywordRetypenewUNIXpassword:passwd:allauthenticationtokensupdatedsuccessfully.[root@oralce~]#mkdir/u01[root@oralce~]#chown-Roracle:oinstall/u01[root@oralce~]#su-oracle[oracle@oralce~]$lltotal0[oracle@oralce~]$[oracle@oralce~]$vi.bash_prof
4、ile#.bash_profile#Getthealiasesandfunctionsif[-f~/.bashrc];then.~/.bashrcfi#UserspecificenvironmentandstartupprogramsPATH=$PATH:$HOME/binexportPATHexportORACLE_SID=ponyexportORACLE_BASE=/u01/app/oracleexportORACLE_HOME=$ORACLE_BASE/product/10.2/db_1exportPATH=$ORACLE_HOME/bin:$PATH~1.Usinganytextedi
5、tor,createoreditthe/etc/sysctl.conffile,andaddoreditlinessimilartothefollowing:Note:Includelinesonlyforthekernelparametervaluesthatyouwanttochange.Forthesemaphoreparameters(kernel.sem),youmustspecifyallfourvalues.However,ifanyofthecurrentvaluesarelargerthantherecommendedvalue,thenspecifythelargerval
6、ue.kernel.shmall=2097152kernel.shmmax=2147483648kernel.shmmni=4096kernel.sem=25032000100128fs.file-max=65536net.ipv4.ip_local_port_range=102465000net.core.rmem_default=1048576net.core.rmem_max=1048576net.core.wmem_default=262144net.core.wmem_max=262144Toincreasetheshelllimits:Addthefollowinglinestot
7、he/etc/security/limits.conffile:oraclesoftnproc2047oraclehardnproc16384oraclesoftnofile1024oraclehardnofile65536Addoreditthefollowinglineinthe/etc/pam.d/loginfile,ifitdoesnotalreadyexist:sessionrequir
此文档下载收益归作者所有