LinuxÏÂÍê³ÉµÄÒ»¸ö×÷Òµ³ÌÐò
Îĵµ´´½¨ÈÕÆÚ£º2010-02-19
001 // P174: 2.±à³ÌÌâ (9)½«Êý×éaÖÐÏàÍ¬ÔªËØÖ»±£ÁôµÚÒ»¸ö£¬ÆäÓàɾ³ý¡£
002
003 // The beginning of C program: test06-09.c.
004
005 // Header files included.
006 #include <stdio.h>
007 #include "head06-09.h"
008
009 // Macro definition.
010 #define MAX_SIZE 100
011
012 // Main function's declaration.
013 int main ( void )
014 {
015 int i=0, n=10;
016 float list[MAX_SIZE];
017 printf ( "Please input 10 float numbers for the list: " );
018 for ( i=0; i<n; i++ )
019 scanf ( "%f", &list[i] );
020 for ( i=0; i<n; i++ )
021 list[i] = rounding (list[i]);
022 select_sort (list, n);
023 if ( delete_RptElmt (list, &n) == 0 )
024 return (1);
025 printf ( "The new list is:\n" );
026 for ( i=0; i<n; i++ )
027&n
Ïà¹ØÎĵµ£º
ÔÚvmϰ²×°unbuntu linux server 9.04
°²×°Íê³É ²é¿´IPµØÖ· ifconfig
°²×°telnet sudo apt-get install xinetd telnetd
ÒòΪ²»ÐèҪ̫¶àÈËTELNET ÔÝʱ²»×öÐÞ¸ÄÅäÖÃÎļþ¡£
°²×°FTP sudo apt-get install vsftpd
ͬÑù²»ÐèÒªÅäÖà ʹÓÃĬÈϵÄftp:ftpÓû§·ÃÎÊ
mysql
sudo apt-get install mysql-server
apac ......
Îĵµ´´½¨ÈÕÆÚ£º2010-02-18
01 // P173: 2.±à³ÌÌâ (5)ÊäÈëÒ»¸ö×Ö·û´®£¬Í³¼ÆÓ¢ÎÄ×Öĸ¡¢¿Õ¸ñ¡¢Êý×ÖºÍÆäËû×Ö·ûµÄ¸öÊý¡£
02
03 // The beginning of C program: test06-05.c.
04  ......
Îĵµ´´½¨ÈÕÆÚ£º2010-02-19
01 // P173: 2.±à³ÌÌâ (7)
02
03 // The beginning of C program: test06-07.c.
04
05 // ......
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 ......
1.
¸ÅÊö
¸ù¾ÝÒÔǰѧϰÄÚºËÔ´ÂëµÄ¾Ñ飬ÔÚѧϰÎļþϵͳʵÏÖ֮ǰ£¬ÎÒ´ó¸Å¶¨Á˸öÄ¿±ê£º
1
¡¢
½¨Á¢Ò»¸öÇåÎúµÄÈ«¾Ö¸ÅÄΪ½«À´ÐèÒªÑо¿´úÂëϸ½Ú´òϼáʵ»ù´¡¡£
2
¡¢
Ö»Ñо¿ÐéÄâÎļþϵͳ VFS
µÄʵÏÖ£¬²»Ñо¿¾ßÌåÎļþϵͳ¡£
ΪʲôѡÔñ Linux 2.4.30
£¿ÒòΪ¿ÉÒԲο¼¡ ......