Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

LinuxÏÂscpµÄÓ÷¨


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.Èç¹ûÔ¶³Ì·þÎñÆ÷·À»ðǽÓÐÌØÊâÏÞÖÆ£¬scp±ãÒª×ßÌ


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

Linux ÐÞ¸ÄIP¡¢DNSºÍ·ÓÉÅäÖÃ

ÔÚLinux²Ù×÷ϵͳÏÂÐÞ¸ÄIP¡¢DNSºÍ·ÓÉÅäÖà
¡¡¡¡ifconfig eth0 ÐÂip
¡¡¡¡È»ºó±à¼­/etc/sysconfig/network-scripts/ifcfg-eth0£¬ÐÞ¸Äip
¡¡¡¡Ò»¡¢ÐÞ¸ÄIPµØÖ·
¡¡¡¡[aeolus@db1 network-scripts]$ vi ifcfg-eth0
¡¡¡¡DEVICE=eth0
¡¡¡¡ONBOOT=yes
¡¡¡¡BOOTPROTO=static
¡¡¡¡IPADDR=219.136.241.211
¡¡¡¡NETMASK=255 ......

ͨ¹ýxmanagerÔ¶³ÌÁ¬½Óredhat linux as 5

rhel5Óërhel4²»Í¬µÄµØ·½ÊÇ£¬rhel5ÀïûÓÐ/etc/X11/gdm/Õâ¸öĿ¼£¬rhel5µÄgdmµÄÅäÖÃÎļþ·ÅÔÚÕâÀï/usr/share/gdm/defaults.conf¡£
ÐèÒªÐ޸ĵĵط½ÈçÏ£º
ÐÞ¸Ä/usr/share/gdm/defaults.confÎļþ£¬È·±£ÀïÃæÓÐÒÔϼ¸ÐУº
Enable=true
DisplaysPerHost=10
Port=177
ÔÙÐÞ¸Ä/etc/inittabÎļþ£¬°ÑĬÈϼ¶±ð¸ÄΪ5,ÔÙ¼ÓÈëÒÔÏÂÐ ......

Linux²Ù×÷ϵͳµÄÍ·ÎļþºÍ¿âÎļþËÑË÷·¾¶

Ò»¡¢ Í·Îļþ 1 ¡°¡±ÖеÄÍ·Îļþ£¬ÔÚÔ´Îļþµ±Ç°Ä¿Â¼²éÕÒ 2 -I ÖÐÖ¸¶¨Ä¿Â¼ 3 gccµÄ»·¾³±äÁ¿ C_INCLUDE_PATH, CPLUS_INCLUDE_PATH, OBJC_INCLUDE_PATH 4 ±àÒëÆ÷Ô¤Éè·¾¶¡¢ÄÚ¶¨Ä¿Â¼£º /usr/include /usr/local/include /usr/lib/gcc-lib/i386-linux/2.95.2/include /usr/lib/gcc-lib/i386-linux/2.95.2/../../../.. ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ