linuxÍøÂçÅäÖ㦹ÜÀí»ù´¡ [תÔØ]
ÍøÂçÅäÖÃÎļþ LINUX ÔÚ °²×°ÖÐ »ù±¾µÄÅäÖà ¶¼ÒѾÍê³ÉÁË ¶¼ÒÔÎı¾·½Ê½ ±£´æÔÚ/etcĿ¼ÏÂ
.
ÍøÂçÅäÖÃÎļþ£º/etc/sysconfig/network
²é¿´ÃüÁ
[root@localhost ~]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=localhost.localdomain
[root@localhost ~]#
¿ÉÄÜÒòΪһЩLINUX °æ±¾ ²»Í¬ÉÏÃæÏÔʾµÄÐÅÏ¢Ò²²»Í¬ Õâ¸öÎļþ ¿ÉÒÔÓà /netcfg À´Î¬»¤ ²»¹ýÐèÒª X·þÎñÆ÷Ö§³Ö
Ö÷»úÃûºÍIP µØÖ·Ó³Éä £º /etc/hosts
IPµØÖ· µÄÉè¼Æ·½±ã¼ÆËã»úµÄ´¦Àí µ«ÊǼÇÒäÕâЩ¾Í±È½Ï¿ÝÔïÁË ÎªÁË Ö±½ÓÄÜ·ÃÎÊÖ÷»ú ÏÖÔÚ¶¼²ÉÓÃÓòÃû·½Ê½ ÔçÆÚµÄÓòÃû¾Í±»±£´æÔÚÕâ¸öÎļþÀï
²é¿´ÃüÁ
[root@localhost ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
::1 localhost.localdomain localhost
[root@localhost ~]#
Õâ¸öÎļþºÍWINDOWS ϵͳÖÐµÄ WINDOWS\system32\etc Ï嵀 HOSTS ²ÉÓÃÏàͬµÄ¸ñʽºÍ¹¦ÄÜ
DNS ¿Í»§ÅäÖãº/etc/resolv.conf
Õâ¸öÎļþ°üº¬ÁËÓòÃû˳ÐòºÍDNS ·þÎñÆ÷µÄÖ÷»úµØÖ·
²é¿´ÃüÁ
[root@localhost ~]# cat /etc/resolv.conf
nameserver 61.128.128.68 £»¿ÉʹÓöà¸öDNS ·þÎñÆ÷µÄµØÖ·
nameserver 61.128.192.68
[root@localhost ~]#
Ö÷»úÃû£º/etc/hostname £»ÓÐЩ°æ±¾µÄLINUX Ö÷»úÃûÊÇÔÚ/etc/sysconfig/network ÎļþÀï ÓÐЩ³ýÍâ
²é¿´Ö÷»úÃû£º
[root@localhost ~]# hostname
localhost.localdomain
[root@localhost ~]#
ÍøÂç·þÎñ£º/etc/services
Õâ¸öÎļþ¸ú WINDOWS Ï嵀 WINDOWS\system32\drivers\etc\services ÎļþÒ»Ñù ¸ø³öÁË¶Ë¿Ú ºÍ ·þÎñÃû¶ÔÕÕ ºÜ¶àϵͳ¶¼»á¶ÁÈ¡Õâ¸öÎļþ
²é¿´ÃüÁ
[root@localhost ~]# tail /etc/services £»ÕâÀïÈç¹ûʹÓà cat ÃüÁî²é¿´ »áÓкܶà
nimspooler 48001/udp
Ïà¹ØÎĵµ£º
Linux Ï°²×°QQ
1. download qq:
µ½QQ¹Ù·½ÉÏÏÂÔØLinux°æ±¾µÄQQ£¬ÓÐtar.gzºÍrpmµÈ¸ñʽ¡£
½¨ÒéÏÂÔØtar.gz¸ñʽµÄ¡£ ......
ln
[root@www ~]# ln [-sf] 來Ô´檔 Ä¿標檔
選項與參數£º
-s £ºÈç¹û²»¼ÓÈκÎ參數¾Í進ÐÐ連結£¬ÄǾÍÊÇhard link£¬ÖÁì¶ -s ¾ÍÊÇsymbolic link
-f £ºÈç¹û Ä¿標檔 ´æÔÚ時£¬¾ÍÖ÷動µÄ將Ä¿જ ......
NFS server¿ÉÒÔ¿´×÷ÊÇÒ»¸öFILE SERVER,Ëü¿ÉÒÔÈÃÄãµÄPCͨ¹ýÍøÂ罫Զ¶ËµÃNFS SERVER¹²Ïí³öÀ´µÄµµ°¸MOUNTµ½×Ô¼ºµÄϵͳÖУ¬ÔÚCLIENT¿´À´Ê¹ÓÃNFSµÄÔ¶¶ËÎļþ¾ÍÏóÊÇÔÚʹÓñ¾µØÎļþÒ»Ñù¡£
NFSÐÒé´Óµ®Éúµ½ÏÖÔÚΪֹ£¬ÒѾÓжà¸ö°æ±¾£¬ÈçNFS V2£¨rfc1094£©,NFS V3£¨rfc1813£©£¨×îÐÂµÄ°æ± ......