LinuxÏÂscpµÄÓ÷¨
LinuxÏÂscpµÄÓ÷¨
http://blog.csdn.net/Channels_net/archive/2009/09/02/4510286.aspx
scp¾ÍÊÇsecure copy£¬Ò»¸öÔÚlinuxÏÂÓÃÀ´½øÐÐÔ¶³Ì¿½±´ÎļþµÄÃüÁî¡£
ÓÐʱÎÒÃÇÐèÒª»ñµÃÔ¶³Ì·þÎñÆ÷ÉϵÄij¸öÎļþ£¬¸Ã·þÎñÆ÷¼ÈûÓÐÅäÖÃftp·þÎñÆ÷£¬Ò²Ã»ÓÐ×ö¹²Ïí£¬ÎÞ·¨Í¨¹ý³£¹æ;¾¶»ñµÃÎļþʱ£¬Ö»ÐèҪͨ¹ý¼òµ¥µÄscpÃüÁî±ã¿É´ïµ½Ä¿µÄ¡£
Ò»¡¢½«±¾»úÎļþ¸´ÖƵ½Ô¶³Ì·þÎñÆ÷ÉÏ
#scp /home/administrator/news.txt root@192.168.6.129:/etc/squid
/home/administrator/ ±¾µØÎļþµÄ¾ø¶Ô·¾¶
news.txt Òª¸´ÖƵ½·þÎñÆ÷Éϵı¾µØÎļþ
root ͨ¹ýrootÓû§µÇ¼µ½Ô¶³Ì·þÎñÆ÷£¨Ò²¿ÉÒÔʹÓÃÆäËûÓµÓÐͬµÈȨÏÞµÄÓû§£©
192.168.6.129 Ô¶³Ì·þÎñÆ÷µÄipµØÖ·£¨Ò²¿ÉÒÔʹÓÃÓòÃû»ò»úÆ÷Ãû£©
/etc/squid ½«±¾µØÎļþ¸´ÖƵ½Î»ÓÚÔ¶³Ì·þÎñÆ÷ÉϵÄ·¾¶
Èçͼͨ¹ýrootÓû§µÇ¼Զ³Ì·þÎñÆ÷£¬ÊäÈëyes±íʾͬÒ⽨Á¢sshÁ¬½Ó
°´ÌáʾÊäÈërootÓû§µÄÃÜÂë
ÈçͼËùʾ½¨Á¢Á¬½Óºó¿ªÊ¼´«ÊäÎļþ£¬ÏÔʾ°Ù·Ö±È¡¢Êµ¼Êʱ¼äºÍ´«ËÍËٶȵÈÐÅÏ¢
¶þ¡¢½«Ô¶³Ì·þÎñÆ÷ÉϵÄÎļþ¸´ÖƵ½±¾»ú
#scp remote@www.abc.com:/usr/local/sin.sh /home/administrator
remote ͨ¹ýremoteÓû§µÇ¼µ½Ô¶³Ì·þÎñÆ÷£¨Ò²¿ÉÒÔʹÓÃÆäËûÓµÓÐͬµÈȨÏÞµÄÓû§£©
www.abc.com Ô¶³Ì·þÎñÆ÷µÄÓòÃû£¨µ±È»Ò²¿ÉÒÔʹÓø÷þÎñÆ÷ipµØÖ·£©
/usr/local/sin.sh Óû¸´ÖƵ½±¾»úµÄλÓÚÔ¶³Ì·þÎñÆ÷ÉϵÄÎļþ
/home/administrator ½«Ô¶³
Ïà¹ØÎĵµ£º
1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......
»¨Á˼¸ÌìµÄʱ¼ä£¬ÖÕÓÚ°Ñϵͳ´Ó½ü200 MB²Ãµ½Ð¡ÓÚ16 MB£¬ ËäÈ»ÏÖÔÚ¿´À´¹ý³Ì·Ç³£¼òµ¥£¬¶ÔÓÚ×î³õµÄÄǵã¿Ö¾å¾õµÃÓеã¿ÉЦ¡£ÔÚÕâÀï°ÑÖ÷ÒªÐĵÃдһÏ£¬×ܽáÒ»ÏÂÐĵ㬠ϣÍû¿ÉÒÔ¸øÏà¹ØÈËÔ±Ò»µã²Î¿¼¡£
Ö÷Òª²½ÖèÈçÏ£º
1. ³ä·ÖÁ˽âϵͳ
ÕâÓеãÏñ·Ï»°£¬µ«ÊÇȷʵºÜ ......
ÏîÄ¿»ù±¾½áÊø£¬Õâ¸öÊÇÆäÖÐϵͳ²Ã¼õµÄÒ»¸ö×ܽáÎĵµ£¬²»ÖªµÀÓÐûÓÐÈ˸ÐÐËȤ£º)
=============================================
Ç°ÑÔ:
ΪÁËÍê³ÉÓû§µÄÐèÇó£¬ÐèÖÆ×÷Ò»¸öÍêÕûµÄ»·¾³¹©APÔËÐУ¬ÇÒ´æÔÚһЩԼÊøÌõ¼þ¡£
¹Ø¼ü×Ö£º
DOM Kernel Busybox X-Window Window-Manager Interbase nvidia cutdown
Ä¿±ê˵Ã÷£º
ÔÚÒ» ......
×¼±¸¹¤×÷
Èç¹ûÏë²ÉÓñ¾ÎĽéÉܵķ½·¨¶ÔLinuxϵͳ½øÐÐÉèÖã¬Ê×ÏÈÒªÊìϤLinuxϵͳµÄÉèÖÃÓïÑÔ¡£¶ÔϵͳµÄÆô¶¯¹ý³Ì½øÐÐÉèÖÃÊÇÒ»Ïî±È½ÏΣÏÕµÄÐÐΪ£¬ÈÝÒ×Ôì³Éϵͳ ÎÞ·¨Æô¶¯¡£Ò»µ©·¢ÉúÕâÖÖÇé¿ö£¬×îºÃÖØÐÂÆô¶¯ÏµÍ³ºóÑ¡Ôñµ¥Ò»Óû§Ä£Ê½£¬½«ÏµÍ³»¹Ô²¢ÖØÆô¡£µ±È»£¬×îÖØÒªµÄÊÇÔÚÉèÖÃÇ°±¸·ÝÖØÒªÊý¾Ý¡£
Æä´Î£¬½¨ÒéÓû§×îºÃÔÚ¶Ô±¾»úϵͳ½ ......