linuxÏÂsvnÃüÁî´óÈ«
תÔØ×Ô
http://blog.csdn.net/lyd518/archive/2008/08/19/2797134.aspx
1¡¢
½«Îļþcheckoutµ½±¾µØĿ¼
svn checkout
path£¨pathÊÇ·þÎñÆ÷ÉϵÄĿ¼£©
ÀýÈ磺svn checkout svn:
//
192.168
.
1.1
/
pro
/
domain
¼òд£ºsvn co
2¡¢
Íù°æ±¾¿âÖÐÌí¼ÓеÄÎļþ
svn
add
file
ÀýÈ磺svn
add
test.php(Ìí¼Ótest.php)
svn
add
*
.php(Ìí¼Óµ±Ç°Ä¿Â¼ÏÂËùÓеÄphpÎļþ)
3¡¢
½«¸Ä¶¯µÄÎļþÌá½»µ½°æ±¾¿â
svn commit
-m
“
LogMessage
“
[
-N
]
[
--no-unlock
]
PATH
(Èç¹ûÑ¡ÔñÁ˱£³ÖËø£¬¾ÍʹÓÖno-unlock¿ª¹Ø)
ÀýÈ磺svn commit -m
“
add test file for my test
“
test.php
¼òд£ºsvn ci
4¡¢
¼ÓËø/½âËø
svn lock
-m
“
LockMessage
“
[
--force
]
PATH
ÀýÈ磺svn lock -m
“
lock test file
“
test.php
svn unlock
PATH
5¡¢
¸üе½Ä³¸ö°æ±¾
svn update -r
m path
ÀýÈ磺
svn updateÈç¹ûºóÃæûÓÐĿ¼£¬Ä¬ÈϽ«µ±Ç°Ä¿Â¼ÒÔ¼°×ÓĿ¼ÏµÄËùÓÐÎļþ¶¼¸üе½×îа汾¡£
svn update -r
200
test.php(½«°æ±¾¿âÖеÄÎļþtest.php»¹Ôµ½°æ±¾200)
svn update test.php(¸üУ¬ÓÚ°æ±¾¿âͬ²½¡£Èç¹ûÔÚÌá½»µÄʱºòÌáʾ¹ýÆڵĻ°£¬ÊÇÒòΪ³åÍ»£¬ÐèÒªÏÈupdate£¬ÐÞ¸ÄÎļþ
£¬È»ºóÇå³ýsvn resolved
£¬×îºóÔÙÌá½»commit)
¼òд£ºsvn up
6¡¢
²é¿´Îļþ»òÕßĿ¼״̬
1
£©svn status
path
£¨Ä¿Â¼ÏµÄÎļþºÍ×ÓĿ¼µÄ״̬£¬Õý³£×´Ì¬²»ÏÔʾ£©
¡¾?£º²»ÔÚsvnµÄ¿ØÖÆÖУ»M£ºÄÚÈݱ»Ð޸ģ»C£º·¢Éú³åÍ»£»A£ºÔ¤¶¨¼ÓÈëµ½°æ±¾¿â£»K£º±»Ëø¶¨¡¿
2
£©svn status -v
path
(ÏÔʾÎļþºÍ×ÓĿ¼״̬)
µÚÒ»Áб£³ÖÏàͬ£¬µÚ¶þÁÐÏÔʾ¹¤×÷°æ±¾ºÅ£¬µÚÈýºÍµÚËÄÁÐÏÔʾ×îºóÒ»´ÎÐ޸ĵİ汾ºÅºÍÐÞ¸ÄÈË¡£
×¢£ºsvn status¡¢svn diffºÍ svn revertÕâÈýÌõÃüÁîÔÚûÓÐÍøÂçµÄÇé¿öÏÂÒ²¿ÉÒÔÖ´Ðеģ¬ÔÒòÊÇsvnÔÚ±¾µØµÄ.svnÖб£ÁôÁ˱¾µØ°æ±¾µÄÔʼ¿½±´¡£
¼òд£ºsvn st
7¡¢
ɾ³ýÎļþ
svn delete
path -m
“
delete test fle
“
ÀýÈ磺svn delete svn://
192.168.1.1
/pro/domain/test.php -m
“
delete test file
”
»òÕßÖ±½Ósvn delete test.php È»ºóÔÙsvn ci -m ‘delete test file‘£¬ÍƼöʹÓÃÕâÖÖ
¼òд£ºsvn (del, remove, rm)
8¡¢
²é¿´ÈÕÖ¾
svn log
path
ÀýÈ磺svn log test.p
Ïà¹ØÎĵµ£º
nginxµÄ°²×°
¶ÔÓÚÏÖÔÚÁ÷ÐеÄNginx + Resin£¬ÆäÐÔÄÜ´ó¼Ò¶¼ÓÐÄ¿¹²¶Ã¡£
Ê×ÏÈ£¬°²×°Nginx
¿ÉÒÔ²ÎÊýNginxµÄ°²×°ÎÄÕ£ºhttp://blog.csdn.net/vebasan/archive/2010/02/26/5328494.aspx
Èç¹ûÔÚ°²×°NginxµÄʱºòÌáʾÓÐÎÊÌ⣬¿ÉÒԲο¼£ºhttp://blog.csdn.net/vebasan/archive/2010/02/26/5328545.aspx
ÓйØNginx£¬pcre£¬opensslÏ ......
nginx("engine x")ÊÇÒ»¸ö¸ßÐÔÄܵÄHTTPºÍ·´Ïò´úÀí·þÎñÆ÷£¬ÊÇÓɶíÂÞ˹ÈËIgor Sysoev½¨Á¢µÄÏîÄ¿£¬³¬ÇáÁ¿¼¶£¬³¬¿ì´¦ÀíÄÜÁ¦¡£
ĿǰʹÓõÄnginx°æ±¾ÊÇ0.7.61
nginxµÄ¹ÙÑÔÍøվΪ£ºhttp://nginx.net/
ÏÂÔصØַΪ£ºhttp://sysoev.ru/nginx/nginx-0.7.61.tar.gz
nginxÐèÒªpcreµÄÖ§³Ö£¬ËùÒÔÎÒÃÇÐèÒªÏÂÔØpcre
pcreÈ«ÃûΪPerl Compa ......
×î½ü×¼±¸¸ø¹«Ë¾µÄÍøÕ¾¼Ü¹¹×öϵ÷Õû£¬°²×°²¿ÊðлúÆ÷µÄʱºòÓöµ½Ò»Ð©ÎÊÌ⣬nginxÔÚ°²×°µÄʱºòÒ»Ö±ÌáʾδÕÒµ½openssl
./configure --prefix=/usr/local/nginx
³ÌÐò´úÂë
./configure: error: the HTTP cache module requires md5 functions from OpenSSL library. You can either disable the module by us ......
administer@administer-laptop:~/tem/tt$ cat hello.asm
[section .data]
strHello db "Hello, world!",0Ah
STRLEN equ $-strHello
[section .text]
global _start
_start:
mov edx,STRLEN
mov ecx,strHello
mov ebx,1
mov eax,4
int 0x80
mov  ......
1.ʵÏÖÍâÍø·ÃÎÊÄÚÍøµÄÔ¶³Ì×ÀÃæ
µ¥Î»»úÆ÷·þÎñÆ÷µÄIPµØÖ·ÊÇ10.3.198.108,¿ÉÒÔÉÏÍâÍø,·ÓÉÆ÷ÉÏÉèÖÃÁËÄÚÍøµÄÍâÍøÓ³ÉäµØÖ·,ÄÚÍøµÄµØÖ·ÊÇ192.168.0.*
ÏÖÔÚҪʵÏÖ´Ó10.x.x.xµÄУ԰ÍøÄÚ·ÃÎÊ»òÕß´ÓinternetÍøÂçÉÏ·ÃÎÊ 192.168.0.*µÄÔ¶³Ì×ÀÃæ
·½·¨ÈçÏÂ
ÏÂÔØrinetd
vi /etc/rinetd.conf
--------------------------------------- ......