LinuxϵÄOracle 10g°²×°¼°ÅäÖÃ
Ò».×ÊÔ´ÐèÒª£º
ÖÁÉÙ1024 MBÎïÀíÄÚ´æ
1024£2048 Ðè1.5±¶µÄ½»»¥¿Õ¼ä
2048£8192 Ðè1±¶µÄ½»»¥¿Õ¼ä
8192£ Ðè0.75±¶µÄ½»»¥¿Õ¼ä
ÖÁÉÙ400 MB /tmp ÁÙʱĿ¼¿Õ¼ä
oracleÈí¼þÐèÒª1.5 GB µ½ 3.5 GB ´ÅÅ̿ռä
ĬÈÏÊý¾Ý¿âÐèÒª1.2 GB
¶þ.²é¿´ÏµÍ³×ÊÔ´Ïà¹ØÓï¾ä£º
cat /etc/issue
uname -r
grep MemTotal /proc/meminfo
grep SwapTotal /proc/meminfo
grep "model name" /proc/cpuinfo
free
df -k /tmp
df -k
°²×°Ç°µÄ¼ì²éºÍ×¼±¸¹¤×÷£º
p4198954_21_linux.zip ÔÚÔËÐÐ runInstaller ֮ǰ´ò.
rpm -ivh compat-oracle-rhel4-1.0-5.i386.rpm (p4198954_21_linux.zip)
(²»´òPATCHÒ²¿ÉÒÔ£©
°²×° libaio-0.3.102-1.i386.rpm
libaio-devel0.3.102-1.i386.rpm
ÔÚRed Hat Enterprise Linux ½éÖʵĵÚÈýÕÅCD,ÒÔ root Óû§Éí·ÝÔËÐÐÒÔÏÂÃüÁ
rpm -ivh /mnt/cdrom/RedHat/RPMS/ libaio-0.3.102-1.i386.rpm
Èý.´´½¨Êý¾Ý¿â°²×°µÄ×¼±¸¹¤×÷:
1.´´½¨Óû§ºÍ×é(user/group)£»
groupadd dba
groupadd oinstall
useradd oracle -g oinstall -G dba
passwd oracle
Èç¹ûnobodyÓû§²»´æÔÚ£¨id nobodyÃüÁî²é¿´)£¬Ôò´´½¨£º
useradd nobody
2.½¨Á¢oracle°²×°Îļþ¼Ð(sample)£»
mkdir -p /opt/oracle/product/10g
mkdir /opt/oracle/database
chown -R oracle.oinstall /opt/oracle
chmod 755 -R /opt/oracle
2£¬ ÅäÖû·¾³±äÁ¿£»
ҪʹÓà Oracle ²úÆ·£¬Ó¦¸Ã»ò±ØÐëÉèÖü¸¸ö»·¾³±äÁ¿¡£Èç¹ûÄúÔÚͬһ·þÎñÆ÷Éϰ²×°Á˶à¸ö Oracle ²úÆ·»òÊý¾Ý¿â£¬Ôò ORACLE_HOME¡¢ ORACLE_SID ºÍ PATH ±äÁ¿¿ÉÄÜ»á¸ü¸Ä¡£ORACLE_BASE ±äÁ¿²»Ó¦¸ü¸Ä£¬²¢¿ÉÒÔÔÚÐèҪʱÔÚÄúµÄµÇ¼ÅäÖÃÎļþÖÐÉèÖÃËü¡£ Oracle ÌṩÁËÒ»¸ö³Æ×÷ oraenv µÄʵÓóÌÐòÀ´ÉèÖÃÆäËû±äÁ¿¡£
¶ÔÓÚÊý¾Ý¿â·þÎñÆ÷£¬½¨ÒéÉèÖÃÒÔÏ»·¾³±äÁ¿£º
ʹÓõÚÒ»²½´´½¨µÄÓû§ÃûOracleµÇ½:
su oracle
vi ~/.bash_profile
ÐÞ¸ÄÒÔÏÂÊÇ
Ïà¹ØÎĵµ£º
ËäȻѧϰJavaºÜ¾ÃÁË£¬×Ô¼ºÒ²Á¬½Ó¹ýһЩÊý¾Ý¿â£¬±ÈÈçmysqlÖ®ÀàµÄ£¬Èç½ñÄØ£¬Ò²Ñ§Ï°ÁËÒ»¶Îʱ¼äµÄOracle£¬È»¶øÄØ£¬½ñÌìÊÇÎÒµÚÒ»´ÎÁ¬½ÓOracle£¬ºÙºÙ£¬Ó¦¸Ã»¹²»ËãÌ«³Ù°É¡£
½ñÌìÄØ£¬Óе㱿׾£¬´ó¼ÒĪЦ£¡
ÎÒÕâÊÇÒ»¸ö²éѯÀý×Ó
Ê×ÏÈ£¬Ô ......
ÔÚlinuxϰ²×°ÅäÖÃsvn¶ÀÁ¢·þÎñÆ÷
subversion(ÒÔϼò³Æsvn)ÊǽüÄêÀ´áÈÆðµÄ°æ±¾¹ÜÀí¹¤¾ß£¬ÊÇcvsµÄ½Ó°àÈË¡£ svn·þÎñÆ÷ÓÐ2ÖÖÔËÐз½Ê½£º¶ÀÁ¢·þÎñÆ÷ºÍ½èÖúapache¡£2ÖÖ·½Ê½¸÷ÓÐÀû±×¡£
svn´æ´¢°æ±¾Êý¾ÝÒ²ÓÐ2ÖÖ·½Ê½£ºBDBºÍFSFS¡£ÒòΪBDB·½Ê½ÔÚ·þÎñÆ÷ÖжÏʱ£¬ÓпÉÄÜËø×¡Êý¾Ý£¨ÎÒÔÚ¸ãldapʱ¾ÍÉîÊÜÆäº¦£¬Ã»·¨¸ùÖΣ©£¬ËùÒÔ»¹ÊÇ ......
¡¡¡¡
¡¡¡¡
¡¡¡¡±¾ÊéÈ«Ãæ½éÉÜÁËUbuntu LinuxµÄÏà¹ØÖªÊ¶£¬ÄÚÈÝÏêʵ£¬ÂÛÊöÇåÎú¡£Ö÷ÒªÄÚÈݰüÀ¨Ubuntu½éÉÜ¡¢Îļþϵͳ¹ÜÀí¡¢½ø³Ì¹ÜÀí¡¢Ñ¹ËõÓë²éѯϵͳ¡¢ShellÓ¦Óá¢TCP/IP»ù´¡¡¢ÍøÂç¹ÜÀí¡¢ÍøÂçÓ²ÅÌÒÔ¼°¼ÓÃܰ²È«Í¨ÐŵÈÄÚÈÝ¡£
¡¡¡¡±¾ÊéÊÇÒ»±¾ÀíÂÛÓëʵ¼ù²¢ÖصÄÊé¼®£¬¿É×÷ΪרҵÈËÔ±µÄ²Î¿¼Êé¼®£¬Ò²ÊʺÏÓÚ¶ÔUbuntu ......
ת×Ô£ºhttp://www.vimer.cn
Linux½ø³Ì¹ÜÀíÃüÁîÏê½â(psºÍtop)
1.psÃüÁî
×÷ÓãºpsÃüÁîÖ÷Òª²é¿´ÏµÍ³Öнø³ÌµÄ״̬¡£
¸ñʽ£ºps [Ñ¡Ïî]
Ö÷ҪѡÏîÈçÏ¡£
-A£ºÏÔʾϵͳÖÐËùÓнø³ÌµÄÐÅÏ¢¡£
-e£ºÏÔʾËùÓнø³ÌµÄÐÅÏ¢¡£
-f£ºÏÔʾ½ø³ÌµÄËùÓÐÐÅÏ¢¡£
-l£ºÒÔ³¤¸ñʽÏÔʾ½ø³ÌÐÅÏ¢¡£
-r£ºÖ»ÏÔʾÕýÔÚÔËÐеĽø³Ì¡£
-u£ºÏÔÊ¾ÃæÏòÓû§µÄ ......