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

LinuxÏÂÍê³ÉµÄÒ»¸ö×÷Òµ³ÌÐò

Îĵµ´´½¨ÈÕÆÚ£º2010-02-19
£ÛÎļþ1: test06-08.c£Ý
    01    // P174: 2.±à³ÌÌâ (8)°ÑÓÐÐòµÄÁ½¸öÊý×éaºÍbºÏ²¢£¬ÒªÇóºÏ²¢ºóµÄÊý×éÒÀÈ»ÓÐÐò
    02   
    03    // The beginning of C program: test06-08.c.
    04   
    05    // Header files included.
    06    #include <stdio.h>
    07    #include "head06-08.h"
    08   
    09    // Macro definition.
    10    #define MAX_SIZE 100
    11   
    12    // Main function's declaration.
    13    int  main ( void )
    14    {
    15        int     i=0,  j=0,  m=10,  n=10;
    16        float   list_1[MAX_SIZE],  list_2[MAX_SIZE],  element=0.0;
    17       
    18        printf ( "Please input 10 float numbers for list_1: " );
    19        for ( i=0; i<m; i++ )
    20            scanf  ( "%f", &list_1[i] );
    21       
    22        printf ( "Please input 10 float numbers for list_2: " );
    23        for ( j=0; j<n; j++ )
    24            scanf  ( "%f", &list_2[j]


Ïà¹ØÎĵµ£º

¹ØÓÚLinuxÏÂusb£¨vfat¸ñʽ£©¹ÒÔØÖÐÎÄÂÒÂëÎÊÌâµÄ½â¾ö

Á½ÖÖ·½Ê½£º
Ò»ÖÖÊÇͨ¹ýÖÕ¶ËÊÖ¶¯¹ÒÔؼÓÉϲÎÊý: -o iocharset=utf8
                  È磺# mount /dev/sdb1 -t vfat /mnt/usb/ -o iocharset=utf8
µÚ¶þÖÖÊÇͨ¹ý¼ÓÈëÄÚºËÖ§³ÖÔÚFile systems  --->  DOS/FAT/NT Filesystems  --->ÖÐÓÐÁ½ÏîÐÞ¸ÄΪ£ ......

linuxÏÂ×Ô´øµÄmysqlжÔغͰ²×°

linuxÏ mysql µÄжÔغͰ²×°
¹Ø¼ü×Ö: linuxÏ mysql µÄжÔغͰ²×°

Ò»¡¢Ç°ÆÚ×¼±¸£º
    1
.ÓÉÓÚredhat Enterprise 5 ÖÐ×Ô´øÒ»¸ömysqlµÄ°æ±¾£¬Èç¹ûÔÚ°²×°linuxǰδѡÔñmysqlµÄ°²×°´Ë²½¾Í¿ÉÌø¹ý£¬ÒòΪÎÒµ±Ê±°²×°ÁËÏÖÔÚ½«ÆäжÔØ
£¬²½ÖèÈçÏ£º
     &nb ......

Linuxϳ£ÓõĹػúʵÀý

LinuxϹػú×îÒªÓÐÒÔÏ·½·¨£¬ÎÒÏëÕâЩ·½·¨×ãÒÔÂú×ãÄãµÄÐèÒª£º
[root@localhost /]# shutdown [-tÃë] [-arkhcncfF] [ʱ¼ä] [ÌáʾÐÅÏ¢]
[root@localhost /]# shutdown -h 10 'I will shutdown after 10 mins'
-t sec : -t ºó¼ÓÃëÊý£¬¼´‘¹ý¼¸ÃëÖÓºó¹Ø»ú’µÄÒâ˼¡£
-k : ²»ÒªÕæµÄ¹Ø»ú£¬Ö»ÊÇ·¢ËÍÌáʾÐÅÏ¢¡£
......

8259AоƬÖжϺÅÓëlinux ϵͳÖжϺŵĶÔÓ¦¹Øϵ

ICW2 ÓÃÓÚÉèÖÃоƬËͳöµÄÖжϺŵĸß5λ¡£Ê²Ã´Òâ˼ÄØ£¬¾ÍÊÇ˵´ÓÖжϿØÖÆÆ÷·¢³öµÄÖжÏÐźŵĸß5λ¾ÍÊÇÔÚICW2ÀïÉèÖõġ£
ÔÚlinux 0.11Àïϵͳ°ÑÖ÷ƬµÄICW2ÉèÖÃΪ0x20£¬¾Í±íʾÖжÏÇëÇóIR0~IR7ÖжϺŵķ¶Î§ÊÇ0x20~0x27(8259AоƬ²úÉúµÄIRQºÅ±ØÐëÊÇÁ¬ÐøµÄ£¬ËùÒÔÒ²Ö»ÐèÒªÉèÖÃÆðʼºÅ¾ÍokÁË£¡) ......

[ת]°²×°linuxºóµÄÄں˵÷ÓÅ

kernel.shmall = 268435456
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_fin_timeout = 30
net.ipv4.tcp_keepalive_time = 1200
net.ipv4.ip_local_port_range = 1024 65000
net.ipv4.tcp_max_tw_buckets = 5000
net.ipv4.tcp_max_tw_buckets = 5000
net.ip ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ