In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Linux AS3 oracle9i installation method, I believe that many inexperienced people do not know what to do, so this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.
Oracle9i for linux A3 installation
By tangyi
Warning: if you modify the unix parameter file or oracle parameter file, do not modify it until you back up and confirm it, otherwise irreparable errors may occur.
Prepare:
1. Install vmware tools
Click install vmware tools under the vmware tools menu
Then mount / dev/cdrom / mnt/cdrom
Cd / mnt/cdrom
Cp VM*.gz / tmp
Unzip VM*.gz
If it is .tar, you need tar xvf * .tar
Cd vm*
. / * .pl
2. Activate telnet service
Install the telnet-server package on cd3
Put the CD3 in the VMWARE drive
Mount / dev/cdrom / mnt/cdrom
Cd / mnt/cdrom
Rpm-ivh telnet-server*.rpm
Ntsysv
Put an asterisk in front of the telnet to make sure
Service xinetd restart
3. Activate xmanager service
Under the Linux system, modify the / etc/X11/xdm/Xaccess file and find the following statement: # * # any host can get a login window remove the first #
Modify the / etc/X11/gdm/gdm.conf file and find the following statement: [xdmcp] change the Enable=false in it to Enable=true or Enable=1. At the same time, we want to make sure that the following statement exists, because port 177is the listening port for the xdmcp service we are going to configure, as we will see later in configuring xmanager.
Modify the / etc/inittab file and change the following statement to the following. If it is id:5:initdefault:, you don't need to change it.
Modify the last line of / etc/X11/xdm/xdm-config and add one before displayManager.requestPort:0! The result is as follows: step 5, we modify / etc/X11/xdm/Xservers to make sure that the attribute of 444 etc/X11/xdm/Xservers is 755. In RedHat 9.0, we can see that the default properties of these two files are 444 and 775, so there is no need to modify them.
Formal installation
1. Oracle9i installation disk and oracle9i patch
Ship_9204_linux_disk1.cpio p3006854_9204_LINUX.zip
Ship_9204_linux_disk2.cpio p2617419_210_GENERIC.zip
Ship_9204_linux_disk3.cpio p3238244_9204_LINUX.zip
Second, installation steps
1. Log in to the system as the root user and add the users and groups that need to be used in the installation process
# groupadd oracle
# useradd-g oracle oracle
# passwd oracle
2. Log in to the system as the root user to adjust the shared memory
# echo 300000000 > / proc/sys/kernel/shmmax
Of course, in order to automatically set these parameters for you as soon as you power on the system, you can also change the / etc/sysctl.conf file by adding the following statement: kernel.shmmax = 300000000
Note: if your shared memory is not large enough, you will be prompted with an ORA-27123 error during installation. At that time, you just need to increase the value of / proc/sys/kernel/shmmax.
3: create an oracle under the root directory as the root user and give the oracle user permission to that directory
# cd /
# mkdir-p / oracle/product/9.2
# chown-R oracle oracle
4: log in to the system as an oracle user and set up the environment of oracle
$vi .bash _ profile (add the following lines)
Export LD_ASSUME_KERNEL=2.4.1
Export ORACLE_BASE=/oracle
Export ORACLE_HOME=/oracle/product/9.2
Export ORACLE_SID=linuxgis
Export PATH=$ORACLE_HOME/bin:$PATH
Export PATH=$PATH:$ORACLE_HOME/bin
5. Log in to the system as a root user and install the patch p3006854_9204_LINUX.zip. If this patch is not installed, runInstaller will not start.
$su-root
# unzip p3006854_9204_LINUX.zip
(when the decompression is completed, a patch directory 3006854 will be generated under the current directory.)
# cd 3006854
# sh rhel_pre_install.sh
6. Check if the following packages are installed
# su-root
# rpm-qa | grep compat
Compat-db-4.0.14-5.i386
Compat-gcc-7.3-2.96.122.i386
Compat-gcc-c++-7.3-2.96.122.i386
Compat-libstdc++-7.3-2.96.122.i386
Compat-libstdc++-devel-7.3-2.96.122.i386
# rpm-qa | grep openmotif21
Openmotif21-2.1.30-8.i386
# rpm-qa | grep
Setarch setarch-1.3-1.i386
# rpm-qa | grep
Tcl tcl-8.3.5-92.i386
Note: if the blue font package is not installed successfully, you need to add the package under redhat. Install all the development packages after installing the blue package, usually on cd3.
The content shown above is the result after the author has installed a specific RPM package. Their corresponding software packages are
Compat-db-4.0.14-5.i386.rpm
Compat-gcc-7.3-2.96.122.i386.rpm
Compat-gcc-c++-7.3-2.96.122.i386.rpm
Compat-libstdc++-7.3-2.96.122.i386.rpm
Compat-libstdc++-devel-7.3-2.96.122.i386.rpm
Openmotif21-2.1.30-8.i386.rpm
Setarch-1.3-1.i386.rpm t
Tcl-8.3.5-92.i386.rpm
Installation method, put the CD3 into the VMWARE CD-ROM drive
Mount / dev/cdrom / mnt/cdrom
Cd / mnt/cdrom
Cd / RedHat/RPM
Rpm-ivh package name
In general, the output on your system is different from this. If individual packages are not installed, put the system installation CD mount, find the specific software package (mostly on the third CD), and then use the following command to install the corresponding package: # rpm-ivh compat.rpm because I did not burn the RHAS3 to the CD, so I use the following command to mount the iso file
Mount-o loop / mnt/e/rhas3/rhel-3-i386-as-disc3.iso / mnt/cdrom
It is important to note that there are dependencies between these packages, and the order should be found. Otherwise, errors that cannot be installed will be reported. When installing a package, if there is a package dependency, install the dependent package first. I'm sure you can see the dependencies between software packages. You also need to change gcc and Gmail + to version 2.96. The methods are as follows:
# su-root
Mv / usr/bin/gcc / usr/bin/gcc323
Ln-s / usr/bin/gcc296 / usr/bin/gcc
Mv / usr/bin/g++ / usr/bin/g++323
# if gaming + doesn't exist, then gcc-c++ was not installed (here are the notes)
Ln-s / usr/bin/g++296 / usr/bin/g++
7. Start the installation
Oracle installation
To install oracle, you must install it in a graphical interface and must be an oracle user
Cpio-idmv
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.