linux×Ô¶¯±¸·ÝÎÊÌâ
ÎÊÌâÊÇÕâÑùµÄ£¬±ÈÈçÎÒÏÖÔÚÔÚ/usrÏÂÓиöĿ¼softÐèÒªÈÃËüÿÌì×Ô¶¯Ñ¹Ëõ´ò°üµ½/opt/ftpµÄĿ¼Ï£¬Ó¦¸ÃÔõÑùŪ£¬ÓÐûÓа취¸úÔÚwindowsϵͳµÄÄǸöwinrarÒ»ÑùµÄʵÏÖ£¬Ã¿Ìì×Ô¶¯´ò°üѹËõ£¬È»ºóÒÔÎļþÃû¼Óµ±Ç°µÄʱ¼äÀ´ÃüÃûÕâ¸ö±¸·ÝÎļþ¡£×îºóÊÇÈçºÎÈÃÕâ¸ö½Å±¾Ã¿Ì춨ʱÔËÐУ¬¾ÍÊÇÀàËÆwindowsµÄ×Ô¶¯ÈÎÎñ¡£Ð»Ð»´ó¼Ò
crontab write a shell script to tar the package and save to /opt/ftp then in crontab set the script running every day Â¥ÉϵÄÄܲ»ÄÜÏñÎÒ˵µÄÄÇÑù£¬Ð´¸öÏ̵߳Ľű¾¸ø°³Õâ²ËÄñ²Î¿¼²Î¿¼°¡£¬¸Õ½Ó´¥ ËùÒÔ²»¶® лл °ÑÕâ¸öÎļþ±£´æ³Ébackup.sh È»ºó chmod +x backup.sh ¶¨Ê±Ö´ÐÐ ±ÈÈçÿÌìÔçÉÏ10µã ÔòÐÞ¸Ä/etc/crontabÎļþ ¼ÓÈëÏÂÃæÒ»¾ä(path¾ÍÊÇÄãbackup.shµÄ·¾¶) 00 10 * * * root /path/backup.sh > /dev/null 2>&1 лл¥Éϵģ¬ÎÒ²âÊÔ²âÊÔ ÍƼöÄãÈ¥¿´¿´¡£ unix/linux ϵͳ×Ô¶¯»¯¹ÜÀí IBMÉϵIJ»´íµÄ¡£ÒýÓà д¸öshellÎļþ #!/bin/sh date=`date +"%Y%m%d"` tar -czvf /opt/ftp/soft_$date.tar.gz /usr/soft ÕâÑùÊÇ¿ÉÒÔÁË µ«ºÃÏñ´ò°üºóµÄÎļþÃû²»´øʱ¼ä¡£Äܲ»ÄÜ°ïÎÒÔÚ¿´¿´ÒýÓà ÒýÓà 3 Â¥ steptodream µÄ»Ø¸´: д¸öshellÎļþ #!/bin/sh date=`date +"%Y%m%d"` tar -czvf /opt/ftp/soft_$date.tar.gz /usr/soft ÕâÑùÊÇ¿ÉÒÔÁË µ«ºÃÏñ´ò°üºóµÄÎļþÃû²»´øʱ¼ä¡£Äܲ»ÄÜ°ïÎÒÔÚ¿´¿´ ÎÒÕâ¶ù´øʱ¼äѽ Ä
Ïà¹ØÎÊ´ð£º
C/C++ code: char Time="2009-9-23"; FILE *fpOut=fopen("1.txt","w+"); if(fpOut==NULL) return ; fwr ......
Á½¸ö»úÆ÷¶¼°²×°µÄÊÇlinuxϵͳ£¬¶¼Óй²ÏíÎļþ¼Ð£¬Ïë´ÓÒ»¸ö»úÆ÷·ÃÎÊÁíÒ»¸ö»úÆ÷µÄÎļþ£¬ÇëÎÊÔõô·ÃÎÊ£¿ ÄÄλ¸ßÊÖÖ¸µãһϣ¿ nfs¹²Ïí£¬±àд/etc/exportsÎļþ Èç¹ûÖ»ÊÇÒª¿½Îļþ¾ÍÓÃscp suggest nfs or samba
......
cvs¹Ù·½²»ÄÜÏÂÔØÁË£¬Ë¸øÎÒÒ»·Ý£¬×îºÃÓÐÅäÖÃ˵Ã÷µÄÎĵµ¡£¡£¡£Ð»Ð»ÁË Ã»ÓУ¬°ï¶¥Ò»Ï¡£ ¹Ù·½²»ÄÜÏÂÔØ ±ðµÄµØ·½»¹ÓÐÏÂÔصĵط½ ÎÒ¸Õ²ÅËÑÁË ¸ÕÏÂÔØÁ˸ö¡£¡£¡£ÊDz»ÊDz»µ½4M°¡¡£¡£¡£cvs-1.12.13.1.tar.tar linu ......
ÎÒÒÆÖ²snapgear£¨ÄÚºË2.4£©µ½IXP425°åÉÏ£¬µ«ÊÇ·¢ÏÖÉèÖÃIPºÍ×ÓÍøÑÚÂëºó£¬Bcast¾ÍÊDz»¶Ô£¬±ÈÈ磺ipΪ10.10.62.X£¬×ÓÍøÑÚÂë²»¹ÜÉèΪʲô£¬Éú³ÉµÄBcastʼÖÕΪ10.255.255.255£»µ±ipÉè³É130.10.10.XÊ ......