Installing Oracle on openSUSE is a simple task. Generally, you can follow the steps on the openSUSE website to install Oracle more easily, provided orarun. to install and configure the rpm package, follow these steps:
Http://en.opensuse.org/Oracle_on_openSUSE
Of course, you can also perform these installation settings on your own (if the following operations are not specified, you must run them with the root permission)
1. Download the Oracle software and decompress it to the/opt/database folder.
Linux-xiaoxiao:/opt/database # ls
Doc install response runInstaller stage
2. Try to execute the orarun. rpm package and find that the dependent xshared and pdksh packages are missing.
Linux-xiaoxiao:/opt/database # rpm-Uvh/windows/D/linux-temp/download/orarun-1.8-109.21.i586.rpm
Error: Failed dependencies:
Xshared is needed by orarun-1.8-109.21.i586
Pdksh is needed by orarun-1.8-109.21.i586
Linux-xiaoxiao:/opt/database # rpm-qa orarun
In this case, you can install the corresponding package, or add the -- nodeps parameter to execute orarun. rpm, or do not execute the orarun. rpm package for installation and configuration. The operations after the orarun. rpm package is executed are described in detail on the SUSE website. The following only records the installation and configuration operations.
3. Create a user group and user, and authorize
Linux-xiaoxiao:/opt/database # groupadd dba
Linux-xiaoxiao:/opt/database # useradd-g dba oracle
Linux-xiaoxiao:/opt/database # mkdir/home/oracle
Linux-xiaoxiao:/opt/database # chown oracle: dba/home/oracle/
4. Configure the/etc/sysctl. conf file to add some settings for the shared memory segment:
Kernel. sem = 25032000100128
Kernel. shmmax = 2147483648
Kernel. shmmni = 128
Kernel. shmall = 2097152
Kernel. msgmnb = 65536
Kernel. msgmni= 2878
Fs. file-max = 65536
Net. ipv4.ip _ local_port_range = 1024 65000
After the configuration is complete, use sysctl-p or restart the system to make the parameters configured for www.bkjia.com take effect.
Linux-xiaoxiao:/opt/database # sysctl-p
Net. ipv4.icmp _ echo_ignore_broadcasts = 1
Net. ipv4.conf. all. rp_filter = 1
Fs. inotify. max_user_watches = 65536
Net. ipv4.conf. default. promote_secondaries = 1
Net. ipv4.conf. all. promote_secondaries = 1
Kernel. sem = 25032000100128
Kernel. shmmax = 2147483648
Kernel. shmmni = 128
Kernel. shmall = 2097152
Kernel. msgmnb = 65536
Kernel. msgmni= 2878
Fs. file-max = 65536
Net. ipv4.ip _ local_port_range = 1024 65000