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
Ïà¹ØÎĵµ£º
½ñÌìÖÕÓÚ°ÑOmapL137µÄ°å×ÓÅÜÆðÁËLinuxºÍÆä´øµÄdemo¡£ºÏÖÚ´ï¶ÔÕâ¸ö°å×Ó¶«Î÷×öµÄºÜÉÙ£¬°Ñomapl137µÄÌص㶼ûÓÐչʾ³öÀ´¡£¿É¾Í¿àÁËÎÒÃÇÕâЩÏëÒªÓÃÕâ¸öƬ×ÓµÄÈËÁË¡£¹úÄÚÍæÕâ¸öµÄÈË»¹²»¶à£¬ËùÓÐ×ÊÁϾÍÓ²×ÅͷƤÂýÂýÄ¥°É¡£
Ç°¶Îʱ¼äubootÊÇÓÉdspÄDZßÓÃnandwrite¹¤³Ìд½øÀ´µÄ£¬ÆäУÑ鷽ʽºÍubootµÄeccУÑéËƺõÓгåÍ»£¬ ......
linux ÖÐÎÄÏÔʾÂÒÂë½â¾ö°ì·¨
vi /etc/sysconfig/i18n
½«ÄÚÈݸÄΪ
LANG="zh_CN.GB18030"
LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"
SUPPORTED="zh_CN.GB18030:zh_CN:zh:en_US.UTF-8:en_US:en"
SYSFONT="lat0-sun16"
ÕâÑùÖÐÎÄÔÚSSH,telnetÖն˾ͿÉÒÔÕý³£ÏÔʾ
......
Linux
ÏÂÉèÖö˿ÚȨÏÞµÄϵͳµ÷ÓÃÓÐÁ½¸ö£º
ioperm
ºÍ
iopl
¡£
Ò»¡¢
ioperm
ºÍ
iopl
½éÉÜ¡£
1.ioperm
¹¦ÄÜÃèÊö£º
Ϊµ÷Óýø³ÌÉèÖÃ
I/O
¶Ë¿Ú·ÃÎÊȨÄÜ¡£
ioperm
µÄʹÓÃÐèÒª¾ßÓг¬¼¶Óû§µÄȨÏÞ£¬Ö»ÓеͶ˵Ä
[0-0x3ff] I/O
¶Ë¿Ú¿É±»ÉèÖã¬ÒªÏëÖ¸¶¨¸ü¶à¶Ë¿ÚµÄȨÄÜ£¬¿ÉʹÓÃ
iopl
º¯Êý¡£ÕâÒ»µ÷ÓÃÖ»¿ÉÓÃÓ ......
±¾ÎÄÊǽ¨Á¢ÔÚÇ°ÃæµÄ¿ª·¢»·¾³ÒѾ³É¹¦½¨Á¢µÄ»ù´¡Ö®Éϵġ£Èç¹ûûÓн¨Á¢ºÃ£¬Çë²ÎÕÕ¡¶ Linux Çý¶¯¿ª·¢âÒ¶¡½âÅ£Ö®Ò» —— ¿ª·¢»·¾³µÄ½¨Á¢¡·¡£
ÒѾÓкܶàÎĵµ½²ÊöÄ£¿é±à³Ì£¬¸öÈ˾õµÃ¡¶ The Linux kernel module programming guide ¡·ÊÇ×îÏ꾡µÄ¡£±¾ÎIJ»ÔÙÁ¢×ãÓÚ´ÓÀíÂÛÉÏÈ¥²ûÊöÄ£¿é±à³ÌµÄÏà¹Ø֪ʶ£¬¶ø×ÅÖØ´Óʵ¼ùµÄ» ......
++²é¿´Ó²ÅÌʹÓÃÇé¿ö
df –m
++²é¿´Ä¿Â¼µÄ´óС
du –sh dirname
++ÏÔʾÄÚ´æʹÓÃÇé¿ö
free –m
++¶Ë¿ÚµÄÏêϸÁбí
/etc/services
++ÏÔʾ×îºóÒ»¸öµÇ¼µ½ÏµÍ³µÄÓû§
last
++²é¿´Ó²Å̵ÄʹÓÃÇé¿ö
df -k ÒÔKΪµ¥Î»ÏÔʾ
df -h ÒÔÈËÐÔ»¯µ¥Î»ÏÔʾ£¬¿ÉÒÔÊÇb,k,m,g,t.. ......