Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ :

Linux¸ùÎļþϵͳ½á¹¹ÔÙÈÏʶ

Linux¸ùÎļþϵͳ½á¹¹ÔÙÈÏʶ
Áõ½¨ÎÄ£¨http://blog.csdn.net/keminlau £©
INTRO
¾¡¹ÜLinuxµÄ¸ùÎļþϵͳÔÚÐÎʽ±íÏÖÉÏÊÇÒ»ÌåµÄ£¨ËùÓÐÊý¾ÝĿ¼¾ùΪ¸ùĿ¼ÏµÄ×ÓĿ¼£©£¬µ«Êµ¼ÊËüÃÇÊǶà¸ö²»Í¬µÄ¡¾Âß¼­Ö÷Ìå¡¿£¨ÎªÁËʵÏÖ²»Í¬µÄÂß¼­¹¦ÄÜ£©×éºÏÔÚÒ»ÆðµÄ£¬²Î¼ûÏÂͼ¡£ÕâÒ²½âÊÍÁËΪʲôÓÐЩ½Úµã£¨Èç/var£©¿ÉÒÔ¹Ò½Óµ½²»Í¬´ÅÅÌ·ÖÇøÉÏ¡£»®·ÖÕâЩÂß¼­²¿·Ö¶ÔÇåÎú°ÑÎÕ¸ùÎļþϵͳ½á¹¹£¬ÒÔ¼°Õû¸öϵͳµÄÐÐΪ¶¼ÓкܴóµÄºÃ´¦¡£ÔÚ»®·Ö֮ǰ£¬ÏÈ¿´¿´“Îļþϵͳ½á¹¹±ê×¼”¡£
 
Îļþϵͳ½á¹¹±ê×¼
Îļþϵͳ½á¹¹±ê×¼ £¨Filesystem Hierarchy Standard £¬Ï³ÆFHS£©¶¨Á¢µÄÄ¿±êÖ®Ò»ÊÇ£¬³ÌÐò¿É°´ÓÃ;ÐÔÖʱ»°²×°µ½Ö¸¶¨µÄλÖã¬Óû§Ò²ÄÜÔ¤Öª³ÌÐòµÄ°²×°µÄÎļþºÍĿ¼µÄλÖá£FHSͨ¹ý¶¨ÒåÎļþϵͳ¸÷²¿·ÖµÄº­Òå¡¢ÓÃ;£¬ÔÙ¼ÓÉÏÁоÙËùÓеÄÌØÊâÇé¿ö£¬ÈçÀúÊ·ÒÅÁôÎÊÌ⣬´ïµ½ÁËÕâ¸öÄ¿±ê¡£
LINUXϵͳµÄÊý¾ÝÎļþ¿ÉÒÔ¸ù¾Ý¡¾Ë«Öرê×¼¡¿À´¶ÔËüÃÇ·ÖÀࣺ¹²ÏíµÄÓë¶ÀÏíµÄ£¨shareable vs. unshareable£©¡¢±ä»¯µÄºÍ¾²Ì¬µÄ£¨variable vs. static£©¡£Èç¹ûÊý¾ÝÎļþÎÞ·¨°´ÕÕË«ÖØ±ê×¼·ÖÀ࣬ËüÃDZØÐëÁíÆðĿ¼´æ·Å£¬ÕâÑù×öµÄÔ­ÒòÊÇ¿ÉÒ԰Ѳ»Í¬¡¾Ê¹ÓÃÐÔÖÊ¡¿£¨usage characteristics£©µÄÊý¾ÝÎļþ·Ö¿ª²»Í¬Îļþϵͳ£¨´ÅÅÌ·ÖÇø£ ......

LinuxϵͳÐÅÏ¢²é¿´ÃüÁî´óÈ«


×î½ü¿´ÁËһЩLinuxÃüÁîÐеÄÎÄÕ£¬ÔÚϵͳÐÅÏ¢²é¿´·½ÃæÑ§µ½²»ÉÙÃüÁî¡£ ÏëÆðÒÔǰд¹ýµÄһƪÆäʵLinuxÕâÑùÓøü¼òµ¥
£¬
·¢ÏÖÕâЩϵͳÐÅÏ¢²é¿´ÃüÁîÒ²¿ÉÒÔ×ܽá³öһƪССµÄ¶«Î÷À´ÁË¡£
ÁíÍâÕâÀï
»¹Óзdz£¶àµÄÃüÁ ¿ÉÒÔ×÷Ϊ²Î¿¼¡£
ϵͳ
# uname -a # ²é¿´ÄÚºË/²Ù×÷ϵͳ/CPUÐÅÏ¢
# head -n 1 /etc/issue # ²é¿´²Ù×÷ϵͳ°æ±¾
# cat /proc/cpuinfo # ²é¿´CPUÐÅÏ¢
#lsb_release -a #²é¿´°æ±¾ÐÅÏ¢
# hostname # ²é¿´¼ÆËã»úÃû
# lspci -tv # ÁгöËùÓÐPCIÉ豸
# lsusb -tv # ÁгöËùÓÐUSBÉ豸
# lsmod # Áгö¼ÓÔØµÄÄÚºËÄ£¿é
# env # ²é¿´»·¾³±äÁ¿
×ÊÔ´
# free -m # ²é¿´ÄÚ´æÊ¹ÓÃÁ¿ºÍ½»»»ÇøÊ¹ÓÃÁ¿
# df -h # ²é¿´¸÷·ÖÇøÊ¹ÓÃÇé¿ö
# du -sh <Ŀ¼Ãû> # ²é¿´Ö¸¶¨Ä¿Â¼µÄ´óС
# grep MemTotal /proc/meminfo # ²é¿´ÄÚ´æ×ÜÁ¿
# grep MemFree /proc/meminfo # ²é¿´¿ÕÏÐÄÚ´æÁ¿
# uptime # ²é¿´ÏµÍ³ÔËÐÐʱ¼ä¡¢Óû§Êý¡¢¸ºÔØ
# cat /proc/loadavg # ²é¿´ÏµÍ³¸ºÔØ
´ÅÅ̺ͷÖÇø
# mount | ......

Linux³£ÓÃÅäÖÃÎļþ


ÅäÖÃÎļþÒ»ÀÀ±í ÎļþλÖü°Ãû³Æ,×÷ÓÃ
¡¡¡¡/etc/rc.d/rc.sysinit
¡¡¡¡ÏµÍ³Æô¶¯Ê±µÄ¹«Ó÷þÎñÅäÖÃ
¡¡¡¡/etc/rc.d/rc.local
¡¡¡¡ÏµÍ³Æô¶¯Ê±µÄ±¾µØ·þÎñÅäÖÃ
¡¡¡¡/etc/bashrc¡¢/etc/profile
¡¡¡¡bash shellµÄ¹«ÓÃÅäÖÃ
¡¡¡¡/home/username/.bashrc
¡¡¡¡¸÷Óû§Ë½ÈËbash shellÅäÖÃ
¡¡¡¡/etc/securetty
¡¡¡¡Öն˰²È«ÉèÖÃ
¡¡¡¡/etc/hosts
¡¡¡¡Ö÷»úÃûÓëipµØÖ·µÄ¶ÔÓ¦Îļþ
¡¡¡¡/etc/resolv.conf
¡¡¡¡dns·þÎñÆ÷ÅäÖÃ
¡¡¡¡/etc/squid.conf»ò/etc/squid/squid.conf
¡¡¡¡squid´úÀí·þÎñÆ÷Èí¼þÅäÖÃ
¡¡¡¡/etc/smb.conf»ò/etc/samba/smb.conf
¡¡¡¡»ùÓÚsmbµÄÍøÉÏÁÚ¾ÓÅäÖÃ
¡¡¡¡/etc/dhcpd.conf
¡¡¡¡linuxϵÄdhcp·þÎñÆ÷ÅäÖÃÎļþ
¡¡¡¡/etc/filesystems
¡¡¡¡ÏµÍ³Ö§³ÖµÄÎļþϵͳÁбí
¡¡¡¡/etc/fstab
¡¡¡¡µ±Ç°ÏµÍ³ÖÐÒѼ¤»î·ÖÇøµÄÐÅÏ¢
¡¡¡¡/etc/host.conf
¡¡¡¡Ö¸¶¨ÏµÍ³ËÑË÷dns¼Ç¼µÄÅäÖÃÎļþ
¡¡¡¡/etc/lilo.conf
¡¡¡¡Æô¶¯³ÌÐòliloµÄÅäÖÃÎļþ
    /etc/grub.conf
    Æô¶¯³ÌÐògrubµÄÅäÖÃÎļþ£¬->/boot/grub/grub.conf
    /etc/syslog.conf
    ϵͳÈÕÖ¾ÎļþÅäÖÃÎļþ
    /etc/sysctl.con ......

LinuxÏÂOracleÖØÆôºÍÐÞ¸ÄÁ¬½ÓÊý

Ò»¡¢Æô¶¯
 
1.#su - oracle              Çл»µ½oracleÓû§ÇÒÇл»µ½ËüµÄ»·¾³
2.$lsnrctl status           ²é¿´¼àÌý¼°Êý¾Ý¿â״̬
3.$lsnrctl start            Æô¶¯¼àÌý
4.$sqlplus / as sysdba       ½øÈësqlplus
5.SQL>conn / as sysdba   ÒÔDBAÉí·ÝµÇ¼
6.SQL>startup                Æô¶¯db
                                        
¶þ¡¢Í£Ö¹
1.#su - oracle              Çл»µ½oracleÓû§ÇÒÇл»µ½ËüµÄ»·¾³
2.$lsnrctl stop    &nbs ......

LinuxÏÂOracleÖØÆôºÍÐÞ¸ÄÁ¬½ÓÊý

Ò»¡¢Æô¶¯
 
1.#su - oracle              Çл»µ½oracleÓû§ÇÒÇл»µ½ËüµÄ»·¾³
2.$lsnrctl status           ²é¿´¼àÌý¼°Êý¾Ý¿â״̬
3.$lsnrctl start            Æô¶¯¼àÌý
4.$sqlplus / as sysdba       ½øÈësqlplus
5.SQL>conn / as sysdba   ÒÔDBAÉí·ÝµÇ¼
6.SQL>startup                Æô¶¯db
                                        
¶þ¡¢Í£Ö¹
1.#su - oracle              Çл»µ½oracleÓû§ÇÒÇл»µ½ËüµÄ»·¾³
2.$lsnrctl stop    &nbs ......

Oracle 10g RAC On Linux Using NFS

http://inthirties.com:90/thread-918-3-1.html
This article describes the installation of
Oracle 10g release 2 (10.2.0.1) RAC on Linux (Oracle Enterprise Linux
4.5) using NFS to provide the shared storage.
Introduction
Download Software
Operating System Installation
Oracle Installation Prerequisites
Create Shared Disks
Install the Clusterware Software
Install the Database Software
Create a Database using the DBCA
TNS Configuration
Check the Status of the RAC
Direct and Asynchronous I/O
IntroductionNFS is an abbreviation of Network File System, a
platform independent technology created by Sun Microsystems that allows
shared access to files stored on computers via an interface called the
Virtual File System (VFS) that runs on top of TCP/IP. Computers that
share files are considered NFS servers, while those that access shared
files are considered NFS clients. An individual computer can be either
an NFS server, a NFS client or both.
We can use NFS to provide sha ......

Oracle 10g RAC On Linux Using NFS

http://inthirties.com:90/thread-918-3-1.html
This article describes the installation of
Oracle 10g release 2 (10.2.0.1) RAC on Linux (Oracle Enterprise Linux
4.5) using NFS to provide the shared storage.
Introduction
Download Software
Operating System Installation
Oracle Installation Prerequisites
Create Shared Disks
Install the Clusterware Software
Install the Database Software
Create a Database using the DBCA
TNS Configuration
Check the Status of the RAC
Direct and Asynchronous I/O
IntroductionNFS is an abbreviation of Network File System, a
platform independent technology created by Sun Microsystems that allows
shared access to files stored on computers via an interface called the
Virtual File System (VFS) that runs on top of TCP/IP. Computers that
share files are considered NFS servers, while those that access shared
files are considered NFS clients. An individual computer can be either
an NFS server, a NFS client or both.
We can use NFS to provide sha ......

ÈçºÎÓÃSQLÓïÑÔÑ¡Ôñ±íÖеĵڶþÌõµÚÈýÌõµÚNÌõ¼Ç¼

ÈçºÎÓÃSQLÓïÑÔÑ¡Ôñ±íÖеĵڶþÌõµÚÈýÌõµÚNÌõ¼Ç¼
--IDΪΨһÐÔ¾ÍÐÐÁË
select top 1 * from table
where ID not in(select top 1 ID from table)--µÚ2Ìõ
select top 1 * from table
where ID not in(select top 2 ID from table)--µÚ3Ìõ
......
×ܼǼÊý:40319; ×ÜÒ³Êý:6720; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [1925] [1926] [1927] [1928] 1929 [1930] [1931] [1932] [1933] [1934]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ