Ìá¸ßLinux²Ù×÷ϵͳ°²È«ÐÔµÄÊ®´óÕÐÊý
LinuxÊÇÒ»ÖÖÀàUnixµÄ²Ù×÷ϵͳ¡£´ÓÀíÂÛÉϽ²£¬Unix±¾ÉíµÄÉè¼Æ²¢Ã»ÓÐʲôÖØ´óµÄ°²È«È±ÏÝ¡£¶àÄêÀ´£¬¾ø´ó¶àÊýÔÚUnix²Ù×÷ϵͳÉÏ·¢ÏֵݲȫÎÊÌâÖ÷Òª´æÔÚÓÚ¸ö±ð³ÌÐòÖУ¬ËùÒԴ󲿷ÖUnix³§É̶¼Éù³ÆÓÐÄÜÁ¦½â¾öÕâЩÎÊÌ⣬Ìṩ°²È«µÄUnix²Ù×÷ϵͳ¡£µ«LinuxÓÐЩ²»Í¬£¬ÒòΪËü²»ÊôÓÚijһ¼Ò³§ÉÌ£¬Ã»Óг§ÉÌÐû³Æ¶ÔËüÌṩ°²È«±£Ö¤£¬Òò´ËÓû§Ö»ÓÐ×Ô¼º½â¾ö°²È«ÎÊÌâ¡£Linux²»ÂÛÔÚ¹¦ÄÜÉÏ¡¢¼Û¸ñÉÏ»òÐÔÄÜÉ϶¼ÓкܶàÓŵ㣬Ȼ¶ø£¬×÷Ϊ¿ª·Åʽ²Ù×÷ϵͳ£¬Ëü²»¿É±ÜÃâµØ´æÔÚһЩ°²È«Òþ»¼¡£¹ØÓÚÈçºÎ½â¾öÕâЩÒþ»¼£¬ÎªÓ¦ÓÃÌṩһ¸ö°²È«µÄ²Ù×÷ƽ̨£¬±¾ÎÄ»á¸æËßÄãһЩ×î»ù±¾¡¢×î³£Óã¬Í¬Ê±Ò²ÊÇ×îÓÐЧµÄÕÐÊý¡£
¡¡ LinuxÊÇÒ»¸ö¿ª·Åʽϵͳ£¬¿ÉÒÔÔÚÍøÂçÉÏÕÒµ½Ðí¶àÏֳɵijÌÐòºÍ¹¤¾ß£¬Õâ¼È·½±ãÁËÓû§£¬Ò²·½±ãÁ˺ڿͣ¬ÒòΪËûÃÇÒ²ÄܺÜÈÝÒ×µØÕÒµ½³ÌÐòºÍ¹¤¾ßÀ´Ç±ÈëLinuxϵͳ£¬»òÕßµÁÈ¡LinuxϵͳÉϵÄÖØÒªÐÅÏ¢¡£²»¹ý£¬Ö»ÒªÎÒÃÇ×ÐϸµØÉ趨LinuxµÄ¸÷ÖÖϵͳ¹¦ÄÜ£¬²¢ÇÒ¼ÓÉϱØÒªµÄ°²È«´ëÊ©£¬¾ÍÄÜÈúڿÍÃÇÎÞ»ú¿É³Ë¡£
¡¡¡¡Ò»°ãÀ´Ëµ£¬¶ÔLinuxϵͳµÄ°²È«É趨°üÀ¨È¡Ïû²»±ØÒªµÄ·þÎñ¡¢ÏÞÖÆÔ¶³Ì´æÈ¡¡¢Òþ²ØÖØÒª×ÊÁÏ¡¢ÐÞ²¹°²È«Â©¶´¡¢²ÉÓð²È«¹¤¾ßÒÔ¼°¾³£ÐԵݲȫ¼ì²éµÈ¡£±¾ÎĽÌÄãÊ®ÖÖÌá¸ßLinuxϵͳ°²È«ÐÔµÄÕÐÊý¡£ËäÈ»ÕÐÊý²»´ó£¬µ«ÕÐÕÐ×àЧ£¬Äã²»·ÁÒ»ÊÔ¡£
¡¡¡¡µÚ1ÕУºÈ¡Ïû²»±ØÒªµÄ·þÎñ
¡¡¡¡ÔçÆÚµÄUnix°æ±¾ÖУ¬Ã¿Ò»¸ö²»Í¬µÄÍøÂç·þÎñ¶¼ÓÐÒ»¸ö·þÎñ³ÌÐòÔÚºǫ́ÔËÐУ¬ºóÀ´µÄ°æ±¾ÓÃͳһµÄ/etc/inetd·þÎñÆ÷³ÌÐòµ£´ËÖØÈΡ£InetdÊÇInternetdaemonµÄËõд£¬Ëüͬʱ¼àÊÓ¶à¸öÍøÂç¶Ë¿Ú£¬Ò»µ©½ÓÊÕµ½Íâ½ç´«À´µÄÁ¬½ÓÐÅÏ¢£¬¾ÍÖ´ÐÐÏàÓ¦µÄTCP»òUDPÍøÂç·þÎñ¡£
¡¡¡¡ÓÉÓÚÊÜinetdµÄͳһָ»Ó£¬Òò´ËLinuxÖеĴ󲿷ÖTCP»òUDP·þÎñ¶¼ÊÇÔÚ/etc/inetd.confÎļþÖÐÉ趨¡£ËùÒÔÈ¡Ïû²»±ØÒª·þÎñµÄµÚÒ»²½¾ÍÊǼì²é/etc/inetd.confÎļþ£¬ÔÚ²»ÒªµÄ·þÎñÇ°¼ÓÉÏ“#”ºÅ¡£
¡¡¡¡Ò»°ãÀ´Ëµ£¬³ýÁËhttp¡¢smtp¡¢telnetºÍftpÖ®Í⣬ÆäËû·þÎñ¶¼Ó¦¸ÃÈ¡Ïû£¬ÖîÈç¼òµ¥Îļþ´«ÊäÐÒétftp¡¢ÍøÂçÓʼþ´æ´¢¼°½ÓÊÕËùÓõÄimap/ipop´«ÊäÐÒ顢ѰÕÒºÍËÑË÷×ÊÁÏÓõÄgopherÒÔ¼°ÓÃÓÚʱ¼äͬ²½µÄdaytimeºÍtimeµÈ¡£
¡¡¡¡»¹ÓÐһЩ±¨¸æϵͳ״̬µÄ·þÎñ£¬Èçfinger¡¢efinger¡¢systatºÍnetstatµÈ£¬ËäÈ»¶Ôϵͳ²é´íºÍÑ°ÕÒÓû§·Ç³£ÓÐÓ㬵«Ò²¸øºÚ¿ÍÌṩÁË·½±ãÖ®ÃÅ¡£ÀýÈ磬ºÚ¿Í¿ÉÒÔÀûÓÃfinger·þÎñ²éÕÒÓû§µÄµç»°¡¢Ê¹ÓÃĿ¼ÒÔ¼°ÆäËûÖØÒªÐÅÏ¢¡£Òò´Ë£¬ºÜ¶àLinuxϵͳ½«ÕâЩ·þÎñÈ«²¿È¡Ïû»ò²¿·ÖÈ¡Ïû£¬ÒÔÔöǿϵͳµÄ°²È«ÐÔ¡£
¡¡¡¡Inetd³ýÁËÀûÓÃ/etc/inetd.confÉèÖÃϵͳ·þÎ
Ïà¹ØÎĵµ£º
Unix/Linux ½ø³Ì¹ÜÀíÏà¹ØÃüÁî½éÉÜ
½ø³ÌÊDzÙ×÷ϵͳÓÃÓÚ¿ØÖÆϵͳ×ÊԴʹÓõÄʵÌå¡£Unix/Linux ½ø³Ì¹ÜÀíÏà¹ØµÄÃüÁîÖ÷ÒªÓÐÒÔϼ¸¸ö£¬ÔÚºóÃæµÄ½Å±¾ÊµÏÖÖлáÓõ½²¿·ÖÃüÁî¡£
ÏÔʾ½ø³ÌÊôÐÔÃüÁî
ps ÃüÁ¸ÃÃüÁîÊÇ×î»ù±¾Í¬Ê±Ò²ÊǷdz£Ç¿´óµÄ½ø³Ì²é¿´ÃüÁÓÃÓÚ±¨¸æ½ø³Ì±êʶ¡¢Óû§¡¢CPU ʱ¼äÏûºÄÒÔ¼°ÆäËûÊôÐÔ¡£ÀûÓÃËü¿ÉÒÔÈ·¶¨ÓÐÄÄÐ ......
×îÐÂliuxÏÂtomcat5.5.25+mysql5.0.45+jdk1.0.5.13+eclipse3.3.1+myeclipse6.0ÅäÖÃ
Ò»¡¢°²×°ËùÐèÈí¼þ°ü£º
1.JDK 5.0 Update 13(jdk-1_5_0_13-linux-i586-rpm.bin)
ÏÂÔصØÖ·£º
http://sdlc-esd.sun.com/ESD36/JSCDL/jdk/1.5.0_13/jdk-1_5_0_13-linux ......
/*
* linux/fs/fcntl.c
*
* (C) 1991 Linus Torvalds
*/
#include <string.h>
#include <errno.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <asm/segment.h>
#include <fcntl.h>
#include <sys/stat. ......
/*
* ioctl.c ÎļþʵÏÖÁËÊäÈë/Êä³ö¿ØÖÆϵͳµ÷ÓÃioctl()£¬¸Ãº¯Êý
* Ö÷ÒªÊǵ÷Óú¯Êýtty_ioctl()¶ÔÖն˵ÄIO½øÐпØÖÆ
*/
/*
* linux/fs/ioctl.c
*
* (C) 1991 Linus Torvalds
*/
#include <string.h>
#include <errno.h>
#include <s ......
ÔÚvmÏ°²×°unbuntu linux server 9.04
°²×°Íê³É ²é¿´IPµØÖ· ifconfig
°²×°telnet sudo apt-get install xinetd telnetd
ÒòΪ²»ÐèҪ̫¶àÈËTELNET ÔÝʱ²»×öÐÞ¸ÄÅäÖÃÎļþ¡£
°²×°FTP sudo apt-get install vsftpd
ͬÑù²»ÐèÒªÅäÖà ʹÓÃĬÈϵÄftp:ftpÓû§·ÃÎÊ
mysql
sudo apt-get install mysql-server
apac ......