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
Ñ¡ÔñĬÈÏÉèÖü´¿É
Ïà¹ØÎĵµ£º
×°ÁËÒ»Ò¹µÄÈí¼þ£¬ÏÈÊÇMySQL£¬myEclipse,Oracle ,²»¶ÏµÄ³ö´í£¬OracleServise²»ÄÜÆô¶¯£¬ºÜÊÇ·³ÈË£¬Ð¶ÔØÁËOracelÁ½´Î£¬ÓÖÖØ×°£¬´íÎóµÃµ½Ò»Ð©½â¾ö£¬×¢²á±í³öÏÖÁ˺öàµÄÎÊÌ⣬ÒÔÇ°ÔÚжÔØÈí¼þµÄʱºò£¬¶¼Ã»ÓÐÓÃרÓõŤ¾ß£¬×¢²á±íÒ»ÍÅÂÒ£¬ÕæÊÇÏ൱µÄºó»Ú£¬ÏÖÔÚ¿´À´ÒªÏë¸Ä¹ýÀ´È·ÊµÊǺÜÄѵÄÀ²£¡ÒÔºóÕâ·½ÃæÒª¶à¼ ......
ºÍÆäËû²Ù×÷ϵͳһÑù£¬Linux°üº¬½ø³Ìµ÷¶ÈÓë½ø³Ì¼äͨÐÅ(IPC)¡¢ÄÚ´æ¹ÜÀí(MMU)¡¢ÐéÄâÎļþϵͳ(VFS)¡¢ÍøÂç½Ó¿ÚµÈ£¬ÏÂͼ¸ø³öÁËLinuxµÄ×é³É¼°Æä¹Øϵ£º
LinuxÄÚºËÔ´´úÂë°üÀ¨¶à¸öĿ¼£º
¡¡¡¡£¨1£©arch£º°üÀ¨Ó²¼þÌض¨µÄÄں˴úÂ룬Èçarm¡¢mips¡¢i386µÈ£»
¡¡¡¡£¨2£©drivers£º°üº¬Ó²¼þÇý¶¯´úÂ룬Èçcha ......
ÓÉÓÚÕâЩÎļþ²»ÊÇÆÕͨµÄÎļþ£¬ËùÒÔÎÒÃDz»ÄÜÓÃ
ANSI C
£¨±ê×¼
C
£©µÄ
fopen
¡¢
fclose
µÈÀ´²Ù×÷Îļþ£¬¶øÓ¦¸ÃʹÓÃϵͳÎļþ
I/O
´¦Àíº¯Êý£¨
open
¡¢
read
¡¢
write
¡¢
lseek
ºÍ
close
£©À´´¦ÀíÕâЩÉ豸Îļþ¡£
ioctl
£¨£©»òÐíÊÇ
Linux
ÏÂ×îÅÓÔӵĺ¯Êý£¬Ëü¿ÉÒÔ¿ØÖƸ÷ÖÖÎļþµÄÊôÐÔ£¬ÔÚ
Linux
ÉùÒôÉ豸± ......
3ks:http://boz8.com/house/article.aspx?aid=112
ÔÚLinuxϽøÐÐCÓïÑÔ±à³Ì£¬±ØȻҪ²ÉÓÃGNU GCCÀ´±àÒëCÔ´´úÂëÉú³É¿ÉÖ´ÐгÌÐò¡£
Ò»¡¢GCC¿ìËÙÈëÃÅ
GccÖ¸ÁîµÄÒ»°ã¸ñʽΪ£ºGcc [Ñ¡Ïî] Òª±àÒëµÄÎļþ [Ñ¡Ïî] [Ä¿±êÎļþ]
ÆäÖУ¬Ä¿±êÎļþ¿Éȱʡ£¬GccĬÈÏÉú³É¿ÉÖ´ÐеÄÎļþÃûΪ£º±àÒëÎļþ.out
ÎÒÃÇÀ´¿´Ò»Ï¾µäÈëÃųÌÐò"Hello Wor ......
ÎÒÏëÔÚredhatÏÂʹÓÃÉãÏñÍ· µ«ÊÇÏÖÓа汾²»Ö§³Ö ËùÒÔÎÒÏëÉý¼¶ÄÚºË ÕâÑù¿ÉÄÜ»áÖ§³ÖÉãÏñÍ·
ÓÚÊÇÎÒ´ÓÍøÉÏÏÂÔØÁË 2.4.26°æ±¾µÄÄÚºË Í¨¹ýÍøÉϽéÉܵÄÄÇЩ·½·¨ Éý¼¶ÄÚºË Éý¼¶ºóÖØÆôµçÄÔ ½øÈëÐÂÄÚºËʱ Óöµ½ÏÂÃæµÄÎÊÌâ
VFS:Cannot open root device "sda2" or 08:01
Please append a correct "root=" boot option
kernel pa ......