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

Install and configure Oracle 11.2.0.4 graphic tutorial on Linux 7.4

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

1. Configure Yum source and turn off SeLinux

[root@localhost ~] # mkdir / media/rhel [root@localhost ~] # mount / dev/cdrom / media/rhelmount: / dev/sr0 is write-protected, mounting read-only [root@localhost ~] # vi / etc/yum.repos.d/iso.repo [iso] name=isobaseurl= file:///media/rhelenabled=1gpgcheck=0[root@localhost ~] # vi / etc/selinux/config# modifySELINUX=disabled

two。 Install the desktop environment (if not installed)

[root@localhost ~] # yum-y group install "Server with GUI"

3. Install the package

[root@localhost ~] # yum-y install binutils binutils-devel compat-libcap1 compat-libstdc++-33 compat-libstdc++-33.i686 ksh elfutils-libelf elfutils-libelf-devel glibc glibc-common glibc-devel glibc-headers gcc gcc-c++ libaio libaio.i686 libaio-devel libaio-devel.i686 libgcc libstdc++ libstdc++.i686 libstdc++-devel libstdc++-devel.i686 make sysstat unixODBC unixODBC-devel libXp libXp-devel libXpm-devel telnet

4. Establish a user

[root@localhost ~] # groupadd oinstall [root@localhost ~] # groupadd dba [root@localhost ~] # useradd-g oinstall-G dba oracle [root@localhost ~] # passwd oracle [root@localhost ~] # vi / etc/profile# add if [\ $USER = "oracle"]; then if [\ $SHELL = "/ bin/ksh"]; then ulimit-p 16384 ulimit-n 65536 else ulimit-u 16384-n 65536 fi umask 022fi

5. Create a folder

[root@localhost ~] # mkdir-p / u01/oracle [root@localhost ~] # mkdir-p / u01/oracle/11.2.0/db_1 [root@localhost ~] # chown-R oracle:oinstall / u01/oracle/ [root@localhost ~] # chown-R oracle:oinstall / u01/oracle/11.2.0/db_1/ [root @ localhost] # chmod-R 755 / u01/oracle/ [root@localhost ~] # chmod-R 755 / u01/oracle/11.2.0/db_1/

6. Configure system core parameters, Oracle user resource limits, Oracle user environment variables

[root@localhost ~] # MEMTOTAL=$ (free-b | sed-n '2p' | awk' {print $2}') [root@localhost ~] # SHMMAX=$ (expr $MEMTOTAL / 2) [root@localhost ~] # SHMMNI=4096 [root@localhost ~] # PAGESIZE=$ (getconf PAGE_SIZE) [root@localhost ~] # cat > > / etc/sysctl.conf

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

Servers

Wechat

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

12
Report