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

LinuxÐÞ¸ÄIP¡¢DNS

¡¡Ò»¡¢ÐÞ¸ÄIP¡¢Íø¹Ø
¡¡¡¡[root@localhost ~]#  vi /etc/sysconfig/network-scripts/ifcfg-eth0
¡¡¡¡DEVICE=eth0
¡¡¡¡ONBOOT=yes
¡¡¡¡BOOTPROTO=static
¡¡¡¡IPADDR=192.168.1.117
¡¡¡¡NETMASK=255.255.255.0
¡¡¡¡GATEWAY=192.168.1.1
¡¡¶þ¡¢ÐÞ¸ÄDNS
¡¡¡¡[root@lvs_master ~]# vi /etc/resolv.conf
¡¡¡¡nameserver 202.106.195.68
¡¡¡¡nameserver 202.106.116.56
Èý¡¢ÐÞ¸Ähost name
        [root@lvs_master ~]# vi /etc/sysconfig/network
        NETWORKING=yes
        NETWORKING_IPV6=yes
        HOSTNAME=lvs_master
        GATEWAY=192.168.1.1
  
ËÄ¡¢ÐÞ¸ÄÖ®ºóÆô¶¯ÍøÂçÅäÖÃ
¡¡¡¡[root@lvs_master ~]# /etc/init.d/network restart »òÕß service network restart
Îå¡¢¼´Ê±ÉúЧµÄ·½·¨
ÐÞ¸ÄIP£º
[root@lvs_master ~]# ifconfig eth0 192.168.0.20 netmask 255.255.255.0
ÐÞ¸Ädefault gateway£º
[root@lvs_master ~]# route add default gw 192.168.0.254
ÐÞ¸Ähost name
[root@lvs_master ~]# hostname fc2
¡¡


Ïà¹ØÎĵµ£º

LinuxµÄ´óÔıø






<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
A:link { so-language: zxx }
-->
        Ëùν“Ôıø”¾ÍÊǼìÔIJ¿¶ÓµÄÒâ˼¡£
Linux
´ó¾ü£¨·¢Ðа棩¿Éν“É¢±øÓÎÓ”£¬Ì¸ºÎ´óÔıø£¿´ËÑÔ²îÒÓ¡£
 
   ......

Linux É豸Çý¶¯³ÌÐò½ø½×£¨0£©

ºÜ¾ÃûÓÐд¼¼Êõ²©ÎÄÁË£¬´ÓÕâÀ↑ʼÎÒµÄÑо¿ÉúÉúÑÄ£¬×ªÑÛ¾ÍÒªÔÚÖ°³¡ÉÏÑø¼Òºý¿Ú£¬Éú»îÕæµÄ²»ÈÝÒ×£¬ÐҺû¹Óм¼ÊõÏà°éΪÎé¡£
ÓÉÓÚ¹¤×÷µÄ¹ØÏµ£¬ÖÕÓÚ½Ó´¥µ½linuxÍøÂçºÍkernelµÄ±à³Ì£¬×ÜÌåÀ´Ëµ×ÜÊÇÒ»¸öºÃµÄÆõ»ú¡£ÈÃÎÒÄܹ»ÉîÈë²Ù×÷ϵͳÄںˡ£×ö¹ýÒ»¶Îʱ¼äµÄÓû§³ÌÐòµÄ¿ª·¢£¬×ÜÊÇÔÚWindowsƽ̨ÉÏ£¬ÖÕÓÚÓлú»áÔÚlinuxÉÏ×öµã¶«Î÷£¬»¹Ê ......

ǶÈëʽLinuxÎļþϵͳ¼°Æä´æ´¢»úÖÆ·ÖÎö

     ǶÈëʽϵͳÓëͨÓÃPC»ú²»Í¬£¬Ò»°ãûÓÐÓ²ÅÌÕâÑùµÄ´æ´¢É豸¶øÊÇʹÓÃFlashÉÁ´æÐ¾Æ¬¡¢Ð¡ÐÍÉÁ´æ¿¨µÈרΪǶÈëʽϵͳÉè¼ÆµÄ´æ´¢×°Ö㬱¾ÎÄ·ÖÎöÁËǶÈëʽϵͳÖг£ÓõĴ洢É豸¼°Æä¹ÜÀí»úÖÆ£¬½éÉÜÁ˳£ÓõĻùÓÚFLASHµÄÎļþϵͳÀàÐÍ¡£
1£®Ç¶Èëʽϵͳ´æ´¢É豸¼°Æä¹ÜÀí»úÖÆ·ÖÎö
¡¡¡¡¹¹½¨ÊÊÓÃÓÚǶÈëʽϵͳµÄLi ......

Linux GCC makeÎļþµÄд·¨ ×Ü½á°æ

Ŀ¼½á¹¹Îª£º
inc/hello.h
src/hello.c
main/main.c
Makefile
ÎļþÄÚÈÝΪ£º
hello.h:
void hello(char name[]);

hello.c:
#include <stdio.h>
void hello(char name[])
{
printf("Hello %s!\n", name);
}

main.c:
#include <stdio.h>
#include "hello.h"
// The second hello.h should ......

linuxÃüÁî


< type="text/javascript"><!--
google_ad_client = "pub-3936520987820628";
//250x250, ´´½¨ÓÚ 07-12-28
google_ad_slot = "5080959190";
google_ad_width = 250;
google_ad_height = 250;
//-->
< src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javasc ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ