ÓÃvsFTPd ¼ÜÉèLinux FTP ·þÎñÆ÷
ÓÃvsFTPdÀ´¼ÜÉèFTP·þÎñÆ÷£¬vsFTPd·þÎñÆ÷ÊÇĿǰ×îºÃµÄFTP·þÎñÆ÷Èí¼þ£¬ÓŵãÊÇÌå»ýС£¬¿É¶¨ÖÆÇ¿£¬Ð§Âʸß,¸ß°²È«ÐÔ¡£
1¡£²é¿´ÊÇ·ñ°²×°ÁËvsFTPdÈí¼þ
[root@linuxsir001 root]# rpm -qa | grep vsftpd
Èç¹ûûÓÐÈκÎÏÔʾ£¬ËµÃ÷ûÓаÑvsFTPd°²×°ÉÏ£¬Èç¹û³öÏÖµÄÊÇÏÂÃæµÄÕâÑùµÄÌáʾ£¬¾ÍÖ¤Ã÷ÒѾ°²×°ÉÏÁË¡£
[root@linuxsir001 root]# rpm -qa | grep vsftpd
vsftpd-1.1.3-8
ÎÒÒÔRedhat 9.0£¬ÒÔÆä×Ô´øµÄvsFTPd°üvsftpd-1.1.3-8°æ±¾À´Îª±¾ÌûÔ¼¶¨¡£
[root@linuxsir001 root]# rpm -ivh vsftpd*.rpm
2¡£´ò¿ªvsFTPd·þÎñÆ÷¡£
[root@linuxsir001 root]# ntsysv
°Ñvsftpd·þÎñÆ÷´ò¿ª£¬Ò²¾ÍÊÇÔÚÔËÐÐ ntsysvÃüÁîºó£¬°Ñvsftpd·þÎñÑ¡ÖС£
[*] vsftpd
3¡£ÔËÐÐ/etc/init.d/vsftpd start
[root@linuxsir001 root]# /etc/init.d/vsftpd start
Ϊ vsftpd Æô¶¯ vsftpd£º [ È·¶¨ ]
[root@linuxsir001 root]#
4¡£ÅäÖÆvsFTPd£¬vsFTPdµÄÔËÐÐÓÐÁ½ÖÖģʽ£¬Ò»ÖÖÊÇstandalone "initd"ģʽ£¬ÁíÍâÒ»ÖÖÊÇxinetdģʽ£¬ÉÏÃæÎÒÃÇËù˵µÄ¾ÍÊÇstandalone "initd"ÔËÐÐģʽ¡£Á½ÖÖģʽÔËÐлúÖÆ²»ÊÇÏàͬµÄ£¬stardard initdģʽ£¬ÊʺÏרҵFTP£¬ÇÒFTP×ÜÊÇÒ»Ö±ÓÐÈË·ÃÎÊ£¬Õ¼ÓÃ×ÊÔ´Ò²ÊDZȽϴó£¬Èç¹ûÄúµÄFTP×ÜÊÇÓÐÈË·ÃÎʺ͵ÇÈë¡£¾ÍÒªÓÃÕâÖÖģʽ¡£Èç¹ûÄúµÄFTP·ÃÎÊÈËÊý±È½ÏС£¬½¨ÒéÄúÓÃxinetdģʽ¡£xinetdģʽ£¬Êǵ±Óû§ÇëÇóʱ£¬vsFTPd²Å»áÆô¶¯¡£
²»Í¬µÄ»·¾³£¬µ±È»µÃÓò»Í¬µÄÆô¶¯Ä£Ê½¡£
Èç¹ûÏëÁ˽â¸ü¶àµÄ£¬ÇëÔÚ±¾ÌûºóÃæ¸úÌû£¬ÎÒ»áÂýÂý²¹³äxinetdģʽ£¬ÒÔ¼°ÐéÄâÓû§ÈçºÎÉèÖ÷½ÃæµÄÎÊÌâ¡£
1]ÎÒÃÇÖ÷Òª°ÑvsFTPdµÄÅäÖÆÎļþ¸ÄһϾÍÐÐÁË¡£ÅäÖÆÎļþÔÚ/etc/vsftpd/vsftpd.conf£¬ÓÃÄúϲ»¶µÄ±à¼Æ÷´ò¿ª¡£Çë²Î¿¼ÏÂÃæµÄÅäÖÆÎļþ¡£
# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are very paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
#
# Allow anonymous FTP?
anonymous_enable=YES
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# ha
Ïà¹ØÎĵµ£º
1¡¢Ê×ÏÈ´Óhttp://qt.nokia.com/downloads ÏÂÔØ“Qt SDK for Linux”£¬°üÀ¨ÁËQT4.6ºÍQT Creator1.3¡£ Download Qt SDK for Linux/X11 32-bit** (353 MB)
2¡¢ÐÞ¸ÄÎļþqt-sdk-linux-x86-opensource-2009.05.binµÄÊôÐÔ£¬ÈÃÆä¿ÉÖ´ÐУº
chmod u+x qt-sdk-linux-x86-opensource-2009.05.bin
3¡¢Ë«»÷qt-sdk-linux- ......
¼Ç¼ÔÚlinuxÏ¿ª·¢Óöµ½µÄ¸÷ÖÖÎÊÌ⣬·½±ãÒÔºó²éÕÒ¡£
1.¹ØÓÚshellÖнű¾µÄÖ´Ðз½Ê½£ºÔÚµ±Ç°½Å±¾Ö´Ðл¹ÊÇÆô¶¯Ò»¸öеÄshell½ø³ÌÀ´Ö´Ðнű¾¡£
¼ÙÉ赱ǰĿ¼ÏÂÓнű¾script.sh¡£
Æô¶¯Ò»¸öеÄshell½ø³ÌÀ´Ö´ÐУº
ÕâÊÇshellÖÐĬÈϵÄÖ´Ðз½Ê½ÊÇÆô¶¯Ò»¸öеÄshell½ø³Ì£¨×Ó½ø³Ì£©À´Ö´Ðнű¾£¬¼´sh script.sh»òÕ߸³Ó ......
1.µãºÅ½ø¶ÈÏÔʾcode 1
#!/bin/sh
#Êä³ö"."½ø¶ÈÌõº¯Êý£¬¼æÈÝbsh¡¢ksh¡¢bash
#Ê×ÏÈtrap 1 2 3 15Ðźţ¬ÖØÒª
trap 'kill $BG_PID;echo;exit' 1 2 3 15
function dots
{
stty -echo >/dev/null 2>&1
  ......
¸Ð¾õ¶ÔÕâ¸öÓÐЩÔΣ¬×öÁ˸öʵÑ飬ŪÇå³þÁË¡£
ʵÑé˼·£¬ÓÃͬһ·Ý´úÂë±àÒëͬʱÉú³É¶¯Ì¬ºÍ¾²Ì¬¿â£¬Í¨¹ý²âÊÔ³ÌÐòµ÷Ó㬿´µ÷ÓõÄÊǶ¯Ì¬¿â»¹ÊǾ²Ì¬¿â¡£
Éú³É¾²Ì¬¿â´úÂ룺
/***********hellod.h*************/
#ifndef _HELLO_S_H
#define _HELLO_S_H
void prints(char *str);
#endif
/*hellod.c*/
#include "hellod ......
Ò»¡¢°²×°·þÎñÆ÷¶Ë
£¨1£©¡¢ÔÚÓÐÁ½¸örmpÎļþµÄĿ¼ÏÂÔËÐÐÈçÏÂÃüÁ
[root@test1 local]# rpm -ivh MySQL-server-5.0.26-0.i386.rpm
ÏÔʾÈçÏÂÐÅÏ¢£º
warning: MySQL-server-5.0.26-0.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing……¡¡¡¡¡¡¡¡¡¡¡¡¡¡##################################### ......