Ubuntu Linuxϵͳ¿ªÆôTELNET·þÎñµÄ·½·¨
Ubuntu Linuxϵͳ¿ªÆôTELNET·þÎñµÄ·½·¨
¡¡¡¡RSS¶©ÔÄ,µÚһʱ¼ä»ñÈ¡¿ªÔ´×ÊѶ¶¯Ì¬
1. sudo apt-get install xinetd telnetd
2. °²×°³É¹¦ºó£¬ÏµÍ³Ò²»áÓÐÏàÓ¦Ìáʾ£¨ºÃÏó7.10²ÅÓУ¬6.10¾Íû¿´µ½£©
sudo vi /etc/inetd.conf²¢¼ÓÈëÒÔÏÂÒ»ÐÐ
telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd
3. sudo vi /etc/xinetd.conf²¢¼ÓÈëÒÔÏÂÄÚÈÝ£º
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/
defaults
{
# Please note that you need a log_type line to be able to use log_on_success
# and log_on_failure. The default is the following :
# log_type = SYSLOG daemon info
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}
includedir /etc/xinetd.d
4. sudo vi /etc/xinetd.d/telnet²¢¼ÓÈëÒÔÏÂÄÚÈÝ£º
# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}
5. ÖØÆô»úÆ÷»òÖØÆôÍøÂç·þÎñsudo /etc/init.d/xinetd restart
6. ʹÓÃTELNET¿Í»§¶ËÔ¶³ÌµÇ¼£»ifconfig -aÏÔʾ±¾»úµØÖ·¡£
Ïà¹ØÎĵµ£º
windows²Ù×÷ϵͳºÜ°ÔµÀ£¬ÎҵĻú×ÓÉÏÔÀ´ÊÇ°²×°µÄRedHatµÄ²Ù×÷ϵͳ£¬ºóÀ´ÓÉÓÚҪװw2003µÄ²Ù×÷ϵͳ£¬×°ÉÏÁË·¢ÏÖ£¬linuxµÄÆô¶¯Ê±µÄÒý
µ¼½çÃæ±»windows¸²¸ÇÁË£¬Ò²¾ÍÊÇÎÞ·¨ÓÃlinuxϵͳÁË£¬×îºóÔÚGoogleÉÏÕÒµ½Á˽â¾ö·½°¸£º
1.²åÈëlinuxϵͳµÄµÚÒ»ÕÅ°²×°ÅÌ£¬°´F5½øÈë¼±¾Èģʽ¡£
2.ÊäÈ룺linux rescue
3.ÊäÈë ......
1. ²éÕÒJavaÏîÄ¿ÖУ¬main·½·¨¶¨ÒåÔÚÄĸöÎļþÀï.
¡¡¡¡Çл»µ½ÄãÒª²éÕÒÏîÄ¿µÄĿ¼ÏÂÖ´ÐÐ
¡¡¡¡grep -rlI '\
¡¡¡¡Èç¹ûÄã¾õµÃ×Ô¼º´ò×ֿ죬²»ÅÂÂé·³Ö´ÐÐÈçÏÂÃüÁîÒ²¿ÉÒÔÕÒµ½¸ÃÎļþ
¡¡¡¡find -type f -name *.java -exec grep -l '\
¡¡¡¡2 ¿ìËٵĽ¨Á¢Ò»¸öÎļþ£¬²¢ÊäÈëһЩÄÚÈÝ
¡¡¡¡cat >> filename £¬ÊäÈëһЩÄÚÈÝÈ» ......
Ô´£¬ÔÚubuntuÏ£¬Ëü¾ÍÏ൱ÓÚÈí¼þ¿â£¬ÐèҪʲôÈí¼þ£¬Ö»Òª¼ÇµÃÕýÈ·µÄÈí¼þÃû²¢ÇÒÈ·¶¨ÔÚubuntuÏ¿϶¨ÓеÄÈí¼þ£¬¾Í¿ÉÒÔʹÓÃÃüÁîÀ´°²×°Èí¼þµÄ£¨µ±È»Ò²¿ÉÒÔÓÃÐÂÁ¢µÃÀ´°²×°£©ÃüÁîÊÇ£ºsudo apt -get install Èí¼þÃû £¬±ÈÈç˵QQ£¬Äã²»ÄÜÊäÈë³É sudo apt-get install qq ,Õâ¸öÊDz»¶ÔÁË£¬ÒòΪQQûÓÐ linux°æµÄ£¬Ö»ÄÜÓôúÌæÀ´ÊµÏÖ£¬±ÈÈç´ ......
linuxĿ¼¼Ü¹¹
/ ¸ùĿ¼
/bin ³£ÓõÄÃüÁî binary file µÄÄ¿錄
/boot ´æ·ÅϵͳÆô¶¯Ê±±ØÐë¶ÁÈ¡µÄµµ°¸£¬°üÀ¨ºËÐÄ (kernel) ÔÚÄÚ
/boot/grub/menu.lst GRUBÉèÖÃ
/boot/vmlinuz ÄÚºË
......