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-...µÄÊý×Ö¡
Ïà¹ØÎĵµ£º
1¡¢Linux »ù´¡
°²×°Linux²Ù×÷ϵͳ
LinuxÎļþϵͳ
Linux³£ÓÃÃüÁî
LinuxÆô¶¯¹ý³ÌÏê½â
ÊìϤLinux·þÎñÄܹ»¶ÀÁ¢°²×°Linux²Ù×÷ϵͳ
Äܹ»ÊìÁ·Ê¹ÓÃLinuxϵͳµÄ»ù±¾ÃüÁî
ÈÏʶLinuxϵͳµÄ³£Ó÷þÎñ°²×°Linux²Ù×÷ϵͳ
Linux»ù±¾ÃüÁîʵ¼ù
ÉèÖÃLinux»·¾³±äÁ¿
¶¨ÖÆLinuxµÄ·þÎñ Shell ±à³Ì»ù´¡Ê¹ÓÃvi±à¼Îļþ
ʹÓÃEmac ......
Oracle 10gÖ§³ÖÔÚÃüÁîÐÐÏÂÓþ²Ä¬Ä£Ê½(Silent)°²×°£¬¸øÄÇЩûÓа²×°Í¼ÐνçÃæµÄLinuxϵͳÌṩÁ˼«´óµÄ±ãÀû¡£
ÏÂÃæÒÔFedora Core 6ΪÀý£¬½éÉÜÔÚÃüÁîÐÐÏ°²×°OracleOracle 10gµÄ·½·¨¡£
1 °²×°Ç°µÄ×¼±¸
×¼±¸¹¤×÷ÒªÓõǼΪrootÓû§À´½øÐС£
1.1 Ñ¡Ôñ°²×°»·¾³µÄÓïÑÔ
Oracle°²×°Ê±¿ÉÒÔͨ¹ý»·¾³±äÁ¿LANGÖ¸¶¨°²×°ÓïÑÔ£¬Èç¹ûLinu ......
ÆäʵÎÄÕÂËã²»ÉÏÔ´´£¬ÊÇÅöµ½ÎÊÌâµÄʱºòÉÏÍø¶«ËÑËÑÎ÷ËÑËѵÄÄÚÈÝ£¬ËãÊǽ軨Ï×·ðÁË°É£¬¸ÐлԴ´Õß¡£
1. °²×°ÐéÄâ»ú£¬ÎÒÓõÄÊÇÒ»¸öÂÌ»¯°æ¡£Ð½¨ÐéÄâ»úµÄ¹ý³ÌÈçÏ£º
Õª×Ô£ºhttp://blog.163.com/zongbin521/blog/static/10217990200981094622635/
ÎÒÃÇÒÔ´´½¨LINUXϵͳΪÀý¡£
µÚÒ»²½:Æô¶¯VMware£¬ÔÚÆäÖ÷½çÃæ“Ö÷Ò³” ......
Ò»¡¢¼¯ÈºµÄ»ù±¾¸ÅÄî
ÓÐÒ»ÖÖ³£¼ûµÄ·½·¨¿ÉÒÔ´ó·ùÌá¸ß·þÎñÆ÷µÄ°²È«ÐÔ£¬Õâ¾ÍÊǼ¯Èº¡£
Cluster¼¯Èº¼¼Êõ¿ÉÈç϶¨Òå:Ò»×éÏ໥¶ÀÁ¢µÄ·þÎñÆ÷ÔÚÍøÂçÖбíÏÖΪµ¥Ò»µÄϵͳ£¬²¢ÒÔµ¥Ò»ÏµÍ³µÄģʽ¼ÓÒÔ¹ÜÀí¡£´Ëµ¥Ò»ÏµÍ³Îª¿Í»§¹¤×÷Õ¾Ìṩ¸ß¿É¿¿ÐԵķþÎñ¡£
´ó¶àÊýģʽÏ£¬¼¯ÈºÖÐËùÓеļÆËã»úÓµÓÐÒ»¸ö¹²Í¬µÄÃû³Æ£¬¼¯ÈºÄÚÈÎһϵͳÉÏÔËÐеķþÎñ ......