Linux GCC makeÎļþµÄд·¨3
	
    
    
	 °üº¬3¸öÎļþ¼Ð
Ŀ¼×éÖ¯½á¹¹ÈçÏ£º
inc/hello.h
main/main.c, Makefile
src/hello.c
ÎļþÄÚÈÝÈçÏ£º
hello.h:
void hello(char name[]); 
main.c:
#include <stdio.h>
#include "../inc/hello.h"
// The second hello.h should in ""
int main()
{
    hello("GCC");
    printf("Haha Linux Ubuntu!\n");
    return 0;
} 
ÆäÖУ¬µÚ¶þ¸ö°üº¬Îļþ£¬hello.h£¬±ØÐëÒªÓÃ""£¬Èç¹ûÓÃ<>ÔògccÖ»»áµ½ÏµÍ³Ä¿Â¼ÏÂÈ¥ËÑË÷£¬²»»áµ½±¾µ±Ç°Ä¿Â¼ÏÂËÑË÷
¾ÍÊÇ""ÔÚÓû§Ä¿Â¼Ï£¬<>ÔÚϵͳĿ¼Ï£¬Õâ¸öÔÚwindowsÉϲ»Ñϸñ£¬ ÔÚlinuxÀïËÆºõºÜÑϸñ
Makefile°æ±¾1:
# String declaration
objects = main.o hello.o
# Command
app : $(objects)
	cc -o app $(objects)
main.o : main.c hello.h
	cc -c main.c
hello.o : hello.c stdio.h
	cc -c ../src/hello.c
# Search paths
vpath %.h /usr/include ../inc
vpath %.c ../src
# Clean the intermediate files
.PHONY : clean
clean :
	rm app $(objects)
Ã²ËÆvpathÖ»¶Ô %.o : ºóÃæµÄÓÐÓ°Ï죬ÏÂÃæµÄcc -cûÓÐ×÷ÓÃ
**************************
ȷʵÊÇÕâÑùµÄ£¬
%.o : %.c %.h£¬Õâ¾ä»°ÊÇmakeµÄÓï¾ä£¬¶øÏÂÃæµÄ
cc -c %.c£¬Õâ¾ä»°ÊÇgccµÄÓï¾ä£¬
¶øvpathºÍVPATHÉ趨µÄÊÇmakeµÄËÑË÷·¾¶£¬¶ÔgccµÄËÑË÷·¾¶Ã»ÓÐÓ°Ïì¡£
gccÉèÖÃËÑË÷·¾¶Îª£º
cc -c main.c -Iinclude
**************************
Makefile°æ±¾2£º
# String declaration
objects = main.o hello.o
# Command
app : $(objects)
	cc -o app $(objects)
main.o : main.c hello.h
	cc -c main.c
hello.o : ../src/hello.c stdio.h
	cc -c ../src/hello.c
# Search paths
vpath %.h /usr/include ../inc
#vpath %.c ../src
# Clean the intermediate files
.PHONY : clean
clean :
	rm app $(objects)
 
hello.c:
#include <stdio.h>
void hello(char name[])
{
	printf("Hello %s!\n", name);
}
 
    
     
	
	
    
    
	Ïà¹ØÎĵµ£º
        
    
    °²×°OpenSSH 
UbuntuȱʡûÓа²×°SSH Server£¬Ê¹ÓÃÒÔÏÂÃüÁî°²×°£º 
sudo apt-get install openssh-server openssh-client 
²»¹ýUbuntuȱʡÒѾ°²×°ÁËssh client¡£
ÅäÖÃÍê³ÉºóÖØÆð£º 
sudo /etc/init.d/ssh restart
windows ¿Í»§¶ËÓÃputtyÁ¬½ÓÃüÁîshellģʽ
 ......
	
    
        
    
    ÔÚ¸÷ÖÖLinux·Ö·¢°æÖУ¬´ó¶àÊý¶¼ÒѾĬÈϼ¯³ÉÁËsnmpd£¬±ÈÈçÔÚsuse10ÖУ¬Äã¿ÉÒÔÕâÑù¿ªÆôsnmpd£º
¡¡¡¡
¡¡¡¡suse10:~ # /etc/init.d/snmpd start
¡¡¡¡
¡¡¡¡Èç¹ûûÓÐĬÈϰ²×°£¬ÄãÒª×öµÄ¾ÍÊÇ×Ô¼ºÀ´±àÒësnmpd£¬°´ÕÕϱߵIJ½Ö裬·Ç³£¼òµ¥¡£
¡¡¡¡
¡¡¡¡±àÒëºÍ°²×°
¡¡¡¡¶ÔÓÚLinuxƽ̨£¬ÎÒÃÇÍÆ¼öʹÓÃNet-SNMP£¬ËüʵÏÖÁ˱ê×¼µÄSNM ......
	
    
        
    
    10.5.2 ¾«Í¨¶¨Ê±Æ÷ÉèÖÃ
º¯ÊýalarmÉèÖõĶ¨Ê±Æ÷Ö»Äܾ«È·µ½Ã룬¶øÒÔϺ¯ÊýÀíÂÛÉÏ¿ÉÒÔ¾«È·µ½Î¢Ã
#include  <sys/select.h>
#include  <sys/itimer.h>
int getitimer(int which, struct itimerval *value);
int setitimer(int which, const struct itimerval 
*value, struct itimerval *ovalue ......
	
    
        
    
    2.6µÄKernel LOGO
ËÆºõ±È2.4ÈÝÒס£2.6µÄlogoÊý¾ÝÔÚ/drivers/video/logoÀppmÎļþ¾ÍÊÇlogoͼÏñÁË¡£Ã¿¸öppm¶ÔÓ¦Ò»¸ö. cÎļþ£¬ÄÚÈÝ´ó¸Å¾ÍÊÇͼÏñ³ß´ç¡¢µ÷É«°å¡¢Î»Í¼Êý¾ÝµÈÐÅÏ¢¡£.cÎļþÎÞÐè×Ô¼º½¨Á¢£¬ÔÚmakeµÄʱºòÈç¹û²»´æÔÚij¸öppmÎļþ¶ÔÓ¦µÄ.cÎļþ£¬¾Í»á×Ô¶¯´Ó ppmÉú³ÉÒ»¸ö£¬È»ºó°ÑËü±àÒë³É.oÎļþ¡£ËùÒÔ¿´¿´Ä¿Â¼ÏÂÄÄЩ.ppmÎ ......