Oracle11g CentOS6.3 VirtualBox安装手记
最近由于工作需要,在virtualbox上安装了CentOS6.3,并在上面安装了Oracle11g,记录一下安装过程中遇到的一些问题。
Oracle安装参考:
环境:
VirtualBox 4.2.6
CentOS63
Oracle 11.2
安装过程中遇到的一些问题:
1、Unexpected error occurred while validating inputs at state 'getOCMDetails'.
一种解决方案:
不填写邮件地址,直接点no,跳过这一步。
2、缺少pdksh
先安装依赖包
#rpm -e ksh-20100621-16.el6.i686
下载pdksh-5.2.14-1.i386.rpm
#rpm -ivh /home/oracle/downloads/pdksh-5.2.14-1.i386.rpm
3.Swap空间过小
Linux服务器需要扩大swap,但原硬盘因分区问题,没有办法调整swap分区的大小。
通过建立一个swap文件的方法,来解决操作系统的交换空间(虚拟内存)问题。
通过下面方法建立swap文件:
#dd if=/dev/zero of=/tmp/swapfree bs=32k count=65515 (count是分区数量,swap大小=bs*count,增加2G)
#mkswap /tmp/swapfree (格式化交换分区文件)
#swapon /tmp/swapfree (启用交换分区文件)
#swapon –s (显示swap状态)
修改/etc/fstab,让系统每次启动都把/tmp/swapfree作为swap使用,增加下面一行:
/tmp/swapfree swap swap defaults 0 0
4.file not found /oracle/oracle11g/app/oracle/product/11.1.0/db_1/oc4j/j2ee/oc4j_applications/applications/WFMLRSVCApp.ear.
解决方法:将下载下来的两个Zip文件,解压到同一个目录下,文件:V20610-01_1of2.zip和V20610-01_2of2.zip解压后的形态很重要。
假设解压到F:\Temp\database路径,
1)将V20610-01_1of2.zip解压到F:\Temp\database路径,解压后database路径下有文件夹名为V20610-01_1of2
2)将V20610-01_2of2.zip解压到F:\Temp\database路径,解压后database路径下有文件夹名为V20610-01_2of2
3)将V20610-01_2of2\database\stage\Components子文件夹全部copy到路径V20610-01_1of2\database\stage\Components\下
4)运行V20610-01_1of2文件中的setup即可
5.安装界面中文乱码,执行一下命令即可
export LC_ALL=C
6.监听端口被占用
vim /etc/hosts 增加
127.0.0.1 ganjh.moyasz(主机名)
7.linux创建oracle 实例时提示 file etc oratab is not accessible
忘记去执行 一个root.sh 和 orainstRoot.sh文件了,当然了,,需要用root用户执行:
[oracle@ganjh 11.2.0]# pwd
/usr/local/oracle/product/11.2.0/
[oracle@ganjh 11.2.0]# ./root.sh
[oracle@ganjh 11.2.0]#cd /home/oracle/oralnventory/
[oracle@ganjh oralnventory]#./orainstRoot.sh
8.切换到oracle用户后,不能自动执行~/.bash_profile(问题没有找到答案)
9.windows pl/sql不能连接到oracle,提示连接超时。
首先确认监听已经启动(lsnrctl status)
关闭SELinux:
sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
开启1521端口(开启其他如80端口,也可使用同样的方式)
/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT

mysqlviewshavelimitations : 1) 그들은 upportallsqloperations, datamanipulation throughviewswithjoinsorbqueries를 제한하지 않습니다

적절한 usermanagementInmysqliscrucialforenhancingsecurityandensuringfefficientDatabaseOperation.1) USECREATEUSERTOWDDUSERS,@'localHost'or@'%'.

mysqldoes notimposeahardlimitontriggers, butpracticalfactorsdeteirefectiveuse : 1) ServerConfigurationimpactStriggerManagement; 2) 복잡한 트리거 스케일 스케일 사이드로드; 3) argertableSlowtriggerTriggerPerformance; 4) High ConconcercencyCancaUspriggerContention; 5) m

예, It 'safetostoreBlobdatainmysql, butconsidertheStefactors : 1) StoragesPace : BlobScanconSumeSignificantspace, 잠재적으로 증가하는 CostsandSlownperformance

PHP 웹 인터페이스를 통해 MySQL 사용자를 추가하면 MySQLI 확장 기능을 사용할 수 있습니다. 단계는 다음과 같습니다. 1. MySQL 데이터베이스에 연결하고 MySQLI 확장자를 사용하십시오. 2. 사용자를 생성하고 CreateUser 문을 사용하고 Password () 함수를 사용하여 암호를 암호화하십시오. 3. SQL 주입 방지 및 MySQLI_REAL_ESCAPE_STRING () 함수를 사용하여 사용자 입력을 처리하십시오. 4. 새 사용자에게 권한을 할당하고 보조금 명세서를 사용하십시오.

mysql'sblobissuilableforstoringbinarydatawithinareldatabase, whilenosqloptionslikemongodb, redis, and cassandraofferflexible, scalablesolutionsforunstuctureddata.blobissimplerbutcanslowwownperformance를 사용하는 것들보업 betterscal randaysand

TOADDAUSERINMYSQL, 사용 : CreateUser'UserName '@'host'IdentifiedBy'Password '; 여기서'showTodoitseciRely : 1) ChoosetheHostCareLyTocon trolaccess.2) setResourcelimitswithOptionslikemax_queries_per_hour.3) Usestrong, iriquepasswords.4) enforcessl/tlsconnectionswith

toavoidcommonmistakeswithstringdatatypesinmysql, stroundStringTypenuances, chooseTherightType, andManageEncodingAndCollationSettingSefectively.1) usecharforfixed-lengthstrings, varcharvariable-length, andtext/blobforlargerdata.2) setcarcatter


핫 AI 도구

Undresser.AI Undress
사실적인 누드 사진을 만들기 위한 AI 기반 앱

AI Clothes Remover
사진에서 옷을 제거하는 온라인 AI 도구입니다.

Undress AI Tool
무료로 이미지를 벗다

Clothoff.io
AI 옷 제거제

Video Face Swap
완전히 무료인 AI 얼굴 교환 도구를 사용하여 모든 비디오의 얼굴을 쉽게 바꾸세요!

인기 기사

뜨거운 도구

SublimeText3 Linux 새 버전
SublimeText3 Linux 최신 버전

SublimeText3 중국어 버전
중국어 버전, 사용하기 매우 쉽습니다.

드림위버 CS6
시각적 웹 개발 도구

VSCode Windows 64비트 다운로드
Microsoft에서 출시한 강력한 무료 IDE 편집기

SublimeText3 Mac 버전
신 수준의 코드 편집 소프트웨어(SublimeText3)