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

Linux Ï etc/ Ŀ¼ÎļþÏê½â

3. ÍøÂçÅäÖÃÎļþ
3.1 /etc/hosts
#/etc/hosts
#Îļþ¸ñʽ: IPaddress hostname aliases
#Îļþ¹¦ÄÜ: ÌṩÖ÷»úÃûµ½IPµØÖ·µÄ¶ÔÓ¦¹Øϵ£¬½¨Ò齫×Ô¼º¾­³£Ê¹ÓõÄÖ÷»ú
# ¼ÓÈë´ËÎļþÖУ¬Ò²¿É½«Ã»ÓÐDNS¼Ç¼µÄ»úÆ÷¼ÓÈëµ½´ËÎļþÖУ¬
# ÕâÑù»á·½±ãÍøÂçÓ¦ÓÃ
127.0.0.1 localhost localhost.localdomain
202.118.66.81 helius.dlut.edu.cn helius
3.2 /etc/resolv.conf
Îļþ¹¦ÄÜ£ºDNS¿Í»§»úÅäÖÃÎļþ£¬ÉèÖÃDNS·þÎñÆ÷µÄIPµØÖ·¼°DNSÓòÃû
Ïà¹ØÎļþ£º/etc/host.conf
Îļþ¸ñʽ£º
domainname ÓòÃû
search ÓòÃû
nameserver Primary_DNS_Server_IP_address
nameserver Second_DNS_Server_IP_address
ÆäÖÐdomainnameºÍsearch¿Éͬʱ´æÔÚ£¬Ò²¿ÉÖ»ÓÐÒ»¸ö£»nameserver¿ÉÖ¸¶¨¶à¸ö
ʾÀýÎļþÄÚÈÝ£º
search dlut.edu.cn
nameserver 202.118.66.6
3.3 /etc/host.conf
¹¦ÄÜ£ºÖ¸¶¨Ö÷»úÃû²éÕÒ·½·¨£¬Í¨³£Ö¸ÏȲéÕÒÎļþ/etc/hosts,ÕÒ²»µ½Ê±ÔÙÏòDNS·þÎñÆ÷ÇëÇó¡£
¶ÔÓÚ´ó¶àÊýÓû§²»ÓøĶ¯´ËÎļþÄÚÈÝ¡£
Linux: /etc/host.confÎļþÄÚÈÝ
order hosts, bind
multi on
Soalris: /etc/nsswitch.conf ÖеÄhostsÏî
hosts files, dns
3.4 /etc/HOSTNAME ( Linux Redhat 5.x Distribution)
¹¦ÄÜ£ºÉèÖÃÖ÷»úÃû£¬²»Í¬LINUXÖ®¼ä¿ÉÄÜÓÐËù²î±ð£¬ÇëʹÓÃ
egrep hostname /etc/rc.d/init.d/*
»ò
egrep hostname /etc/init.d/*
²éÕÒÏàÓ¦°æ±¾ÉϵÄÖ÷»úÃûÉèÖÃÎļþ¼°·½·¨¡£
Linux Redhat 5.x¶ÔÓ¦Îļþ: /etc/sysconfig/networkµÄHOSTNAMEÏî¡£
3.5 /etc/inetd.conf
Internet ³¬¼¶·þÎñÆ÷, Ïà¹Ø³ÌÐò: /usr/sbin/inetd
ÏàÓ¦·þÎñ:
telnet
ftp
pop3
r* rsh rcp rlogin (½¨Òé×îºÃ¹Ø±Õr·þÎñ)
ÆäËû·þÎñ×îºÃ¹Øµô
#
# inetd.conf This file describes the services that will be available
# through the INETD TCP/IP super server. To re-configure
# the running INETD process, edit this file, then send the
# INETD process a SIGHUP signal.
#
# Version: @(#)/etc/inetd.conf 3.10 05/27/93
#
# Authors: Original taken from BSD UNIX 4.3/TAHOE.
# Fred N. van Kempen, 
#
# Modified for Debian Linux by Ian A. Murdock 
#
# Modified for RHS Linux by Marc Ewing 
#

#
# Echo, discard, daytime, and chargen are used primarily for testing.
#
# To re-read this file after changes, just do a 'killall -HUP inetd'
#
#ech


Ïà¹ØÎĵµ£º

ÔÚlinuxÏÂʵÏÖweb qqµÄ×ÀÃ滯


´´½¨×ÀÃæͼ±ê
Ä¿Ç°½«ÍøÂçÓ¦ÓÃÀ©Õ¹µ½×ÀÃæÊÇÒ»¸öÇ÷ÊÆ£¬´æÔÚןܶà½â¾ö·½°¸£¬±¾ÎÄÒÔ Mozilla Prism ΪÀý£¬ÀàËƵķ½·¨Í¬ÑùÊÊÓÃÓÚ Google Chrome ¡£
1. µ½ Mozilla Prism µÄÍøÕ¾ÉÏÏÂÔØ Prism£¬µã»÷ Download Now Ö®ºó»áÌáʾÓÐÁ½ÖÖ£¬Ò»ÖÖÊÇÒÔ Mozilla Firefox À©Õ¹µÄ·½Ê½£¬ÊʺÏÒѾ­°²×°ÓÐ Firefox µÄÅóÓÑ£»Ò»Ö ......

Linux ¸÷Ä£¿é¼Ü¹¹Í¼


 
  Resources on the site
• Interactive map of GNU/Linux OS and FOSS
• "GNU/Linux is my home" - map of GNU/Linux system
• Interactive map of Linux kernel
• Linux inside
• Linux Technology Reference (single page view)
• Linux kernel diagram
• Li ......

LinuxÄÚºËÊé¼®µãÆÀ£¨×ª£©

³ÂÀò¾ý
£ºhttp://www.lupaworld.com/26540/viewspace-45751.html
´Ó
99
Ä꿪ʼ´øѧÉú·ÖÎö
Linux
Äںˣ¬Ò»Â·×ßÀ´£¬»ýÀÛÁ˲»ÉÙ×ÊÁÏ£¬Ò²±àдºÍ·­ÒëÁ˽ü
10
±¾Ïà¹ØÊé¼®£¬Ò»Ö±ÔÚÃþË÷ÔõÑù²ÅÄÜʹ´ó¼Ò¾¡¿ì×ßÈëÄںˣ¬µ«ËƺõûÓнݾ¶¡£ÓÈÆäÊÇÄں˰汾µÄ²»¶Ï¸üУ¬¸üÊDz»ÉÙÄں˰®ºÃÕßÎÞËùÊÊ´Ó¡£
ÎÒÃdzõ´Î½Ó´¥µÄÄÚºË×ÊÁÏÊÇ&ldq ......

Qt for symbian»·¾³´î½¨£¨Linux£©

Programming your application or library based on Qt has always had the promise that you can deploy your application on many different platforms. Development of those applications can, likewise, happen on many different platforms. QtCreator runs on Windows, Mac & Linux among others.
QtºÜ¼òµ¥£¬Ò× ......

LinuxÖ®Ïß³Ìͬ²½Æª

½øÐжàÏ̱߳à³Ì£¬×îÍ·Ì۵ľÍÊÇÄÇЩ¹²ÏíµÄÊý¾Ý¡£ÒòΪÄãÎÞ·¨ÖªµÀÄĸöÏ̻߳áÔÚÄĸöʱºò¶ÔËü½øÐвÙ×÷£¬ÄãÒ²ÎÞ·¨µÃÖªÄǸöÏ̻߳áÏÈÔËÐУ¬ÄĸöÏ̻߳áºóÔËÐС£ÏÂÃæ½éÉÜһЩ¼¼Êõ£¬Í¨¹ýËûÃÇ£¬Äã»áºÏÀí°²ÅÅÄãµÄÏß³ÌÖ®¼ä¶Ô×ÊÔ´µÄ¾ºÕù¡£
l         »¥³âÌåMutex
l    &nbs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ