ÔÚlinux×Ö·ûģʽÏÂʹÓÃproxy
export http_proxy=http://username:password@server:80
Õâ¸öÖ»ÄÜÔÚµ±Ç°´°¿ÚÏÂʹÓ㬹رմ°¿ÚÃüÁî×Ô¶¯Ê§Ð§¡£
WgetÏÂÔØÊÇÓÃproxy£º
ÔÚµ±Ç°Óû§Ä¿Â¼Ï½¨Á¢Ò»¸ö.wgetrcÎļþ£¬ÄÚÈÝ£º
http-proxy = 111.111.111.111:8080
ftp-proxy = 111.111.111.111:8080
·Ö±ð±íʾhttpµÄ´úÀí·þÎñÆ÷ºÍftpµÄ´úÀí·þÎñÆ÷¡£Èç¹û´úÀí·þÎñÆ÷ÐèÒªÃÜÂëÔòʹÓãº
--proxy-user=USERÉèÖôúÀíÓû§
--proxy-passwd=PASSÉèÖôúÀíÃÜÂë
ÕâÁ½¸ö²ÎÊý¡£
ʹÓòÎÊý--proxy=on/off ʹÓûòÕ߹رմúÀí¡£
wget»¹ÓкܶàÓÐÓõŦÄÜ£¬ÐèÒªÓû§È¥ÍÚ¾ò¡£
Ïà¹ØÎĵµ£º
1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......
ÕâƪÎĵµÊµÓÃÐÔºÜÇ¿£¬Ëü²»Êǽ²Ä³¸öÃüÁîµÄ²ÎÊý¾ßÌ庬Ò壬¶øÊÇ´Óʵ¼Ê
¹¤×÷µÄ½Ç¶ÈÀ´¿¼ÂÇ£¬Íê³Éʲô¹¤×÷ÐèҪʲôָÁî¡£
ÏÂÃæÊÇÎÒÃǾ³£Òª×öµÄһЩÊÂÇé¡£ÔÚÏÂÃæ¾ßÌå²ÎÊýÒâÒå²»½âÊÍ£¬ÒªÁ˽âÕâЩ
¿ÉÒÔ²éѯ¸ÃÃüÁî°ïÖúÎĵµ
1. ´´½¨Ä¿Â¼
mkdir
NO1. ÔÚµ±Ç°Â·¾¶´´½¨Ò»¼¶Ä¿Â¼
[root@rehat root]# mkdir test
NO2. ÔÚµ±Ç°Â ......
1.Ç°ÑÔ£ºÈý¸öÎÊÌâ
1.1ʲôÊDzÙ×÷ϵͳ£¬²Ù×÷ϵͳµÄ×÷Ó㬲Ù×÷ϵͳµÄ½Ó¿Ú£¿
²Ù×÷ϵͳÊǹÜÀí¼ÆËã»ú×ÊÔ´µÄÖ÷³ÌÐò£¬ÊÇϵͳÈí¼þµÄºËÐÄ¡£
Ëü¿ØÖƳÌÐòµÄÖ´ÐкÍÌṩ×ÊÔ´·ÖÅä¡¢µ÷¶È¡¢ÊäÈë/Êä³ö¿ØÖƺÍÊý¾Ý¹ÜÀíµÈ·þÎñ¡£
²Ù×÷ϵͳÌṩÈýÖÖÀàÐ͵ĽӿڣºÃüÁî½Ó¿Ú¡¢³ÌÐò½Ó¿Ú¡¢Í¼Ðνӿڡ£
1.2ϵͳ×é³É£º
ÓÉËĸö²¿·Ö×é³É£º Äںˡ¢Îļþϵ ......
½ñÌìÔÚVMÖа²×°REDHat9Ö®ºó£¬ÔÚÖÕ¶ËÖÐÖ´ÐÐifconfigÖ¸Áî·¢ÏÖ²»ÄÜ»ñÈ¡²»µ½IP£¬Ö´ÐÐsetupÃüÁÐÞ¸ÄIP»ñÈ¡·½Ê½Îª¶¯Ì¬»ñÈ¡ºó»¹ÊÇ»ñÈ¡²»µ½£¬Ö´ÐÐsetup eth0 ÏÔʾ“ÎÞÁ¬½Ó¡£¡£¡£”ÉÏÍø²éÕÒÔÒòºÜ¶àÈ˶¼ËµÊÇÇý¶¯Ã»°²×°¡¢Íø¿¨Ã»°²×°µÈ£¬×îºó·¢ÏÖ¶¼Êdz¶µ¡£ÕæÕýµÄÔÒòÊÇδ°²×°VMware Tools¡£°²×°VMtools·½Ê½
1 µã» ......
http://linux.duke.edu/yum/ ÏÂÔØyum°²×°Îļþ
http://mirror-status.centos.org ÍøÕ¾²éÕÒÀë×Ô¼º×î½üµÄ¾µÏñÕ¾µã£¬Ìæ»»ÏÂÃæÎļþÖеÄÏàÓ¦µØÖ·
Èí¼þ°²×°·Ç³£¼òµ¥£ºrpm –ivh yum*.rpm
È»ºóÐÞ¸Ä/etc/yum.repos.d/rhel-debuginfo.repo
[base]
name=Red Hat Enterprise Linux $releasever -Base
baseurl=http:/ ......