linux»ù´¡ÃüÁî˵Ã÷£ºchown¸Ä±äÎļþËùÓÐÕß
¾ßÌåΪ£ºsudo chown cjfh /CJFH1 ½«/CJFH1µÄÊôÖ÷¸ü¸ÄΪ“cjfh”£¨ÎÒµÄÓû§Ãû£©
ÓÚÊǾͿÉÒÔ¶Ô/CJFH1ÀïµÄÎļþ½øÐвÙ×÷ÁË¡£
Íê³ÉÖ®ºó£¬¾õµÃ×Ô¼º¶ÔÃüÁîµÄÊìϤ³Ì¶È²»¸ß£¬Ðè½øÒ»²½Ñ§Ï°£»
˳±ã½«chownѧÁËһϣº
chown ÃüÁî
ÓÃ; ¸ü¸ÄÓëÎļþ¹ØÁªµÄËùÓÐÕß»ò×é¡£
Óï·¨
chown [ -f ] [ -h ] [ -R ] Owner [ :Group ] { File ... | Directory ... }
chown -R [ -f ] [ -H | -L | -P ] Owner [ :Group ] { File ... | Directory ... }
ÃèÊö
chown
ÃüÁ File ²ÎÊýÖ¸¶¨µÄÎļþµÄËùÓÐÕ߸ü¸ÄΪ Owner ²ÎÊýÖ¸¶¨µÄÓû§¡£Owner ²ÎÊýµÄÖµ¿ÉÒÔÊÇ¿ÉÔÚ /etc/passwd
ÎļþÖÐÕÒµ½µÄÓû§±êʶ»òµÇ¼Ãû¡£»¹¿ÉÒÔÑ¡ÔñÐÔµØÖ¸¶¨×é¡£Group ²ÎÊýµÄÖµ¿ÉÒÔÊÇ¿ÉÔÚ /etc/group ÎļþÖÐÕÒµ½µÄ×é±êʶ»ò×éÃû¡£
Ö»ÓÐ root Óû§¿ÉÒÔ¸ü¸ÄÎļþµÄËùÓÐÕß¡£Ö»ÔÚÄúÊÇ root Óû§»òÓµÓиÃÎļþµÄÇé¿öϲſÉÒÔ¸ü¸ÄÎļþµÄ×é¡£Èç¹ûÓµÓÐÎļþµ«²»ÊÇ root Óû§£¬ÔòÖ»¿ÉÒÔ½«×é¸ü¸ÄΪÄúÊÇÆä³ÉÔ±µÄ×é¡£
ËäÈ» -H¡¢-L ºÍ -P ±êÖ¾ÊÇ»¥³âµÄ£¬Ö¸¶¨²»Ö¹Ò»¸öÒ²²»ÈÏΪÊÇ´íÎó¡£Ö¸¶¨µÄ×îºóÒ»¸ö±ê־ȷ¶¨ÃüÁîÄâ¸å½«ÑÝʾµÄ²Ù×÷¡£
±êÖ¾
-f ½ûÖ¹³ýÓ÷¨ÏûÏ¢Ö®ÍâµÄËùÓдíÎóÏûÏ¢¡£
-h ¸ü¸ÄÓöµ½µÄ·ûºÅÁ´½ÓµÄËùÓÐȨ£¬¶ø·Ç·ûºÅÁ´½ÓÖ¸ÏòµÄÎļþ»òĿ¼µÄËùÓÐȨ¡£
µ±Óöµ½·ûºÅÁ´½Ó¶øÄúδָ¶¨ -h ±ê־ʱ£¬chown ÃüÁî¸ü¸ÄÁ´½ÓÖ¸ÏòµÄÎļþ»òĿ¼µÄËùÓÐȨ£¬¶ø·ÇÁ´½Ó±¾ÉíµÄËùÓÐȨ¡£
Èç¹ûÖ¸¶¨ -R ±êÖ¾£¬chown ÃüÁîµÝ¹éµØ½µÐòÖ¸¶¨µÄĿ¼¡£
-H Èç¹ûÖ¸¶¨ÁË -R Ñ¡Ï²¢ÇÒÒýÓÃÀàÐÍĿ¼µÄÎļþµÄ·ûºÅÁ´½ÓÔÚÃüÁîÐÐÉÏÖ¸¶¨£¬chown ±äÁ¿»á¸ü¸ÄÓÉ·ûºÅÒýÓõÄĿ¼µÄÓû§±êʶ£¨ºÍ×é±êʶ£¬Èç¹ûÒÑÖ¸¶¨£©ºÍËùÓÐÔÚ¸ÃĿ¼ÏµÄÎļþ²ã´Î½á¹¹ÖеÄËùÓÐÎļþ¡£
-L Èç¹ûÖ¸¶¨ÁË -R Ñ¡Ï²¢ÇÒÒýÓÃÀàÐÍĿ¼µÄÎļþµÄ·ûºÅÔÚÃüÁîÐÐÉÏÖ¸¶¨»òÔÚ±éÀúÎļþ²ã´Î½á¹¹ÆÚ¼äÓöµ½£¬chown ÃüÁî»á¸ü¸ÄÓÉ·ûºÅÁ´½ÓÒýÓõÄĿ¼µÄÓû§±êʶ£¨ºÍ×é±êʶ£¬Èç¹ûÒÑÖ¸¶¨£©ºÍÔÚ¸ÃĿ¼֮ϵÄÎļþ²ã´Î½á¹¹ÖеÄËùÓÐÎļþ¡£
-P Èç¹ûÖ¸¶¨ÁË -R Ñ¡Ïî²¢ÇÒ·ûºÅÁ´½ÓÔÚÃüÁîÐÐÉÏÖ¸¶¨»òÕßÔÚ±éÀúÎļþ²ã´Î½á¹¹ÆÚ¼äÓöµ½£¬ÔòÈç¹ûϵͳ֧³Ö¸Ã²Ù×÷£¬Ôò chown ÃüÁî»á¸ü¸Ä·ûºÅÁ´½ÓµÄËùÓÐÕß±êʶ£¨ºÍ×é±êʶ£¬Èç¹ûÒÑÖ¸¶¨£©¡£chown ÃüÁî²»»áÖ´ÐÐÖÁÎļþ²ã´Î½á¹¹µÄÈκÎÆäËü²¿·ÖµÄ·ûºÅÁ´½Ó¡£
-R
µÝ¹éµØ½µÐòĿ¼£¬¸ü¸Äÿ¸öÎļþµÄËùÓÐȨ¡£µ±Óöµ½·ûºÅÁ
Ïà¹ØÎĵµ£º
ÔÚLinuxÉÏ°²×°oracleµÄʱºò²»Ð¡ÐÄ°²×°ÁËÁ½´Îlistener, ¸ãµÃlistenerµÄ¶Ë¿ÚºÅ±ä³ÉÁË1522¶ø²»ÊÇȱʡµÄ1521, ¿Í»§¶ËÁ¬Á˺þö¼Ã»ÓÐÁ¬½ÓÉÏ£¬×îºó²Å·¢ÏÖÊÇlistenerµÄ¶Ë¿ÚºÅ²»¶Ô¡£Ò»ÏÂÊÇÎҸıälistener¶Ë¿ÚºÅµÄ²½Ö裺
1. Ê×ÏÈÐèҪֹͣlistener, ʹÓÃÃüÁîlsnrctl stop
2. listenerÍ£Ö¹ÒԺ󣬵½ÄãµÄ$ORACLE_HOME/network/adminÏÂÕ ......
ÔÚ±¾ÏµÁÐÐòÖÐ×÷Õ߸ÅÊöÁË linux ½ø³Ì¼äͨÐŵļ¸ÖÖÖ÷ÒªÊֶΡ£ÆäÖйܵÀºÍÓÐÃû¹ÜµÀÊÇ×îÔçµÄ½ø³Ì¼äͨÐÅ»úÖÆÖ®Ò»£¬¹ÜµÀ¿ÉÓÃÓÚ¾ßÓÐÇ×Ôµ¹Øϵ½ø³Ì¼äµÄͨÐÅ£¬ÓÐÃû¹ÜµÀ¿Ë·þÁ˹ܵÀûÓÐÃû×ÖµÄÏÞÖÆ£¬Òò´Ë£¬³ý¾ßÓйܵÀËù¾ßÓеŦÄÜÍ⣬Ëü»¹ÔÊÐíÎÞÇ×Ôµ¹Øϵ½ø³Ì¼äµÄͨÐÅ¡£ ÈÏÇå¹ÜµÀºÍÓÐÃû¹ÜµÀµÄ¶Áд¹ ......
ORACLE 10GÔÚLINUXµÄ°²×°:
ÏÈÉÏÀ´Á½ÕÅͼ:
DBAÊÇŬÁ¦µÄ·½Ïò,ORACLE DBA°üÂÞÍòÏó,Á¬LINUX/UNIX¶¼¸ã²»¶¨,»¹ÅªP¸öORACLE°¡.
Á½²¿·Ö:
1.RED HAT ENTERPRISE LINUX 5µÄ°²×°
Äѵã(¶ÔÓÚÏÖÔÚµÄÎÒÀ´Ëµ):1.1YUM±¾µØÔ´µÄÅäÖÃ;ÍøÂçÓÐÏà¹Ø×ÊÁÏ,²»¶à˵ÁË.ÓÉÓÚÊDZ¾»úʹÓÃ,²Î¿¼ÁËFTPÔ´ºó,ÎÒʹÓÃÁËFILEÔ´;
&nb ......
·ÒëÕߣº¹ùÉÙ±¯
2009/12/01
ÔÎÄ£ºlinux/Documentation/driver-model/binding.txt
Çý¶¯°ó¶¨
Çý¶¯°ó¶¨¾ÍÊǽ«Ò»¸öÉ豸ºÍ¿ØÖƸÃÉ豸µÄÇý¶¯¹ØÁªÔÚÒ»ÇеĹý³Ì¡£
µäÐ͵ÄÇé¿öÏ£¬×ÜÏßÇý¶¯À´´¦ÀíÇý¶¯°ó¶¨£¬ÒòΪÿ¸ö×ÜÏßÇý¶¯¶¼ÓÐ×ÜÏßÏà¹ØµÄÊý¾Ý
½á¹¹À´±íʾÉ豸ºÍÉ豸Çý¶¯¡£ÓÐÁ˱íʾÉ豸ºÍÉ豸Çý¶¯µÄͨÓÃÊý¾Ý½á¹¹£¬¾ø´ó¶àÊýµÄ°ó ......