`

configure /dev/shm before Install Oracle 11gR2 on Ubuntu 11.10 server (64-bit)

阅读更多

 

 

#! /bin/sh
# /etc/init.d/oracle-shm
#
#
case "$1" in
  start)
    echo "Starting script /etc/init.d/oracle-shm"
    # Run only once at system startup
    if [ -e /dev/shm/.oracle-shm ]; then
      echo "/dev/shm is already mounted, nothing to do"
    else
      rm -f /dev/shm
      mkdir /dev/shm
      #mount -B /run/shm /dev/shm
      mount -t tmpfs shmfs -o size=7000m /dev/shm
      touch /dev/shm/.oracle-shm
    fi
    ;;
  stop)
    echo "Stopping script /etc/init.d/oracle-shm"
    echo "Nothing to do"
    ;;
  *)
    echo "Usage: /etc/init.d/oracle-shm {start|stop}"
    exit 1
    ;;
esac
#
### BEGIN INIT INFO
# Provides:          oracle-shm
# Required-Start:     
# Required-Stop:      
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6 
# Short-Description: Bind /run/shm to /dev/shm at system startup.
# Description:       Fix to allow Oracle 11g use AMM.
### END INIT INFO

 

 
分享到:
评论

相关推荐

    Ubuntu下openssh-server手工安装 手把手教你安装

    此资源包含了openssh—server的三个安装包,以及对应的安装说明,内容详细正确,手把手教你如何在无网络情况下安装openssh—server。

    ubuntu 工具源码和安装说明

    ubuntu 工具源码和安装说明. export PATH=$PATH:/usr/local/vim/bin tar xf ncurses_5.9.orig.tar.gz mv ncurses-5.9/ ncurses cd ncurses ./configure --prefix=/usr/local/ncurses --without-cxx make sudo make ...

    Gateways-11g-win64安装包

    win64_11gR2_gateways.zip 进行解压缩,解压后进入目录,点击setup.exe,启动安装界面,安装Oracle Transparent Gateway For Microsoft SQL Server

    ubuntu 工具源码和安装说明-2

    ./configure --prefix=/usr/local/webserver/apache2 --enable-dav --enable-so --enable-modules=most --with-apr-util=/usr/local/apr-util make sudo make install tar xf sqlite-autoconf-3071502.tar.gz cd...

    Mastering Ubuntu Server(PACKT,2016)

    With this book as their guide, readers will be able to configure and deploy Ubuntu Servers using Ubuntu Server 16.04, with all the skills necessary to manage real servers. The book begins with the ...

    mingw64-x86-64 pthread和相关库

    之前遇到在mingw-w64编译使用pthread遇到较多问题,无法编译生成。找到了mingw64-x86_64-winpthreads-11.0.1-1-src才解决。解压tar.xz包,找到mingw64-x86_64-winpthreads-11.0.1-1.src\mingw-w64\mingw-w64-...

    gcc-linaro-5.4.1-2017.01-x86_64_aarch64-linux-gnu

    aarch64-linux-gnu-gcc是由 Linaro 公司基于GCC推出的的ARM交叉编译工具。可用于交叉编译ARMv8 64位目标中的裸机程序、u-boot、Linux kernel、filesystem和App应用程序。aarch64-linux-gnu-gcc交叉编译器必须安装在...

    libvpx-1.7.0-win64-vs2017-v141-sdk10.0.17134.12

    libvpx-1.7.0-win64-vs2017-v141-sdk10.0.17134.12 csdn-tags libvpx vc2017 v141 sdk17134 包内C目录是yasm安装后效果,与VS2017-VC14.15.26726 v141工具集对应。 如果你的机器上没有yasm,并且是与我的VS-VC...

    readline-static-6.0-4.el6.x86-64.rpm

    sqlplus 上下键,centos6 安装 yum -y install readline* 提示无readline-static-6.0-4.el6.x86_64.rpm包 下载rlwrap-0.41.tar.gz地址: https://codeload.github.com/hanslub42/rlwrap/tar.gz/refs/tags/v0.41 cd...

    openCV4.6.0+android-ndk-r22-windows-x86_64编译的arm64-v8a动、静态库

    openCV4.6.0+android-ndk-r22-windows-x86_64编译的arm64-v8a动、静态库 https://blog.csdn.net/aggs1990/article/details/124527556 CSDN审核可能较慢,如无法下载,可以过段时间再回来看下 仅供相关爱好者交流使用...

    4.2.7Configure Router-on-a-Stick Inter-VLAN Routing

    4.2.7 Packet Tracer - Configure Router-on-a-Stick Inter-VLAN Routing Cisco Packet Tracer 思科模拟器 正确答案文件 可直接上交正确答案文件 本答案版权归mewhaku所有,严禁再次转载!!! Copyright @...

    How to Install and Configure an NFS Server on Ubuntu 18.04.pdf

    在Ubuntu18.04中安装NFS服务器以及配置NFS 客户端,详细安装步骤过程,简单实用,一学就会

    Ubuntu Unleashed 2012 Edition: Covering 11.10 and 12.04 (7th Edition)

    Former Ubuntu Forum administrator Matthew Helmke covers all you need to know about Ubuntu 11.10/12.04 installation, configuration, productivity, multimedia, development, system administration, server ...

    Oracle 11gR2 2 Day Security Guide

    It show what is the basic steps to configure the database security related issue on Oracle Database 11g Release2

    oracleasm-configure.zip

    Red Linux6 ,/etc/init.d/oracleasm configure配置所需

    iperf_arm64.tar.gz

    gcc4.9.4 交叉编译适配飞腾系列armv8构架的目标执行程序 ..../configure --prefix=/home/dyx/work/install --host=aarch64-linux-gnu CC=aarch64-linux-gnu-gcc --enable-static --disable-shared make

    ffmpeg学习笔5 编译ffmpeg(Win10+android-ndk-r22)生成的arm64-v8a动、静态库

    ffmpeg学习笔5 编译ffmpeg(Win10+android-ndk-r22)生成的arm64-v8a动、静态库 https://blog.csdn.net/aggs1990/article/details/124577714 CSDN审核可能较慢,如无法下载,可以过段时间再回来看下 仅供相关爱好者...

    20121211 1559 BMP2JPG 调用libjpeg库.7z

    Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.4.4-14ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/...

    ethminer-0.16.0.dev3

    - `-DAPICORE=ON` - enable API Server, `ON` by default. - `-DETHDBUS=ON` - enable D-Bus support, `OFF` by default. ## Maintainer [![Gitter]...

Global site tag (gtag.js) - Google Analytics