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

proftpÔÚlinuxϰ²×°ÅäÖÃÖ¸ÄÏ


proftpÔÚlinuxϰ²×°ÅäÖÃÖ¸ÄÏ
Ò»¡¢°²×°»·¾³
¡ô Red Hat AS 5.0
¶þ¡¢°²×°°ü×¼±¸
¡ô proftpd-1.3.2.tar.gz
Èý¡¢Ð½¨Ä¿Â¼
¡ô /usr/app/
ËÄ¡¢°²×°²½Öè
¡ô Óû§£ºroot
¡ô ½«Ñ¹ËõÎļþ£ºproftpd-1.3.2.tar.gz¿½±´µ½/usr/app/ÏÂÃæ
¡ô ½âѹËõÎļþ
  #cd /usr/app/
  #tar –vzxf proftpd-1.3.2.tar.gz
  #cd proftpd-1.3.2
¡ô °²×°²½Öè
  #./configure
  # make && make install
Îå¡¢ÅäÖÃ
#vi /usr/local/etc/proftp.conf
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
 
ServerName                  "ProFTPD Default Installation"
ServerType                   standalone
DefaultServer               on
 
# Port 21 is the standard FTP port.
Port                      2120
 
# Don't use IPv6 support by default.
UseIPv6                       off
 
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask                         022
 
# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mod


Ïà¹ØÎĵµ£º

Interrupt in Linux£¨Ó²¼þƪ£©—— APIC

1.2ÏÖ´úµÄAPIC
APICËäºÅ³ÆÏÖ´ú£¬µ«Ò²³öÏÖ10¼¸ÄêÁË£¬PC»úÊг¡×ÜÊǺÜÍí²ÅÄܽӴ¥µ½Ðµļ¼Êõ£¬Ç°ÃæËµÁË£¬ÎÒµÄT42ÓõϹÊÇPICÄØ¡£APICÏà½ÏÓÚPICÀ´Ëµ£¬×î´óµÄÓŵãÊÇÄÜÊÊÓÃÓÚMPƽ̨£¬µ±È»£¬¹Ü½Å¶àÊÇËüÁíÒ»¸öÓŵ㡣APICÓÉÁ½²¿·Ö×é³É£¬Ò»¸ö³ÆÎªLAPIC£¨Local APIC£¬±¾µØ¸ß¼¶ÖжϿØÖÆÆ÷£©£¬Ò»¸ö³ÆÎªIOAPIC£¨I/O APCI£¬I/O¸ß¼¶ÖжϿØÖÆ ......

linuxÏÂsystem£¨£©Ïê½â £¨×ª£©

linux²Ù×÷ϵͳÏÂsystem () º¯ÊýÏê½â
¡¡¡¡£¨Ö´ÐÐshell ÃüÁ
¡¡¡¡Ïà¹Øº¯Êý
¡¡¡¡fork£¬execve£¬waitpid£¬popen
¡¡¡¡±íÍ·Îļþ
¡¡¡¡££include<stdlib.h>
¡¡¡¡¶¨Ò庯Êý
¡¡¡¡int system(const char * string);
¡¡¡¡º¯Êý˵Ã÷
¡¡¡¡system()»áµ÷ÓÃfork()²úÉú×Ó½ø³Ì£¬ÓÉ×Ó½ø³ÌÀ´µ÷ÓÃ/bin/sh-c stringÀ´Ö´ÐвÎÊýstring ......

LINUX½ø³Ì¼äͨÐÅ

                                     Linux ½ø³Ì¼äͨÐÅѧϰ
1.Linux ¼ä½ø³ÌͨÐŵķÖÀà
1.   ¹ÜµÀͨÐÅ£¨pipe£©ºÍÃü ......

JDK1.6ÔÚLINUXϵݲװºÍÅäÖÃ

     1.JDK1.6°²×°×¼±¸
¡¡¡¡´Ósun¹«Ë¾ÍøÕ¾www.sun.comÏÂÔØlinux°æ±¾µÄjdk,ÎÒÏÂÔØµÄ°æ±¾ÊÇJDK 6 Update 7,
¡¡¡¡µØÖ·http://java.sun.com/javase/downloads/index.jsp
¡¡¡¡jdk-6u7-linux-i586.bin,´ò¿ªÖÕ¶Ë£¬ÓÃcdÃüÁî½øÈëjdkËùÔÚĿ¼,Ö´Ðи´ÖÆÃüÁî
¡¡¡¡sudo cp jdk-6u7-linux-i586.bin /usr
¡¡¡¡¼´½ ......

Linux ÃüÁî

++²é¿´Ó²ÅÌʹÓÃÇé¿ö
df –m
++²é¿´Ä¿Â¼µÄ´óС
du –sh dirname
++ÏÔʾÄÚ´æÊ¹ÓÃÇé¿ö
free –m
++¶Ë¿ÚµÄÏêϸÁбí
/etc/services
++ÏÔʾ×îºóÒ»¸öµÇ¼µ½ÏµÍ³µÄÓû§
last
++²é¿´Ó²Å̵ÄʹÓÃÇé¿ö
df -k ÒÔKΪµ¥Î»ÏÔʾ
df -h ÒÔÈËÐÔ»¯µ¥Î»ÏÔʾ£¬¿ÉÒÔÊÇb,k,m,g,t.. ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ