Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Oracle 11g install on suse 12 sp3

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Oracle 11.2.0.4 official documentation certifies suse 12 sp1, but sp3 does not.

To install on sp3, in addition to the regular linux installation, other different points refer to the following steps:

1 Service management

/usr/sbin/rc*

systemctl list-unit-files|grep -i firewall

#Change host name

hostnamectl set-hostname suse12

#Disable some services

systemctl disable bluetooth.service

systemctl disable dbus-org.opensuse.Network.DHCP6.service

systemctl disable wickedd-dhcp6.service

#Turn off the firewall

linux-6x6d:~ # systemctl stop SuSEfirewall2.service

linux-6x6d:~ # systemctl list-unit-files|grep -i firewall

SuSEfirewall2.service enabled

SuSEfirewall2_init.service enabled

SuSEfirewall2_setup.service enabled

linux-6x6d:~ # systemctl disable SuSEfirewall2.service

2 Start management

suse cancel/etc/inittab(CENTOS 7 keeps this file, writes notes)

# multi-user.target: analogous to runlevel 3# graphical.target: analogous to runlevel 5

View operating modes:

linux-6x6d:~ # systemctl get-default

graphical.target

linux-6x6d:~ # runlevel

N 5

Modify startup mode

linux-6x6d:~ # systemctl set-default multi-user.target

Removed symlink /etc/systemd/system/default.target.

Created symlink from /etc/systemd/system/default.target to /usr/lib/systemd/system/multi-user.target

Change to runlevel 3

systemctl set-default multi-user.target

systemctl set-default graphical.target

or

Modify the file/boot/grub2/grub.cfg, around line 133, to modify the self-boot mode:

kernel /boot/vmlinuz-3.7.10-1.11-desktop root=/dev/disk/by-uuid/e897cb88-948a-4d13-8f79-06cc03d3d5cd devfs=mount,dall resume=/dev/disk/by-id/ata-WDC_WD1600AAJS-22WAA0_WD-WCAS24704151-part6 splash=silent quiet showopts vga=0x317 init 3

3 Adjust Resolution

Modify the file/boot/grub2/grub.cfg, around line 133, add vga= 0x365 in the figure, save it and push it out. Restart to modify the system resolution to 1024*768. You also need to increase it as follows:

3.1 Backup the initial system configuration file:

linux-p71j:~ # cd /etc/X11/xorg.conf.d/

linux-p71j:/etc/X11/xorg.conf.d # cp 50-device.conf 50-device.conf.bak

linux-p71j:/etc/X11/xorg.conf.d # cp 50-screen.conf 50-screen.conf.bak

linux-p71j:/etc/X11/xorg.conf.d # cp 50-monitor.conf 50-monitor.conf.bak

3.2 Add the following to the 50-device.conf file:

Section "Device" Identifier "Default Device" Driver "vesa"EndSection

3.3 Add the following to the 50-screen.conf file:

Section "Screen" Identifier "Default Screen" Device "Default Device" Monitor "Default Monitor"EndSection

3.4 Add the following to the 50-monitor.conf file:

Section "Monitor" Identifier "Default Monitor"HorizSync 28-85VertRefresh 50-100Option "DPMS" "off"EndSection

4 Installation packages

rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' binutils \

gcc \

gcc48 \

glibc \

glibc-32bit \

glibc-devel \

glibc-devel-32bit \

libaio1 \

libaio-devel \

libcap1 \

libstdc++48-devel \

libstdc++48-devel-32bit \

libstdc++6 \

libstdc++6-32bit \

libstdc++-devel \

libstdc++-devel-32bit \

libgcc_s1 \

libgcc_s1-32bit \

mksh-50f \

make \

sysstat \

xorg-x11-driver-video \

xorg-x11-server \

xorg-x11 \

xorg-x11-Xvnc \

xorg-x11-fonts-core \

xorg-x11 \

xorg-x11-server-extra \

xorg-x11-libs \

xorg-x11-fonts |grep -i "not installed"|awk '{print $2}'|xargs zypper install -y

5 Changes to hosts

cat /etc/hosts

192.168.56.105 suse12

127.0.0.1 localhost

6.86% of installation errors

Error in invoking target 'agent nmhs' of makefile

solutions

Add parameters linking libnnz11 library to makefile

Modify $ORACLE_HOME/sysman/lib/ins_emagent.mk to

$(MK_EMAGENT_NMECTL) modified to: $(MK_EMAGENT_NMECTL) -lnnz11

It is recommended to backup the original file before modification

[oracle@ysserver ~]$ cd $ORACLE_HOME/sysman/lib

[oracle@ysserver lib]$ cp ins_emagent.mk ins_emagent.mk.bak

[oracle@ysserver lib]$ vi ins_emagent.mk

Enter vi editor command mode input/NMECTL to find, quickly locate the line to modify

Add the parameter-lnnz11 to the end. The first one is the letter l and the next two are the number 1.

7 installation samples

/app/oracle/product/11.2.0/dbhome_1/demo/schema/mk_plug.sql

Official reference: docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm#CEGHBFHB

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.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report