Ó²ÅÌÊý¾Ý»Ö¸´µ¼º½
RAIDÊý¾Ý»Ö¸´µ¼º½
 | ÍøÕ¾Ê×Ò³ | Êý¾Ý»Ö¸´×ÊÁÏ | Êý¾Ý»Ö¸´Èí¼þ | ×ÉѯÁôÑÔ | Êý¾Ý»Ö¸´²©¿Í | Êý¾Ý»Ö¸´ÂÛ̳ | 
Êý¾Ý»Ö¸´Èí¼þÏÂÔØ
¹«Ë¾¼ò½é Êý¾Ý»Ö¸´³É¹¦°¸Àý Êý¾Ý»Ö¸´±¨¼Û Êý¾Ý»Ö¸´Åàѵ Êý¾Ý»Ö¸´¼¼ÊõÎÄÕ Êý¾Ý»Ö¸´¿Í·þÖÐÐÄ Êý¾Ý»Ö¸´·þÎñÁªÏµ·½Ê½
ÄúÏÖÔÚµÄλÖ㺠±±ÑÇÊý¾Ý»Ö¸´¼¼ÊõÕ¾ >> Êý¾Ý»Ö¸´×ÊÁÏ >> UNIX¼°LINUXÎÄÀ¸ >> ÎÄÕÂÕýÎÄ
[×éͼ]FreeBSD Èí¼þ°²×°            ¡¾×ÖÌ壺С ´ó¡¿
FreeBSD Èí¼þ°²×°
×÷ÕߣºÎ´Öª    ÎÄÕÂÀ´Ô´£ºÍøÂç    µã»÷Êý£º    ¸üÐÂʱ¼ä£º2009-6-23

 Ç°ÑÔ
ÎÒÃÇϵͳ°²×°Íê³Éºó£¬Ö»ÓÐÉÙÊýµÄ·þÎñÕýÔÚÖ´ÐУ¬ µ±È»ÁË£¬ÔÚ FreeBSD ֮ϣ¬¿ÉÓõÄÈí¼þÖڶࡣ Ö»ÅÂÄú²»»áÓà ..  

1. ³£ÓõÄÈí¼þ°²×°·½Ê½
1. make : ÐèÒª×ÔÐÐץȡ source/tar ball £¬²¢×ÔÐнâѹËõ¹ýºó£¬ ÒÀÕÕÐèÇó½øÐÐ×éÒë (configure) ºÍ±àÒë (make) ¼°°²×° (make install) ¡£ ´Ë·½Ê½£¬×îΪ¸´ÔÓ£¬µ«×îÓе¯ÐÔ¡£

2. ²ÉÓà package ·½Ê½°²×° : Óà package °²×°£¬Ö»Òª×¥È¡¸Ã³ÌÐò package µµ°¸£¬¼òµ¥µÄ͸¹ý --> °²×° pkg_add package_name --> ÒƳý pkg_delete package_name ¾Í¿ÉÒÔÍê³É°²×° / ÒƳý¡£
×¢Òâ £ºÎļþÃû³Æ .tgz ½áβµÄÊÇ package ÎļþÃû³Æ .tar.gz ½áβµÄÊÇ source ×¢ : Ä¿Ç°ÒѾ­°²×°µÄ package Êý¾Ý¿â·ÅÔÚ /var/db/pkg/ Õâ¸öÊý¾Ý¼ÐÖ®ÖС£

3. ²ÉÓà port tree ·½Ê½°²×° : ×îºóÒ»¸ö°²×°·½Ê½£¬Ò²ÊÇ×îÇ¿´óºÃÓÃÇÒ³£Óõķ½Ê½ -- port ¡£ »¹¼ÇµÃͼ½â°²×°µÚ 7 ²½ÖèµÄ ported software package Âð ..? Ëü¾ÍÊÇ port ¡£ ͸¹ý port Äã¿ÉÒÔÇáÒ׵ݲװ½ü 6300 ¸ö³ÌÐò¡£ ËùÐèÒªµÄÖ»ÊÇÔÚ³ÌÐòµÄËùÊôÊý¾Ý¼ÐÖУ¬ÊäÈë¼òµ¥µÄ¶þ¸öÖ¸Áî¡£  

2.port °²×°·½Ê½ port µÄÕû¸öÊý¾Ý¼ÐλÓÚ /usr/ports/ £¬ port ÒÀÕÕ²»Í¬ÐèÇóÁìÓò¶ø½øÐзÖÀ࣬ ½øÈëÏëÒªµÄÁìÓòÊý¾Ý¼Ðºó£¬»áÏÔʾ³ö¸ÃÁìÓòÄ¿Ç°ÏÖÓÐµÄ ported software package ×ÊÁϼС£ Ñ¡ÔñÏëÒª²ÉÓõijÌÐò ( Ä£¿é ) ºó£¬ ÊäÈë make install £¨°²×°£©¼° make clean £¨Çå³ý°²×°ºó¶àÓàÊý¾Ý£© °²×°Ö®Ç°µÄ×¼±¸¹¤×÷ : ÐÞ¸Ä make Ô¤ÉèµÄµµ°¸×¥È¡Î»Öà ÒòΪÎÒÃÇÓõÄÊÇ make ¡£Ï뵱ȻӦ¸ÃÒª¶ÔËûµÄÉ趨µµ£¨ /etc/defaults/make.conf £©ÉÔ×öÐÞÕý¡£
Ϊ½«×ÔÐÐÐÞ¸ÄÓëϵͳԤÉè¼ÓÒÔÇø¸ô£¬ÎÒÃÇÔÚ /etc/make.conf ½«ÒÔÏÂÐÞÕý¼ÓÉÏ¡£ ( ½Ïа汾Ðè×ÔÐн¨Á¢µµ°¸ ) MASTER_SITE_BACKUP?= \ # ftp://freebsd.csie.nctu.edu.tw/pub/distfiles/${DIST_SUBDIR}/
# ftp://ftp2.tw.freebsd.org/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP} ÏÂÔØmake.conf   µÚ¶þÐÐµÄ # £¬²»¿ÉÓëµÚÈýÐÐµÄ # ¹²´æ£¬Ö»ÄÜÆäÖÐÒ»ÐÐΪ # ¡£
Ò²¾ÍÊÇ˵£¬ÎÒÃǽ«µÚ¶þÐеÄվ̨ÊÓΪÖ÷ÒªÈí¼þץȡվ̨£¬µÚÈýÐеÄվ̨ÊÓΪ±¸ÓÃվ̨¡£ Åú×¢ : ÓÉÓÚ CSIE ³£³£±ä¸üµØÖ· , ËùÒÔ±ØÐë×ÔÐÐÉÏÍø²é¿´×îеĵØÖ· , Ä¿Ç° (2003/04/09) µÄλÖÃÊÇ : ftp://freebsd.csie.nctu.edu.tw/pub/ports/distfiles/${DIST_SUBDIR}/

3. port °²×°Èí¼þ²Ù×÷ ¶ÔÓÚ port °²×°À´Ëµ£¬×îÖØÒªµÄ¾ÍÊÇÖªµÀÄǸö³ÌÐòÔÚÄÄÀï¡£ ÕâûÓÐʲô¾÷ÇÏ£¬ÊìϤ + ÄÍÐÄ + ËÑÑ°¡£ ÒÔ°²×°ÈÕºó¶ÔÎÒÃÇÓÃ;ºÜ´óµÄ shell - bash ΪÀý˵Ã÷ Çл»µ½ÕýÈ·µÄĿ¼¡££¨ /usr/ports/shell/bash2 £© È»ºóÊäÈë make install ½øÐа²×°
 

°²×°Íêºó£¬ make clean ½«°²×°¹ý³ÌÖвúÉú²»±ØÒªµÄµµ°¸ÒƳý¡£

²âÊÔ bash : ÇëÊäÈë bash £¬¿´ÊÇ·ñÌáʾ·ûºÅÓбä¸ü£¬³öÏÖÀàËÆ bash-2.05b ¾Í³É¹¦ÁË¡£

 

ÎÄÕ¼È룺a    ÔðÈα༭£ºa 
  • ÉÏһƪÎÄÕ£º

  • ÏÂһƪÎÄÕ£º
  • ¡¾·¢±íÆÀÂÛ¡¿¡¾¼ÓÈëÊղء¿¡¾¸æËߺÃÓÑ¡¿¡¾´òÓ¡´ËÎÄ¡¿¡¾¹Ø±Õ´°¿Ú¡¿
    ÍøÓÑÆÀÂÛ£º£¨Ö»ÏÔʾ×îÐÂ10Ìõ¡£ÆÀÂÛÄÚÈÝÖ»´ú±íÍøÓѹ۵㣬Óë±¾Õ¾Á¢³¡Î޹أ¡£©
    ¹ØÓÚÎÒÃÇ | RAIDÊý¾Ý»Ö¸´ | ÓÑÇéÁ´½Ó | RSSÉú³É | XMLÉú³É | ÎÄÕÂHTMLµØͼ | ÏÂÔØHTMLµØͼ

    °æȨËùÓÐ ±±ÑÇÊý¾Ý»Ö¸´ÖÐÐÄ
    È«¹úͳһ¿Í·þµç»°:4006-505-808
    ±±¾©Êк£µíÇøÓÀ·á»ùµØ·á»ÛÖз7ºÅвÄÁÏ´´Òµ´óÏÃB×ù205ÊÒ
    ¾©ICP±¸05011939
    /C/=¡