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

Linux Telnet·þÎñ¿ªÆô

½ñÌ칫˾ÓиöͬÊÂŪÁ˸öRed Hat Enterprise 5×°£¬ÏµÍ³×°ºÃºó£¬·¢ÏÖtelnet²»ÄÜÓã¬sshÊÇ¿ÉÒԵġ£¸ãÁ˺þ㬲Ÿø¸ã¶¨£¬½áºÏÒÔǰժϵĹØÓÚÕâ·½ÃæµÄ×ÊÁÏ£¬²Î¿¼ÈçÏ£º
1¡£¸ÅÊöLinuxÌṩ·þÎñÊÇÓÉÔËÐÐÔÚºǫ́µÄÊØ»¤³ÌÐò£¨daemon£©À´Ö´Ðеġ£
ÊØ»¤½ø³ÌµÄ¹¤×÷¾ÍÊÇ´ò¿ª1¸ö¶Ë¿Ú£¨port£©£¬µÈ´ý£¨listen£©½øÈëµÄÁ¬½Ó¡£ÔÚC/SģʽÖУ¬Èç¹û¿Í»§ÌáÇëÁË1¸öÁ¬½Ó£¬ÊØ»¤½ø³Ì¾Í´´½¨£¨fork£©×Ó½ø³ÌÀ´ÏìÓ¦Õâ¸öÁ¬½Ó£¬¶ø¸¸½ø³Ì¼ÌÐø¼àÌýÆäËû·þÎñµÄÇëÇó¡£
µ« ÊÇ£¬¶ÔÓÚϵͳËùÌṩµÄÿ1¸ö·þÎñ£¬Èç¹û¶¼±ØÐëÔËÐÐ1¸ö¼àÌýij¸ö¶Ë¿ÚÁ¬½Ó·¢ÉúµÄÊØ»¤³ÌÐò£¬ÄÇôͨ³£Òâζ×Åϵͳ×ÊÔ´µÄÀË·Ñ¡£Îª´Ë£¬ÒýÈë“À©Õ¹µÄÍøÂçÊØ»¤½ø³Ì·þ Îñ³ÌÐò”xinetd£¨xinetd internet daemon£©¡£telnet·þÎñÒ²ÊÇÓÉxinetdÊØ»¤µÄ¡£
2¡£¼ì²âtelnet¡¢telnet-serverµÄrpm°üÊÇ·ñ°²×°
OS£ºRedHat9
[root@localhost root]#rpm -qa telnet
telnet-0.17-25 //telnet*.rpmÊÇĬÈÏ°²×°µÄ//
[root@localhost root]#rpm -qa telnet-server
¿Õ
//telnet*.rpmÊÇĬÈÏûÓа²×°µÄ//
3¡£°²×°telnet-serverµÚ3ÕÅÅÌÉÏÓÐtelnet-server-0.17-25.i386.rpm [root@localhost root]#rpm -ivh telnet-server*.i386.rpm  --Õâ¸öÈí¼þ°üÒÀÀµÓÚxinetÕâ¸ö°ü¡£
4¡£ÐÞ¸Ätelnet·þÎñÅäÖÃÎļþvi /etc/xinetd.d/telnet
service telnet
{
disable = yes
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}
½«disable=yesÐÐÇ°¼Ó#£¬»òÕ߸ÄΪdisable=no
PS£º
°²×°telnet-serverºó£¬ÏµÍ³²ÅÓÐÎļþ/usr/sbin/in.telnetd
5¡£ÖØÐÂÆô¶¯xinetdÊØ»¤½ø³ÌÓÉÓÚtelnet·þÎñÒ²ÊÇÓÉxinetdÊØ»¤µÄ£¬ËùÒÔ°²×°Íêtelnet-server£¬ÒªÆô¶¯telnet·þÎñ¾Í±ØÐëÖØÐÂÆô¶¯xinetd
[root@localhost root]#service xinetd restart
»ò
[root@localhost root]#/etc/init.d/xinetd restart
6¡£¹Ø±ÕϵͳµÄ·À»ðǽ£¬Èç¹û²»ÄÜÐ޸ģ¬ÔòÏÈÐÞ¸ÄÏÂÓû§ÈÏÖ¤·½Ê½ÔÙÊÔÊÔ(setup ->  Authentication configuration) LinuxϵͳĬÈϵķÀ»ðǽÊÇ“high”
ÃüÁîÐнçÃæCLI£º
[root@localhost root]# setup
Ñ¡Ôñ£º“firewall configuration”
Ñ¡Ôñ£ºsecurity level——“no firewall”
7¡£ÉèÖÃrootÓû§¿ÉÒÔtelnetÖ÷»ú(Éú²ú»·¾³Ï²»½¨ÒéÕâÑù) # vi /etc/securetty  Ìí¼Ópts/0£¬Òª¿ØÖÆrootͬʱtelnetÊýÁ¿£¬¾ÍÌí¼Ó¶àÉÙ¸öpts/x£¬ÆäÖÐxΪ0-255-...µÄÊý×Ö¡


Ïà¹ØÎĵµ£º

linuxÄÚºËÏà¹Ø»ù´¡

Ò»¡¢ÈÎÎñ¹ÜÀí
linuxÄں˵Ä3ÖÖµ÷¶È·½·¨¼ò½éÈçÏ£º
@SCHED_OTHER  ·Öʱµ÷¶È²ßÂÔ£¬½ø³ÌµÄȱʡÀàÐÍ£¬²ÉÓö¯Ì¬ÓÅÏȵ÷¶È²ßÂÔ£¬Ñ¡Ôñ½ø³ÌµÄÒÀ¾ÝÖ÷ÒªÊǸù¾Ý½ø³ÌgoognessÖµµÄ´óС£¬ÕâÖÖ½ø³ÌÔÚÔËÐÐʱ£¬¿ÉÒÔ±»¸ßgoodnessÖµµÄ½ø³ÌÇÀÏÈ£»
@SCHED_FIFO  ʵʱµ÷¶È²ßÂÔ£¬Ïȵ½ÏÈ·þÎñ£¬×ñÊØPOSIX1.b±ê×¼µÄFIFOµ÷¶È¹æÔò£¬Ëü»áÒ»Ö±Ô ......

Linux»·¾³ÏµÄSocket±à³Ì

Linux»·¾³ÏµÄSocket±à³Ì
ʲôÊÇSocket
¡¡¡¡Socket½Ó¿ÚÊÇTCP/IPÍøÂçµÄAPI£¬Socket½Ó¿Ú¶¨ÒåÁËÐí¶àº¯Êý»òÀý³Ì£¬³ÌÐòÔ±¿ÉÒÔÓÃËüÃÇÀ´¿ª·¢TCP/IPÍøÂçÉϵÄÓ¦ÓóÌÐò¡£ÒªÑ§InternetÉϵÄTCP/IPÍøÂç±à³Ì£¬±ØÐëÀí½âSocket½Ó¿Ú¡£
¡¡¡¡Socket½Ó¿ÚÉè¼ÆÕß×îÏÈÊǽ«½Ó¿Ú·ÅÔÚUnix²Ù×÷ϵͳÀïÃæµÄ¡£Èç¹ûÁ˽âUnixϵͳµÄÊäÈëºÍÊä³öµÄ»°£¬¾Íº ......

ǶÈëʽLinuxÏ´®¿Ú±à³Ì

ǶÈëʽLinuxÏ´®¿Ú±à³Ì
Ò»¡¢ÅäÖÃÄÚºË
ÔÚǶÈëʽLinuxϽøÐд®¿Ú±à³Ì֮ǰ£¬ÏÈÔÚÄÚºËÖÐÅäÖô®¿Ú²¿·Ö£¬ÈçÏ£º
Device Drivers--->
       character devices--->
              Serial drivers--->
  &nb ......

linuxÇý¶¯Ä£¿é


¹¤×÷¶ÓÁУ¨work queue£©ÊÇÁíÍâÒ»ÖÖ½«¹¤×÷ÍƺóÖ´ÐеÄÐÎʽ £¬ËüºÍÎÒÃÇÇ°ÃæÌÖÂÛµÄËùÓÐÆäËûÐÎʽ¶¼Óв»Í¬¡£¹¤×÷¶ÓÁпÉÒ԰ѹ¤×÷Íƺ󣬽»ÓÉÒ»¸öÄÚºËÏß³ÌÈ¥Ö´ÐУ¬Ò²¾ÍÊÇ˵£¬Õâ¸öÏ°벿·Ö¿ÉÒÔÔÚ½ø³ÌÉÏÏÂÎÄÖÐÖ´ÐС£ÕâÑù£¬Í¨¹ý¹¤×÷¶ÓÁÐÖ´ÐеĴúÂëÄÜÕ¼¾¡½ø³ÌÉÏÏÂÎĵÄËùÓÐÓÅÊÆ¡£×îÖØÒªµÄ¾ÍÊǹ¤×÷¶ÓÁÐÔÊÐí±»ÖØе÷¶ÈÉõÖÁÊÇ˯Ãß¡£
ÄÇô£ ......

LinuxÎļþϵͳ·¢Õ¹Ñ¸ËÙ BTRFS±»¿´ºÃ

×î½üÁ½Ä꣬ÎļþϵͳµÃµ½Á˺ܴóµÄ·¢Õ¹¡£
SunÓпªÔ´µÄZFSÒÔ¼°ÊÕ¹ºµÄLustreÎļþϵͳ¡£Quantum¡¢Panasas¡¢ IBM¡¢»ÝÆÕ¡¢NetAppºÍRed HatÒ²¶¼ÔöÇ¿ÁËÎļþϵͳ¿ª·¢Á¦¶È¡£NFS£¨ÍøÂçÎļþϵͳ£©ÕýÔÚ¾­Àú´óµÄ±ä¶¯£¬Ö÷Òª´ú±í¾ÍÊÇpNFS£¨²¢ÐÐÍøÂçÎļþϵͳ£©¡£ºÁ²»Ææ¹ÖµÄÊÇ£¬ËùÓÐÕâЩ¿ª·¢Ðж¯´Ùʹ¿ªÔ´ÉçÇøÍƳöÕë¶ÔLinuxµÄ¸ü¸ßÐÔÄܵÄÎļþÏµÍ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ