欧美自拍小视频_国产片在线免费观看_中文字幕啪啪_成人av高清在线_欧美一区二区视频免费观看_亚洲国产激情


曙海教育集團(tuán)論壇Linux專(zhuān)區(qū)Linux系統(tǒng)開(kāi)發(fā) → linux系統(tǒng)數(shù)據(jù)庫(kù)開(kāi)發(fā)環(huán)境搭建


  共有7508人關(guān)注過(guò)本帖樹(shù)形打印

主題:linux系統(tǒng)數(shù)據(jù)庫(kù)開(kāi)發(fā)環(huán)境搭建

美女呀,離線,留言給我吧!
wangxinxin
  1樓 個(gè)性首頁(yè) | 博客 | 信息 | 搜索 | 郵箱 | 主頁(yè) | UC


加好友 發(fā)短信
等級(jí):青蜂俠 帖子:1393 積分:14038 威望:0 精華:0 注冊(cè):2010-11-12 11:08:23
linux系統(tǒng)數(shù)據(jù)庫(kù)開(kāi)發(fā)環(huán)境搭建  發(fā)帖心情 Post By:2010-11-25 9:13:07

一、準(zhǔn)備安裝軟件
 1. Red Hat Enterprise AS4 系統(tǒng)軟件
       RHEL4-U2-i386-AS-disc1.iso
       RHEL4-U2-i386-AS-disc2.iso
       RHEL4-U2-i386-AS-disc3.iso
       RHEL4-U2-i386-AS-disc4.iso
 2、防病毒軟件antivir
       antivir-server-prof-2.1.7-18.tar.gz
 3、數(shù)據(jù)庫(kù)軟件oracle10g
       10201_database_linux32.zip
 4、中間服務(wù)器軟件及補(bǔ)丁easerver520
       68510-55-0520-01.tgz
       compat-libstdc++-7.3-2.96.118.i386.rpm
二、安裝Red Hat Enterprise AS4 系統(tǒng)
 1、用虛擬光驅(qū)將RedHat9的第一個(gè)ISO文件中的loadlin.exe文件解壓出來(lái);
 2、再將Red Hat Enterprise AS4 的第一個(gè)ISO文件中的isolinux目錄和trans.tbl文件解壓出來(lái);
 3、將Red Hat Enterprise AS4 的四個(gè)ISO文件必須放在FAT或FAT32的分區(qū)內(nèi)(如D盤(pán))
 4、建立并編輯一個(gè)批處理文件autoboot.bat,寫(xiě)入以下內(nèi)容:
    loadlin isolinux/vmlinuz initrd=isolinux/initrd.img
    保存退出;
 5、下面是D盤(pán)目錄樹(shù)
    --RHEL4-i386-AS-disc1.iso
    --RHEL4-i386-AS-disc2.iso
    --RHEL4-i386-AS-disc3.iso
    --RHEL4-i386-AS-disc4.iso
    --TRANS.TBL
    --loadlin.exe
    --autoboot.bat
   │
   └─isolinux
    ---------TRANS.TBL
    ---------boot.cat
    ---------boot.msg
    ---------general.msg
    ---------initrd.img
    ---------isolinux.bin
    ---------isolinux.cfg
    ---------memtest
    ---------options.msg
    ---------param.msg
    ---------rescue.msg
    ---------snake.msg
    ---------splash.lss
    ---------vmlinuz
 6、最后DOS啟動(dòng)盤(pán)引導(dǎo)系統(tǒng),進(jìn)入D盤(pán),運(yùn)行autoboot.bat文件,啟動(dòng)安裝。
    選擇手工分區(qū),新建一根分區(qū)和交換分區(qū),點(diǎn)擊NEXT
    選擇配置高級(jí)引導(dǎo)裝載程序選項(xiàng),點(diǎn)擊NEXT
    選擇/dev/hda3引導(dǎo)分區(qū)的第一個(gè)扇區(qū),點(diǎn)擊NEXT
    在網(wǎng)絡(luò)設(shè)備打開(kāi)編輯窗口,取消使用DHCP進(jìn)行配置,并輸入IP,手工設(shè)置機(jī)器名,網(wǎng)關(guān)和DNS
    選擇無(wú)防火墻
    在系統(tǒng)語(yǔ)言中選擇chinese(p.r of china)和english(USA)
 7、定制軟件包
    桌面: X窗口系統(tǒng),GNOME桌面環(huán)境
    應(yīng)用程序: 編輯器,工程和科學(xué),圖形化互聯(lián)網(wǎng),基于文本的互聯(lián)網(wǎng),辦公/生產(chǎn)率,視屏和音頻,授權(quán)和出版,圖形
    服務(wù)器: 取消所有選項(xiàng)
    開(kāi)發(fā): 開(kāi)發(fā)工具,X軟件開(kāi)發(fā),GNOME軟件開(kāi)發(fā)
    系統(tǒng): 管理工具,系統(tǒng)工具,打印支持
    雜項(xiàng): 默認(rèn)不選
三.安裝防病毒軟件antivir
   1.解壓 [root@ldsheng]# gunzip antivir-server-prof-2.1.7-18.tar.gz
   2.還原 [root@ldsheng]# tar xvf antivir-server-prof-2.1.7-18.tar
   3.安裝 [root@ldsheng]# cd antivir-server-prof-2.1.7-18
          [root@ldsheng]# ./install
           Do you agree to the license terms? [n] y
           Enter the path to your key file: []LICENSE.DE
           Would you like to install the internet update daemon? [n]y
           Would you like to create a link in /usr/sbin for avupdater ? [y]y
           Would you like the internet update daemon to start automatically? [y]
           How should AvGuard be installed? [n]k
           Would you like to create a link in /usr/sbin for avguard ? [y] y
           Would you like AvGuard to start automatically? [y] y
           Would you like to install the GUI (+ SMC support)? [y] y
           Would you like to configure the AntiVir updater now? [y]n
       Thank you for your interest in AntiVir for UNIX Server.
四.安裝oracle10g數(shù)據(jù)庫(kù)
   1、硬件要求:
      內(nèi)存512M,交換空間1G,磁盤(pán)空間2.5G
      [root@ldsheng]# grep MemTotal /proc/meminfo
      [root@ldsheng]# grep SwapTotal /proc/meminfo
      [root@ldsheng]# df -h
   2、創(chuàng)建用戶(hù)和組:
      [root@ldsheng]# groupadd dba
      [root@ldsheng]# groupadd oinstall
      [root@ldsheng]# useradd -m -g oinstall -G dba oracle
      [root@ldsheng]# passwd oracle
   3、準(zhǔn)備文件目錄:
      [root@ldsheng]# mkdir -p /u01/app/oracle
      [root@ldsheng]# mkdir -p /u02/oradata
      [root@ldsheng]# chown -R oracle:oinstall /u01/app/oracle /u02/oradata
      [root@ldsheng]# chown -R 775 /u01/app/oracle /u02/oradata
   4、調(diào)節(jié)系統(tǒng)內(nèi)核參數(shù):
      編輯vi /etc/sysctl.conf 文件,加入以下的語(yǔ)句:
      kernel.shmall = 2097152
      kernel.shmmax = 2147483648
      kernel.shmmni = 4096
      kernel.sem = 250 32000 100 128
      fs.file-max = 65536
      net.ipv4.ip_local_port_range = 1024 65000
      net.core.rmem_default=262144
      net.core.rmem_max=262144
      net.core.wmem_default=262144
      net.core.wmem_max=262144
   5、設(shè)置oracle對(duì)文件的要求:
      編輯文件vi /etc/security/limits.conf 加入以下語(yǔ)句:
      oracle     soft    nproc   2047
      oracle     hard    nproc   16384
      oracle     soft    nofile  1024
      oracle     hard    nofile  65536
   6、設(shè)置oracle的系統(tǒng)環(huán)境:
      以oracle用戶(hù)的身份登錄:
      [root@ldsheng]# su oracle
      [root@ldsheng]# cd ~
      編輯vi .bashrc文件加入以的語(yǔ)句:
      umask 022
      PATH=/bin:/usr/bin:/etc:/usr/openwin/bin:/usr/sbin:/sbin:/u01/app/oracle/bin
      PATH=$PATH:/usr/local/bin:/u01/app/oracle/pruduct/10.2.0/bin:.
      export PATH
      ORACLE_BASE=/u01/app/oracle
      ORACLE_SID=ora0d100
      ORACLE_HOME=/u01/app/oracle/pruduct/10.2.0
      export ORACLE_BASE ORACLE_SID ORACLE_HOME
      LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
      CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
      NLS_LANG=AMERICAN_AMERICA.zhs16gbk
      NLS_DATE_FORMAT="YYYY-MM-DD HH24:MI:SS"
      export LD_LIBRARY_PATH CLASSPATH NLS_LANG NLS_DATE_FORMAT
   7、重啟系統(tǒng)使設(shè)置生效
      [root@ldsheng]# reboot
   8、解壓縮oracle10g文件,運(yùn)行安裝命令
      [root@ldsheng]# unzip 10201_database_linux32.zip
      [oracle@ldsheng]$ cd /mnt/oraclefile/database
      [oracle@ldsheng]$ ./runInstaller
      如果提示"OUI-10036:無(wú)法創(chuàng)建產(chǎn)品清單位置,您可能無(wú)權(quán)寫(xiě)入該位置",則執(zhí)行以下命令:
      [root@ldsheng]# chmod u=rwx,g=rwx,o=rwx /u01/app/oracle
      [root@ldsheng]# chmod u=rwx,g=rwx,o=rwx /u02/oradata
      安裝結(jié)束之前系統(tǒng)會(huì)提示執(zhí)行相關(guān)腳本,則按要求執(zhí)行
      [root@ldsheng]# cd /u01/app/oracle/oraInventory
      [root@ldsheng]# ./orainstRoot.sh
      [root@ldsheng]# cd /u01/app/oracle/pruduct/10.2.0
      [root@ldsheng]# ./root.sh
      Enter the full pathname of the local bin directory: [/usr/local/bin]:
                                          /u01/app/oracle/pruduct/10.2.0/bin
   9、開(kāi)機(jī)自動(dòng)啟動(dòng)em,database,listener,agent服務(wù)
       a、編輯vi /etc/oratab文件,增加或修改:
          ora0d100:/u01/app/oracle/pruduct/10.2.0:Y
       b、創(chuàng)建對(duì)init.ora的軟鏈接
          在/u01/app/oracle/pruduct/10.2.0/dbs下建立一個(gè)到/u01/app/oracle/admin/ora0d100/pfile中的init.ora的軟鏈接
          查看鏈接[root@ldsheng]# ls -alt init*
          建立鏈接[root@ldsheng]# ln -s  /u01/app/oracle/admin/ora0d100/pfile/initora0d100.ora
                                         /u01/app/oracle/pruduct/10.2.0/dbs/initora0d100.ora
       c、在/etc/rc.d/init.d 下創(chuàng)建名為dbora的文件,編輯增加以下內(nèi)容
          #!/bin/bash
          # chkconfig: 35 95 1
          # description: init script to start/stop oracle database 10g, TNS listener, EMS
          #
          # match these values to your environment:
          export ORACLE_BASE=/u01/app/oracle
          export ORACLE_HOME=$ORACLE_BASE/10.2.0/db_1
          export ORACLE_SID=ora0d100
          export PATH=/home/oracle/bin:$ORACLE_HOME/bin:$PATH
          export ORACLE_USER=oracle
          # see how we are called:
            case $1 in
                 start)
                 su - "$ORACLE_USER"<     dbstart
            EOS
                 emctl start dbconsole
            EOO
                  ;;
                 stop)
                 su - "$ORACLE_USER"<     dbshut
            EOS
                 emctl stop dbconsole
            EOO
                   ;;
                   *)
            echo "Usage: $0 {start|stop}"
                   ;;
            esac
       d、打開(kāi)終端執(zhí)行:
          [root@ldsheng]# chown oracle.oinstall /etc/rc.d/init.d/dbora
          [root@ldsheng]# chmod 755 /etc/rc.d/init.d/dbora
          使用chkconfig設(shè)置運(yùn)行權(quán)限
          [root@ldsheng]# chkconfig dbora reset
          檢查 [root@ldsheng]# chkconfig --list dbora
       

支持(0中立(0反對(duì)(0單帖管理 | 引用 | 回復(fù) 回到頂部

返回版面帖子列表

linux系統(tǒng)數(shù)據(jù)庫(kù)開(kāi)發(fā)環(huán)境搭建








簽名
主站蜘蛛池模板: 好吊妞视频这里有精品 | 99热这里精品 | 欧美福利在线观看 | 国产精品国语自产拍在线观看 | 无码免费一区二区三区免费播放 | 久久精品91佛爷大战美容院 | 日韩人妻无码精品久久久不卡 | 亚洲精品精华液一区 | 最新亚洲人成无码网站 | 香蕉在线精品视频在线观看6 | 国产色婷婷亚洲99精品小说 | 久久毛片基地 | 91久久精品视频 | 被灌满精子的波多野结衣 | 99热久久这里只有精品6国产网 | 日日摸夜夜添夜夜爽免费视频 | 6080夜射猫| 久久久久久久伊人电影 | 99国产精品 | 亚洲一区二区三区 无码 | 日韩中文在线观看 | 日韩中文字幕久久精品 | 青青青免费在线视频 | 亚洲va韩国va欧美va天堂 | 侵犯人妻女教师中文字幕 | 西西大胆午夜人体视频 | 久久久久久草 | 鲁大师成人精品视频 | 一级小视频 | 野花社区在线观看视频 | www国产亚洲精品久久网站 | 青青草久久爱 | 亚洲v欧美 | 天天躁日日躁狠狠躁欧美老妇小说 | 97久久精品人人做人人爽 | 十八禁无遮无挡动态图 | 天天澡天天添天天摸97影院 | 日本免费一区二区三区日本 | 99色在线视频 | 国产精品成熟老妇女 | 久久久久久久九九九九 |