In this I am going to explain in detail about installation of DATABASE on LINUX
As we all know Database installation is easy task on Windows. On other hand Linux is little complex as we need to do many step before installation.
Step2:-
After downloading the setup. We need to prepare our OS (windows and linux)
1) Make an entry in "/etc/hosts" for linux and "C:\Windows\System32\drivers\etc\hosts" for windows like below :-
127.0.0.1 localhost.localdomain localhost
XXX.XXX.XXX.XXX test.domain test
Where XXX.XXX.XXX.XXX is IP of your machine.
2) No Need to do anything for windows After this. On linux you need to check the packages. Below are the packages that should be there in the Linux server.
For Linux : You can create all the packages by using oracle-validated. For this follow instruction at http://public-yum.oracle.com .
e.g. # yum install oracle-validated
This will create everything for you. Your users and evrything.
If you are not going to install it by oracle-validated then below list is for importatnt packages that is needed and below changes in some important files.
binutils-2.*
compat-libstdc++-33*
compat-libstdc++-33*.i386.rpm
elfutils-libelf*
gcc-4.*
gcc-c++-4.*
glibc-2.*
glibc-common-2.*
glibc-devel-2.*
glibc-headers-2.*
ksh*
libaio-0.*
libaio-devel-0.*
libgomp-4.*
libgcc-4.*
libstdc++-4.*
libstdc++-devel-4.*
make-3.*
sysstat-7.*
unixODBC-2.*
unixODBC-devel-2.*
numactl-devel-*
Note:- for windows no need to anything.
Step3:-
Go to /etc/sysctl.conf and amend the changes in /etc/sysctl.conf file.
fs.suid_dumpable = 1
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default=262144
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=1048586
After setting the changes you need to run "/sbin/sysctl -p"
Add the following lines to the "/etc/security/limits.conf" file.
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 4096
oracle hard nofile 65536
oracle soft stack 10240
click here
Check
Also for linux one more change is needed.Set secure Linux to permissive by editing the "/etc/selinux/config" file, making sure the SELINUX flag is set as follows.
SELINUX=permissive
Note:- for windows please turn down the Firewall of the system and make sure directories having good permisons for read and write.
Step5 :- Log into the OS and set DISPLAY for LINUX.
Step 6:- Now go to the setup and unzip the setup and for windows simply double click on runInstaller.
and for linux just go to the directory by using CD and run ./runInstaller.
I will update second blog with images for complete installation.
As we all know Database installation is easy task on Windows. On other hand Linux is little complex as we need to do many step before installation.
Step1:-
Download the DB setup from https://www.oracle.com/downloadsStep2:-
After downloading the setup. We need to prepare our OS (windows and linux)
1) Make an entry in "/etc/hosts" for linux and "C:\Windows\System32\drivers\etc\hosts" for windows like below :-
127.0.0.1 localhost.localdomain localhost
XXX.XXX.XXX.XXX test.domain test
Where XXX.XXX.XXX.XXX is IP of your machine.
2) No Need to do anything for windows After this. On linux you need to check the packages. Below are the packages that should be there in the Linux server.
For Linux : You can create all the packages by using oracle-validated. For this follow instruction at http://public-yum.oracle.com .
e.g. # yum install oracle-validated
This will create everything for you. Your users and evrything.
If you are not going to install it by oracle-validated then below list is for importatnt packages that is needed and below changes in some important files.
binutils-2.*
compat-libstdc++-33*
compat-libstdc++-33*.i386.rpm
elfutils-libelf*
gcc-4.*
gcc-c++-4.*
glibc-2.*
glibc-common-2.*
glibc-devel-2.*
glibc-headers-2.*
ksh*
libaio-0.*
libaio-devel-0.*
libgomp-4.*
libgcc-4.*
libstdc++-4.*
libstdc++-devel-4.*
make-3.*
sysstat-7.*
unixODBC-2.*
unixODBC-devel-2.*
numactl-devel-*
Note:- for windows no need to anything.
Step3:-
Go to /etc/sysctl.conf and amend the changes in /etc/sysctl.conf file.
fs.suid_dumpable = 1
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default=262144
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=1048586
After setting the changes you need to run "/sbin/sysctl -p"
Add the following lines to the "/etc/security/limits.conf" file.
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 4096
oracle hard nofile 65536
oracle soft stack 10240
Step4:-
If you havn't run ORACLE_VALIDATE then Create the new groups and users.click here
Check
Also for linux one more change is needed.Set secure Linux to permissive by editing the "/etc/selinux/config" file, making sure the SELINUX flag is set as follows.
SELINUX=permissive
Note:- for windows please turn down the Firewall of the system and make sure directories having good permisons for read and write.
Step5 :- Log into the OS and set DISPLAY for LINUX.
Step 6:- Now go to the setup and unzip the setup and for windows simply double click on runInstaller.
and for linux just go to the directory by using CD and run ./runInstaller.
I will update second blog with images for complete installation.
No comments:
Post a Comment
Really Thanks