[»ù´¡]LinuxµÄdnsÖ÷»úÃûµÈÉèÖÃ
dns
/etc/resolv.conf
Ö÷»úÃû
1)#hostname tt.com
2)/etc/sysconfig/networkÖеÄhostname
3)ÐÞ¸Ä/etc/hostsÎļþ
=>sendmail->/etc/mail/local-host-names
gateway
etc/sysconfig/network
ip
/etc/sysconfig/network-scripts/ifcfg-eth0
1. ±ä¸üµ±Ç°Ö÷»úÃû
Á½ÖÖ·½·¨£º echo new-hostname > /proc/sys/kernel/hostname
»òÕߣº hostname new-hostname
2. ÐÞ¸ÄÅäÖÃÎļþ£¬Ê¹µÃÏ´ÎÖØÆôµÄʱºò£¬Ê¹ÓÃеÄÖ÷»úÃû
±à¼Îļþ£º /etc/sysconfig/network
Ð޸ģº HOSTNAME=new-hostname.domainname
3. ÅäÖñ¾»úµÄÓòÃû½âÎöÎļþ£¬Ê¹µÃ±¾»úµÄÓ¦ÓóÌÐòÄܹ»½âÎöеÄÖ÷»úÃû
±à¼Îļþ£º /etc/hosts
Ð޸ģº xxx.xxx.xxx.xxx new-hostname.domainname new-hostname
(ÕâÀïµÄxxx´ú±í±¾»úµÄÍøÂçµØÖ·£¬Ò²¿ÉÒÔÊÇ»·»ØµØÖ·127.0.0.1)
Ïà¹ØÎĵµ£º
±¾ÎĽéÉÜÔÚGNU/Linux»·¾³ÏÂÒ»¸öC³ÌÐòÓÉÔ´´úÂëµ½³ÌÐò£¬µ½¼ÓÔØÔËÐУ¬×îºóÖÕÖ¹µÄ¹ý³Ì¡£Í¬Ê±ÒԴ˹ý³ÌÎªÔØÌ壬½éÉÜGNU/Linuxƽ̨ÏÂÈí¼þ¿ª·¢¹¤¾ßµÄʹÓá£
±¾ÎÄÒÔÎÒÃÇ×î³£¼ûµÄhello, world!ΪÀý£º
#include <stdio.h>
main ()
{
printf(“hello, world!\n” ......
ÎÒÃÇÒ»°ãʹÓÓdate -s”ÃüÁîÀ´ÐÞ¸Äϵͳʱ¼ä¡£±ÈÈ罫ϵͳʱ¼äÉ趨³É2010Äê3ÔÂ5ÈÕµÄÃüÁîÈçÏ¡£
#date -s 03/05/10
½«ÏµÍ³Ê±¼äÉ趨³ÉÖÐÎç8µã52·Ö0ÃëµÄÃüÁîÈçÏ¡£
#date -s 08:52:00
×¢Ò⣬ÕâÀï˵µÄÊÇϵͳʱ¼ä£¬ÊÇlinuxÓɲÙ×÷ϵͳά»¤µÄ¡£
ÔÚϵͳÆô¶¯Ê±£¬Linux ......
³ÉΪһÃû¾«Í¨ Linux
³ÌÐòÉè¼ÆµÄ¸ß¼¶³ÌÐòÔ±Ò»Ö±ÊDz»ÉÙÅóÓÑ×Î×ÎÒÔÇóµÄÄ¿±ê¡£¸ù¾ÝÖлªÓ¢²ÅÍøÍ³¼ÆÊý¾Ý£¬±±¾©µØÇø Linux ³ÌÐòÔ±ÔÂнƽ¾ùΪ Windows ³ÌÐòÔ±µÄ
1.8 ±¶¡¢Java ³ÌÐòÔ±µÄ 2.6 ±¶£¬ Linux ³ÌÐòÔ±ÄêÖÕ½±½ðƽ¾ùΪ Windows ³ÌÐòÔ±µÄ 2.9
±¶¡£Í¬Ê±Êý¾ÝÏÔʾ£¬Ëæ×ʤ×÷¾ÑéµÄÔö³¤£¬ Linux ³ÌÐòÔ±Óë Win ......
linuxÄں˳õ̽.ϵͳºǫ́Æô¶¯¼òµ¥½éÉÜ
Ò»¡¢Ðò
LinuxϵͳÊÇÈçºÎÆô¶¯£¬Õâ¶Ô½«À´Ó¦Óÿª·¢ÊÇÊ®·ÖÖØÒªµÄ£¬±¾ÎÄÕûÀí×ÔLinux
ÂÛ̳£¬½áºÏMoto E680£¬ÏÄÐÂE600ºÍ·ÉÀûÆÖ968½øÐмòµ¥½éÉÜ
¶þ¡¢ÖØÒªÌáʾ
ΪÁË·½±ã¸üºÃµÄÀí½â±¾ÎÄ£¬ÌṩÏÂÃæÁ´½á¡£
ȫϵÁеÄÎÄÕµØÖ·£¬ÊÖ»úÓ¦Óÿ ......
Ò»£ºWindowsÓû§¿´LinuxĿ¼
ÓëWindows½«Ó²ÅÌ¿´×ö“CÅÌ”¡¢“DÅÌ”¼¸¸ö¶ÀÁ¢µÄ·ÖÇø²»Í¬£¬Linux½«Õû¸öÎļþϵͳ¿´×öÒ»¿ÃÊ÷£¬Õâ¿ÃÊ÷µÄÊ÷¸ù½Ð×ö¸ùÎļþϵͳ£¬ÓÃ/±íʾ¡£¸÷¸ö·ÖÇøÍ¨¹ý“¹ÒÔØ”£¨mount£©ÒÔÎļþ¼ÐµÄÐÎʽ·ÃÎÊ¡£
ÔÚ/ÖеÄÎļþ¼ÐºÜ¶à£¬±¾Î ......