首先上传oracle安装文件至linux服务器
1.解压zip
unzip linux.x64_11gR2_database_1of2.zip
unzip linux.x64_11gR2_database_2of2.zip
2.创建安装目录
mkdir /opt/oracle
3.创建用户组:
groupadd dba
groupadd oinstall
4.创建用户:
useradd -g oinstall -G dba oracle
passwd oracle
将/opt/oracle目录赋予oracle用户,oinstall用户组
chown -R oracle:oinstall /opt/oracle
5.安装依赖包(通过redhat5.5安装镜像安装)
挂载cdrom
mkdir /mnt/cdrom
mount /dev/cdrom /mnt/cdrom(/mnt/cdrom/Server)
进入软件包所在路径:
cd /mnt/cdrom/Server
开始安装所需软件包:
rpm -ivh unixODBC-2.2.11-7.1.x86_64.rpm
rpm -ivh unixODBC-devel-2.2.11-7.1.x86_64.rpm
rpm -ivh unixODBC-2.2.11-7.1.i386.rpm
rpm -ivh unixODBC-devel-2.2.11-7.1.i386.rpm
rpm -ivh sysstat-7.0.2-3.el5.x86_64.rpm
rpm -ivh libstdc++-devel-4.1.2-48.el5.x86_64.rpm
rpm -ivh libaio-devel-0.3.106-5.x86_64.rpm
rpm -ivh libaio-devel-0.3.106-5.i386.rpm
rpm -ivh elfutils-libelf-devel-0.137-3.el5.x86_64.rpm elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm(互相依赖,同时安装)
rpm -ivh kernel-headers-2.6.18-194.el5.x86_64.rpm
rpm -ivh glibc-headers-2.5-49.x86_64.rpm
rpm -ivh glibc-devel-2.5-49.x86_64.rpm
rpm -ivh glibc-devel-2.5-49.i386.rpm
rpm -ivh libgomp-4.4.0-6.el5.x86_64.rpm
rpm -ivh gcc-4.1.2-48.el5.x86_64.rpm
rpm -ivh gcc-c++-4.1.2-48.el5.x86_64.rpm
6.修改linux内核参数
/etc/sysctl.conf
/etc/security/limits.conf
具体如何修改请自行google
7.以oracle用户身份登录(不是通过su切换)
执行:
export DISPLAY=:0.0
xhost +
xdpyinfo
8.进入oracle文件目录,执行
./runInstaller
9.启动安装界面,逐步安装。
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。