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

Linux ÅäÖÃÎļþ

·ÃÎÊÎļþ
/etc/host.conf
¸æËßÍøÂçÓòÃû·þÎñÆ÷ÈçºÎ²éÕÒÖ÷»úÃû¡££¨Í¨³£ÊÇ /etc/hosts£¬È»ºó¾ÍÊÇÃû³Æ·þÎñÆ÷£»¿Éͨ¹ý netconf ¶ÔÆä½øÐиü¸Ä£©
/etc/hosts
°üº¬£¨±¾µØÍøÂçÖУ©ÒÑÖªÖ÷»úµÄÒ»¸öÁÐ±í¡£Èç¹ûϵͳµÄ IP ²»ÊǶ¯Ì¬Éú³É£¬¾Í¿ÉÒÔʹÓÃËü¡£¶ÔÓÚ¼òµ¥µÄÖ÷»úÃû½âÎö£¨µã·Ö±íʾ·¨£©£¬ÔÚÇëÇó DNS »ò NIS ÍøÂçÃû³Æ·þÎñÆ÷֮ǰ£¬/etc/hosts.conf ͨ³£»á¸æËß½âÎö³ÌÐòÏȲ鿴ÕâÀï¡£
/etc/hosts.allow
Çë²ÎÔÄ hosts_access µÄÁª»ú°ïÖúÒ³¡£ÖÁÉÙÓÉ tcpd ¶ÁÈ¡¡£
/etc/hosts.deny
Çë²ÎÔÄ hosts_access µÄÁª»ú°ïÖúÒ³¡£ÖÁÉÙÓÉ tcpd ¶ÁÈ¡¡£
»ØÒ³Ê×
Òýµ¼ºÍµÇ¼£¯×¢Ïú
/etc/issue & /etc/issue.net
ÕâЩÎļþÓÉ mingetty£¨ºÍÀàËƵijÌÐò£©¶ÁÈ¡£¬ÓÃÀ´Ïò´ÓÖնˣ¨issue£©»òͨ¹ý telnet »á»°£¨issue.net£©Á¬½ÓµÄÓû§ÏÔʾһ¸ö“welcome”×Ö·û´®¡£ËüÃÇ°üÀ¨¼¸ÐÐÉùÃ÷ Red Hat °æ±¾ºÅ¡¢Ãû³ÆºÍÄÚºË ID µÄÐÅÏ¢¡£ËüÃÇÓÉ rc.local ʹÓá£
/etc/redhat-release
°üÀ¨Ò»ÐÐÉùÃ÷ Red Hat °æ±¾ºÅºÍÃû³ÆµÄÐÅÏ¢¡£ÓÉ rc.local ʹÓá£
/etc/rc.d/rc
ͨ³£ÔÚËùÓÐÔËÐ춱ðÔËÐУ¬¼¶±ð×÷Ϊ²ÎÊý´«ËÍ¡£ÀýÈ磬ҪÒÔͼÐΣ¨Graphics£©Ä£Ê½£¨X-Server£©Òýµ¼»úÆ÷£¬ÇëÔÚÃüÁîÐÐÔËÐÐÏÂÃæµÄÃüÁ init 5 ¡£ÔËÐ춱ð 5 ±íʾÒÔͼÐÎģʽÒýµ¼ÏµÍ³¡£
/etc/rc.d/rc.local
·ÇÕýʽµÄ¡£¿ÉÒÔ´Ó rc¡¢rc.sysinit »ò /etc/inittab µ÷Óá£
/etc/rc.d/rc.sysinit
ͨ³£ÊÇËùÓÐÔËÐ춱ðµÄµÚÒ»¸ö½Å±¾¡£
/etc/rc.d/rc/rcX.d
´Ó rc ÔËÐеĽű¾£¨ X ±íʾ 1 µ½ 5 Ö®¼äµÄÈÎÒâÊý×Ö£©¡£ÕâЩĿ¼ÊÇÌض¨“ÔËÐ춱ð”µÄĿ¼¡£µ±ÏµÍ³Æô¶¯Ê±£¬Ëü»áʶ±ðÒªÆô¶¯µÄÔËÐ춱ð£¬È»ºóµ÷ÓøÃÔËÐ춱ðµÄÌض¨Ä¿Â¼ÖдæÔÚµÄËùÓÐÆô¶¯½Å±¾¡£ÀýÈ磬ϵͳÆô¶¯Ê±Í¨³£»áÔÚÒýµ¼ÏûÏ¢Ö®ºóÏÔʾ“entering run-level 3”µÄÏûÏ¢£»ÕâÒâζ×Å /etc/rc.d/rc3.d/ Ŀ¼ÖеÄËùÓгõʼ»¯½Å±¾¶¼½«±»µ÷Óá£
»ØÒ³Ê×
Îļþϵͳ
ÄÚºËÌṩÁËÒ»¸ö½Ó¿Ú£¬ÓÃÀ´ÏÔʾһЩËüµÄÊý¾Ý½á¹¹£¬ÕâЩÊý¾Ý½á¹¹¶ÔÓÚ¾ö¶¨ÖîÈçʹÓõÄÖжϡ¢³õʼ»¯µÄÉ豸ºÍÄÚ´æͳ¼ÆÐÅÏ¢Ö®ÀàµÄϵͳ²ÎÊý¿ÉÄܺÜÓÐÓá£Õâ¸ö½Ó¿ÚÊÇ×÷Ϊһ¸ö¶ÀÁ¢µ«ÐéÄâµÄÎļþϵͳÌṩµÄ£¬³ÆΪ /proc Îļþϵͳ¡£ºÜ¶àϵͳʵÓóÌÐò¶¼Ê¹ÓÃÕâ¸öÎļþϵͳÖдæÔÚµÄÖµÀ´ÏÔʾϵͳͳ¼ÆÐÅÏ¢¡£ÀýÈ磬/proc/modules ÎļþÁоÙϵͳÖе±Ç°¼ÓÔصÄÄ£¿é¡£lsmod ÃüÁî¶ÁÈ¡´ËÐÅÏ¢£¬È»ºó½«ÆäÒÔÈËÃÇ¿ÉÒÔ¿´¶®µÄ¸ñʽÏÔʾ³öÀ´¡£ÏÂÃæ±í¸ñÖÐÖ¸¶¨µÄ mtab ÎļþÒÔͬÑùµÄ·½Ê½¶ÁÈ¡°üº¬µ±Ç°°²×°µÄÎļþϵͳµÄ /proc/mount Îļþ¡


Ïà¹ØÎĵµ£º

linux ÖеÃ×Ô¼ºµÄipµØÖ·´úÂë

DWORD GetLocalAddr(char* interface)
{
 struct ifreq ifr;
    int fd;
    int err;
    unsigned long ip;
    strcpy(ifr.ifr_name, interface);
    fd = socket(AF_INET, SOCK_DGRAM, 0);
    err = ioctl ......

LINUX´®¿Ú¼òÃ÷½âÎö[ÐÞÕý°æ][0919]

LINUX´®¿Ú¼òÃ÷½âÎö[ÐÞÕý°æ][0919]
09-14
ÉÏÖܵÄʱºò£¬·¢ÁËƪÎÄÕ£¬¹ØÓÚlinux´®¿ÚµÄ¡¾µ±È»³ÌÐòʦת±ðÈ˵ģ¨»¹ÊÇ·¢²¼ÔÚIBM¿ª·¢ÕßÉçÇøµÄàÏ£©¡¿£¬
ËäÈ»µ±Ê±ÄÜÅܵÄͨ£¬µ«ÕâÖÜÔÚÓõÄʱºòÈ´·¢ÏÖ²»ÐÐÁË£¬ÓÚÊǾö¶¨×ÐϸÑо¿ÏÂlinuxÏ´®¿ÚÕⶫÎ÷£¡
µ±È»ÄǸö³ÌÐòÓÐÎÊÌ⣬¾ÍÒª×Ô¼ºÖØÐÂдÀ²¡£¡£¡£¡£¡£¡£OTZ ¡£¡£¡£¡£¶ö¡£¡£¡£ÎÒÏòÀ´±È ......

linux ѧϰ1 2009

   Ò» ÓÅÅ̹ÒÔØ
           1£º fdisk -l  ÁгöÖ¸¶¨É豸µÄ·ÖÇø±íÐÅÏ¢¡£ÓÉÓÚusbÅÌÊDZ»Ä£ÄâΪscsiÉ豸·ÃÎÊ£¬ËùÒԻᱻ×Ô¶¯ÃüÃûΪsd*¡£
                 &nb ......

Linux »·¾³±äÁ¿×ܽá

1¡¢ÒýÑÔ
   
ÔÚ
linuxϵͳ
Ï£¬Èç¹ûÄãÏÂÔز¢°²×°ÁËÓ¦ÓóÌÐò£¬ºÜÓпÉÄÜÔÚ¼üÈëËüµÄÃû³Æʱ³öÏÖ“
command not found
”µÄÌáʾÄÚÈÝ¡£Èç¹ûÿ´Î¶¼µ½°²×°Ä¿±êÎļþ¼ÐÄÚ£¬ÕÒµ½¿ÉÖ´ÐÐÎļþÀ´½øÐвÙ×÷¾ÍÌ«·±ËöÁË¡£ÕâÉæ¼°µ½»·¾³±äÁ¿
PATH
µÄÉèÖÃÎÊÌ⣬¶ø
PATH
µÄÉèÖÃÒ²ÊÇÔÚ
linux
϶¨ÖÆ»·¾³±äÁ¿µ ......

linux java/jsp »ñȡϵͳµ±Ç°Ê±¼äÎÊÌâ

JSPÔ´´úÂë
 <%
   //»ñȡϵͳʱ¼ä
   //String ddate=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(Calendar.getInstance().getTime());
   TimeZone tz = TimeZone.getTimeZone("ETC/GMT-8"); 
    TimeZone.setDefault(tz);
    ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ