linux redhat4+oracle10g
ÔÚÐéÄâ»úRed Hat Enterprise Linux 4 update 4Öа²×°oracle 10.2.0.1
1)²é¿´ÏµÍ³ÄÚ´æ
[root@linux4 ~]# grep MemTotal /proc/meminfo
2)²é¿´½»»»Çø´óС
[root@linux4 ~]# grep SwapTotal /proc/meminfo
3)
²é¿´/tmpĿ¼´óС
[root@linux4 ~]# df -m /tmp
4)²é¿´²Ù×÷ϵͳ°æ±¾
[root@linux4 ~]# cat /etc/issue
5)¼ì²éϵͳÊÇ·ñ×°ÓÐÈçÏÂÈí¼þ°ü
binutils-2.15.92.0.2-13.EL4
compat-db-4.1.25-9
compat-libstdc++-296-2.96-132.7.2
control-center-2.8.0-12
gcc-3.4.3-22.1.EL4
gcc-c++-3.4.3-22.1.EL44
glibc-2.3.4-2.9
glibc-common-2.3.4-2.9
gnome-libs-1.4.1.2.90-44.1
libstdc++-3.4.3-22.1
libstdc++-devel-3.4.3-22.1
make-3.80-5
pdksh-5.2.14-30
sysstat-5.0.5-1
xscreensaver-4.18-5.rhel4.2
setarch-1.6-1
ʹÓÃrpm –qÃüÁî²é¿´ÉÏÊöÈí¼þ°ü
6)´´½¨oinstall×é
[root@linux4 ~]# /usr/sbin/groupadd oinstall
´´½¨oper×é
[root@linux4 ~]# /usr/sbin/groupadd oper
7)
´´½¨oracleÓû§£¬Ö¸¶¨ÆäÖ÷×éΪoinstall£¬²¢»¹ÊôÓÚ×édbaºÍoper
[root@linux4 ~]# useradd -g oinstall -G dba,oper oracle
[root@linux4 ~]# passwd oracle
ÉèÖÃÃÜÂë
8£©µ÷ÕûÄں˲ÎÊý
ʹÓÃvi±à¼Îļþ/etc/sysctl.conf
[root@linux4 ~]# vi /etc/sysctl.conf
ʹÄں˲ÎÊýÁ¢¼´ÉúЧ
[root@linux4 ~]# sysctl –p
9£©ÐÞ¸ÄÓû§ÏÞÖÆ
10)
ʹÓÃvi±à¼Îļþ/etc/pam.d/login£¬ÔÚÎļþĩβÌí¼ÓÈçÏÂÄÚÈÝ
[root@linux4 ~]# vi /etc/pam.d/login
11)ʹÓÃvi±à¼Îļþ/etc/csh.login
[root@linux4 ~]# vi /etc/csh.login
12)
´´½¨oracleÈí¼þ°²×°Ä¿Â¼
´´½¨Èí¼þ°²×°Ä¿Â¼
[root@linux4 ~]# mkdir -p /db/oracle
½«´´½¨µÄĿ¼ÊÚȨ¸øoracleÓû§
[root@linux4 ~]# chown -R oracle:oinstall /db/oracle
[root@linux4 ~]# chmod -R 775 /db/oracle
13)ÉèÖÃoracleÓû§»·¾³±äÁ¿
Çл»µ½oracleÓû§
[root@linux4 ~]# su – oracle
ʹÓÃvi±à¼Îļþ~/.bash_profile£¬Ìí¼ÓÈçÏÂÄÚÈÝ
[oracle@linux4 ~]$ vi .bash_profile
#reboot
ÒÔoracleÓû§µÇ¼ϵͳ
½øÈëoracleÔ´ÎļþĿ¼
$./runInstaller
Ñ¡ÔñĬÈÏÉèÖü´¿É
Ïà¹ØÎĵµ£º
ÔÚLinux 2.6ÄÚºËÖУ¬devfs±»ÈÏΪÊǹýʱµÄ·½·¨£¬²¢×îÖÕ±»Å×Æú£¬udevÈ¡´úÁËËü¡£DevfsµÄÒ»¸öºÜÖØÒªµÄÌصã¾ÍÊÇ¿ÉÒÔ¶¯Ì¬´´½¨É豸½áµã¡£ÄÇÎÒÃÇÏÖÔÚÈçºÎͨ¹ýudevºÍsysÎļþϵͳ¶¯Ì¬´´½¨É豸½áµãÄØ£¿
ÓÃudevÔÚ/dev/϶¯Ì¬Éú³ÉÉ豸Îļþ£¬ÕâÑùÓû§¾Í²»ÓÃÊÖ¹¤µ÷ÓÃmknodÁË¡£
ÀûÓõÄkernel API£º
&nb ......
×°ÁËÒ»Ò¹µÄÈí¼þ£¬ÏÈÊÇMySQL£¬myEclipse,Oracle ,²»¶ÏµÄ³ö´í£¬OracleServise²»ÄÜÆô¶¯£¬ºÜÊÇ·³ÈË£¬Ð¶ÔØÁËOracelÁ½´Î£¬ÓÖÖØ×°£¬´íÎóµÃµ½Ò»Ð©½â¾ö£¬×¢²á±í³öÏÖÁ˺öàµÄÎÊÌ⣬ÒÔÇ°ÔÚжÔØÈí¼þµÄʱºò£¬¶¼Ã»ÓÐÓÃרÓõŤ¾ß£¬×¢²á±íÒ»ÍÅÂÒ£¬ÕæÊÇÏ൱µÄºó»Ú£¬ÏÖÔÚ¿´À´ÒªÏë¸Ä¹ýÀ´È·ÊµÊǺÜÄѵÄÀ²£¡ÒÔºóÕâ·½ÃæÒª¶à¼ ......
ÏÂÔØJRE(Java Runtime Environment) ¡£(http://java.sun.com/javase/downloads/index.jsp)
ii. [root@localhost ~]#mkdir /usr/local/java
iii. (½«µµ°¸jre-1_5_0_09-linux-i586-rpm.binÏÂÔص½/usr/local/javaĿ¼ÏÂ)
iv. (³¬¼¶Óû§Ä£Ê½)
[root@localhost ~]#s ......
Linux°²×°JDK²½Öè1. ÏÈ´ÓÍøÉÏÏÂÔØjdk(jdk-1_5_0_02-linux-i586.rpm)
£¬ÍƼöSUNµÄ¹Ù·½ÍøÕ¾www.sun.com£¬ÏÂÔغó·ÅÔÚ/homeĿ¼ÖУ¬µ±È»ÆäËüµØ·½Ò²ÐС£
½øÈ밲װĿ¼
#cd /home
#cp
jdk-1_5_0_02-linux-i586.rpm /usr/local
#cd /usr/local
¸øËùÓÐÓû§Ìí¼Ó¿ÉÖ´ÐеÄ
ȨÏÞ
#chmod +x jdk-1_5_0_02-linux-i586.rpm.bin
......