LinuxÏÂÅäÖÃNAT·þÎñÆ÷¹²ÏíÉÏÍø
<< LinuxÏÂÅäÖÃNAT·þÎñÆ÷¹²ÏíÉÏÍø >>
content:
0. ±¾´ÎÅäÖõÄÍøÂçµÄÍØÆ˽ṹ:
1. ÅäÖÃIPµØÖ·
. 1.1 ÕýÈ·ÅäÖÃѧУ·ÖÅäµÄIPʹÄÜÕý³£ÉÏÍø
. 1.2 ÐÂÔöeth0±ðÃûÉ豸eth0:0
. 1.3 ÅäÖúó ²é¿´Ò»ÏÂÊÇ·ñÅäÖóɹ¦:
2. ÅäÖ÷ÓÉ
3. ÅäÖÃNAT
4. ´ó¹¦¸æ³É
5. ÅäÖÿͻ§»ú(¿ÉÒÔÊÇwindows»òlinuxµÈÆäËüϵͳ)
0. ±¾´ÎÅäÖõÄÍøÂçµÄÍØÆ˽ṹ:
#
# |
# |
# ========+===============
# |10.3.10.0/24
# |
# |
# |10.3.10.19
# +----+----+ +-------+ +-------+
# | | | | | |
# | linux | | win1 | | win2 |
# |
Ïà¹ØÎĵµ£º
ÎÒÊÇÓÃÐéÄâ»ú×°ÁËLinux£¬ÕæʵϵͳÊÇWindows XP£¬ÔÚWindows XPÏÂÓÃServ-uÈí¼þ¼ÜÉèÁËFTP·þÎñÆ÷£¬È»ºóÎÒÃǾͿÉÒÔÔÚÐéÄâ»úµÄLinuxϵǼ¸ÃFTP·þÎñÆ÷ÏÂÔØ»òÉÏ´«ÎļþÁË£¬²»Í¬µÄ½öÊÇÔÚLinuxÏÂÊÇÔÚÃüÁîÐÐÀïÊäÈëÏà¹ØFTPÃüÁîÀ´Íê³ÉµÄ£¬Ó¦¸ÃÒ²ÓÐÏñFlashFXP¡¢CuteFTPÕâÒ»ÀàµÄLinuxרÓÃÈí¼þ£¬²»¹ýÎҹª¹ÑÎÅ£¬²»Á˽⣬Ҳ¾Í²»ÎóÈË×ÓµÜÁË¡£ ......
ÎÒÃÇÔÚ¸ãÐÔÄܲâÊÔµÄʱºò£¬¶Ôºǫ́·þÎñÆ÷µÄCPUÀûÓÃÂʼà¿ØÊÇÒ»¸ö³£ÓõÄÊֶΡ£·þÎñÆ÷µÄCPUÀûÓÃÂʸߣ¬Ôò±íÃ÷·þÎñÆ÷ºÜ·±Ã¦¡£Èç¹ûǰ̨ÏìӦʱ¼äÔ½À´Ô½´ó£¬¶øºǫ́CPUÀûÓÃÂÊʼÖÕÉϲ»È¥£¬ËµÃ÷ÔÚij¸öµØ·½ÓÐÆ¿¾±ÁË£¬ÏµÍ³ÐèÒªµ÷ÓÅ¡£Õâ¸öÊǼ´Ê¹²»¶®¼¼ÊõµÄÈ˶¼ÈÝÒ×Àí½âµÄÊÂÇé¡£
ÉÏÃæÀí½â¶ÔÂð£¿ÎÒ¸öÈ˾õµÃ²»Ê®·Ö× ......
LINUXÖÐʱ¼äÓÐÁ½ÖÖ£º
1£©ÈÕÀúʱ¼ä
2£©½ø³Ìʱ¼ä
ÈÕÀúʱ¼ä¹ËÃû˼Òå¼´ÓÃÀ´»ñÈ¡ÈÕÀú£»
Ö÷ÒªÉæ¼°µ½µÄº¯ÊýÓУº
time(time_t*);
stime(time_t*);
tm* gmtime(time_t*);
tm* localtime(time_t*);
char *strftime(tm*);
char *asctime(tm*);
time_t* mktime(tm*);
Êý¾Ý½á¹¹ÈçÏ£º
time_t
struct tm{
int tm_se ......