install oracle11g on centos6.51. swap分区
这个的话有个规则,如下:
Available RAM Swap Space Required Between 1 GB and 2 GB 1.5 times the size of the RAM Between 2 GB and 16 GB Equal to the size of the RAM More than 16 GB 16 GB 可以用分区,,如果没分区的话用dd创建一个swap文件就行了,如下:
dd if=/dev/zero of=$swap_file count=c bs=1Mmkswap $swap_fileswapon $swap_file
然后写入fstab开机启动
/swap_file2. 安装依赖yum install 3. 创建用户
其他就是一个oracle用户,外加2个组oinstall,dba,可以吧oper 也加上去。
groupadd dbagroupadd oinstall#groupadd operuseradd -g oinstall -G dba oraclepasswd oracle4. 创建目录mkdir -p /u01/app/chown -R oracle:oinstall /u01/app/chmod -R 775 /u01/app/5. 安装vnc yum -y groupinstall Desktopyum install tigervnc-server twm xterm
详细可以参看我之前的文档
6. 安装pdksh
yum 里面没有 ,网上找个rpm报安装即可,我找了下面这个,可用:
ftp://rpmfind.net/linux/centos/5.11/os/x86_64/CentOS/pdks h-5.2.14-37.el5_8.1.x86_64.rpm
7. 运行runInstaller
按照提示下一步下一步即可。之后运行几个脚本之后就能完成安装。还是比较简单。
人若软弱就是自己最大的敌人