Ubuntu10.04Ï°²×°Oracle 10G
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
¹«ÍøÖÕÓÚͨµÄ£¬ÎÒµÄubuntu
Ò²ÖÕÓÚ¿ÉÒÔ¼ÌÐøʹÓÃÁË¡£¡£¡£
Ê×ÏȰѱ¾×ÓµÄubuntu
´Ó9.04
Éý¼¶µ½10.04
£¬·¢ÏÖϵͳ±ä³ÉÓ¢ºº»ìÓÃÁË£¬ÖØÑ¡ÓïÑÔÖ§³Ö°üÒ²²»¿ÉÒÔ£¬ÊäÈë·¨Ò²Ìí¼Ó²»ÉÏ£¬µ¹ÊÇûÓÐÍøÉÏÓÐÈËÌáµ½µÄϵͳÏìÓ¦·Ç³£»ºÂýµÄÎÊÌâ¡£°ëÌìδ¹û¾ÍÖ±½ÓÖØװϵͳ£¬°æ±¾ÊÇ10.04
¡£
Èí¼þµÄ°²×°¶¼±È½ÏÈÝÒס£¿ÉÒÔͨ¹ýÐÂÁ¢µÃÈí¼þ¹ÜÀíÆ÷Ò²¿ÉÒÔÊÇÈí¼þÖÐÐÄÀ´½øÐаüµÄ°²×°£¬ÊäÈë·¨ÓÃscim
£¬ÀïÃæÓÐÎå±Ê£¬¾Í²»ÕÒÆäËüµÄÖ§³ÖÈí¼þ£¬Õâµã×öµÃÒª±È΢ÈíµÄϵͳºÃ¡£
·ÖÁ˼¸¸ö²½ÖèÀ´½øÐÐoracle
10g
µÄ°²×°£º
1
¡¢ÏÂÔØÈí¼þ°ü¡£
½øÈëoracle
¹Ù·½Èí¼þhttp://www.oracle.com/technology/global/cn/software/products/database/xe/htdocs/102xelinsoft.html
½øÐÐÈí¼þ°üµÄÏÂÔØ£¬ÏÂÔØoracle-xe-universal_10.2.0.1-1.0_i386.deb
ÒÔ¼°oracle-xe-client_10.2.0.1-1.0_i386.deb
°ü¡£
2
¡¢½¨Á¢oracle
Óû§¼°»·¾³ÅäÖÃ
°²×°±ØÐëµÄ°ü
apt-get install gcc make
binutils lesstif2 libc6 libc6-dev rpm libmotif3 libaio1 libstdc++5
alien
´´½¨Óû§
ΪÁË·½±ãÅäÖã¬Ê¹ÓÃsudo
passwd root
ÃüÁîÅäÖÃroot
¿ÚÁîÒԺ󣬼´¿ÉÒÔʹÓÃroot
Óû§µÇ¼½øÐÐһЩ²Ù×÷¡£
ÐèҪΪ°²×°³ÌÐò´´½¨Ò»¸öOracle
Óû§ºÍÁ½¸ö×é.
Ê×Ïȼì²éËüÃÇÊÇ·ñÒѾ´æÔÚ:
$grep oinstall /etc/group
$grep dba /etc/group
$grep nobody /etc/group
Èç¹ûËüÃÇ»¹²»ÔÚϵͳÖУ¬ÄÇô´´½¨ËüÃÇ¡£
$sudo addgroup oinstall
$sudo addgroup dba
$sudo addgroup nobody
$sudo useradd -m -g oinstall -G
dba -p passwd -d /home/oracle -s /bin/bash oracle
$sudo usermod -g nobody nobody
ϵͳ»·¾³ÅäÖÃ
Ìí¼ÓÒÔÏÂÐе½
/etc/sysctl.conf
ÎļþÖÐ:
Ö´ÐÐsudo gedit
/etc/sysctl.conf
ÃüÁî¶ÔÎļþ½øÐб༡£
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
¸üÐÂϵͳ,
ÔËÐÐ:
$sudo sysctl -p
Ìí¼ÓÒÔÏÂÐе½
/etc/security/limits.conf
ÎļþÖÐ:
* soft nproc 2407
* hard nproc 16384
* soft nofile 1024
* hard nofile 65536
½¨Á¢ÈíÁ¬½Ó:
$sudo ln -s /usr/bin/awk
/bin/
Ïà¹ØÎĵµ£º
Oracle ÊÇÒ»¸öÅÓ´óµÄϵͳ£¬ÀïÃæµÄ֪ʶµãºÜ¶à£¬ÔÚѧϰµÄʱºò£¬¿´µ½Ò»Ð©ÖªÊ¶µã£¬¾ÍÌùÁËÏÂÀ´£¬¾¡²»ÖªÖÐÌùÁËÕâô¶à£¬¾ÍÏÈ×ö¸öС½á°É¡£ ÀïÃæÓеÄ֪ʶµãÒѾµ¥¶ÀÄóöÀ´Ð´³Éµ¥ÆªµÄblog(http://blog.csdn.net/tianlesoftware)ÁË¡£ÓеĻ¹Ã»ÓнøÐÐÕûÀí¡£ ºÃ¼ÇÐÔ²»ÈçÀñÊÍ·£¬²»¹ýÎÒÓõIJ»ÊDZʡ£ ^_^ ......
ORACLE ERP¿ª·¢»ù´¡Ö®Ç°ÑÔ
¡¡¡¡
¡¡¡¡Ç°ÑÔ
¡¡¡¡Å¼ÊÇ2008Äê²Å¿ªÊ¼½Ó´¥£¬Õâ¸ö´«ËµÖеÄOracle ERP¡£¶øÔÚ´ËÇ°ËÄÄê¼ä£¬ÌرðÊÇÔÚ×öJAVA³ÌÐòÔ±¶þÄê¶àµÄʱ¼äÖУ¬Ñø³ÉÁËÒ»ÖֶԼܹ¹¡¢Ä£Ê½¡¢ÃæÏò¶ÔÏóµÄ¿ñÈÈ×·Ç󣬵¼Ö¶ÔEBSÒೣʧÍû¡£ÒòΪEBS11iûÓÐÈí¼þģʽ¡¢Éè¼Æ¡¢·Ö²ãµÈ£¬Ö»ÓÐÏóÃæÌõ°ãµÄPL/SQLÓï¾ä¡£
¡¡¡¡EBSÈë ......
ORACLE¿ª·¢¹¤¾ß²ßÂÔ½éÉÜ
ºÜ¶àͬѧÎÊÆðÎÒÃÇOracle ERP¶þ´Î¿ª·¢ÒÔºó»áʹÓÃʲôÑùµÄÓïÑԺͿª·¢¹¤¾ß£¿Ê×ÏÈÎÒÃÇÀ´¿´¿´Oracle¿ª·¢¹¤¾ß²úÆ·µÄ²ßÂÔ
Oracle¿ª·¢¹¤¾ßµÄ²ßÂÔÊÇÌṩÄܹ»¿ª·¢»ùÓÚInternetÄ£ÐÍÏÂÆóÒµÓ¦ÓõÄÈí¼þ¿ª·¢¹¤¾ß£¬Òò´ËOracleÌṩÁËÁ½¸ö²¢ÐеĿª·¢¹¤¾ßÒÔ¼°ÐµĿìËÙWeb¿ª·¢¹¤¾ß£º
Ò»£¬»ùÓÚPL/SQLÓïÑÔ»·¾³µÄ´«Í³¿ ......
ÓÃjavaµ÷ÓÃoracle´æ´¢¹ý³Ì×ܽá
1¡¢Ê²Ã´ÊÇ´æ´¢¹ý³Ì¡£´æ´¢¹ý³ÌÊÇÊý¾Ý¿â·þÎñÆ÷¶ËµÄÒ»¶Î³ÌÐò£¬ËüÓÐÁ½ÖÖÀàÐÍ¡£Ò»ÖÖÀàËÆÓÚSELECT²éѯ£¬ÓÃÓÚ¼ìË÷Êý¾Ý£¬¼ìË÷µ½µÄÊý¾ÝÄܹ»ÒÔÊý¾Ý¼¯µÄÐÎʽ·µ»Ø¸ø¿Í»§¡£ÁíÒ»ÖÖÀàËÆÓÚINSERT»òDELETE²éѯ£¬Ëü²»·µ»ØÊý¾Ý£¬Ö»ÊÇÖ´ÐÐÒ»¸ö¶¯×÷¡£ÓеķþÎñÆ÷ÔÊÐíͬһ¸ö´æ´¢¹ý³Ì¼È¿ÉÒÔ·µ»ØÊý¾ÝÓÖ¿ÉÒÔÖ´Ðж¯×÷¡£
......
ΪÕâЩÓû§ÃûÉèÖÃ×㹻ǿ׳µÄ¿ÚÁî»òËø¶¨ÎÞÓõÄĬÈÏÓû§¡£
SQLÓï¾äÐ޸ģº
Á¬½ÓÖÁOracleºóʹÓÃÈçÏÂÃüÁîÐ޸ĿÚÁî:
alter user system£¨Óû§Ãû£© identified by manager£¨ÃÜÂ룩;
Á¬½ÓÖÁOracleºóʹÓÃÈçÏÂÃüÁîËø¶¨Õ˺Å:
alter user test£¨Óû§Ãû£© account lock;
ͼÐδ°¿ÚÐ޸ģº
Oracle·þÎñopenviewÉϵÄÓû§£ºSCOT ......