Ubuntu Linuxϵͳ»·¾³±äÁ¿ÅäÖÃÎļþ½éÉÜ
Ubuntu Linuxϵͳ»·¾³±äÁ¿ÅäÖÃÎļþ½éÉÜ
·¢²¼Ê±¼ä£º2007.12.19 06:30 À´Ô´£ºÈüµÏÍø ×÷Õߣºsixth
ÔÚUbuntuÖÐÓÐÈçϼ¸¸öÎļþ¿ÉÒÔÉèÖû·¾³±äÁ¿
/etc/profile:ÔڵǼʱ,²Ù×÷ϵͳ¶¨ÖÆÓû§»·¾³Ê±Ê¹ÓõĵÚÒ»¸öÎļþ,´ËÎļþΪϵͳµÄÿ¸öÓû§ÉèÖû·¾³ÐÅÏ¢,µ±Óû§µÚÒ»´ÎµÇ¼ʱ,¸ÃÎļþ±»Ö´ÐС£
/etc/environment:ÔڵǼʱ²Ù×÷ϵͳʹÓõĵڶþ¸öÎļþ,ϵͳÔÚ¶ÁÈ¡Äã×Ô¼ºµÄprofileÇ°,ÉèÖû·¾³ÎļþµÄ»·¾³±äÁ¿¡£
~/.profile:ÔڵǼʱÓõ½µÄµÚÈý¸öÎļþÊÇ.profileÎļþ,ÿ¸öÓû§¶¼¿ÉʹÓøÃÎļþÊäÈëרÓÃÓÚ×Ô¼ºÊ¹ÓõÄshellÐÅÏ¢,µ±Óû§µÇ¼ʱ,¸ÃÎļþ½ö½öÖ´ÐÐÒ»´Î!ĬÈÏÇé¿öÏÂ,ËûÉèÖÃһЩ»·¾³±äÁ¿,Ö´ÐÐÓû§µÄ.bashrcÎļþ¡£
/etc/bashrc:Ϊÿһ¸öÔËÐÐbash shellµÄÓû§Ö´ÐдËÎļþ.µ±bash shell±»´ò¿ªÊ±,¸ÃÎļþ±»¶ÁÈ¡.
~/.bashrc:¸ÃÎļþ°üº¬×¨ÓÃÓÚÄãµÄbash shellµÄbashÐÅÏ¢,µ±µÇ¼ʱÒÔ¼°Ã¿´Î´ò¿ªÐµÄshellʱ,¸Ã¸ÃÎļþ±»¶ÁÈ¡¡£
Ïà¹ØÎĵµ£º
×î½üÐèÒªÅäÖÃsvn·þÎñÆ÷¡£ÔÚÍøÉÏÕÒÁËһϣ¬Ñ¡ÔñApache£¬SubversionºÍTrac¡£
Ê×ÏÈ×¼±¸ÏµÍ³¹âÅÌ¡£ÒòΪÊÇLinux²Ù×÷ϵͳ£¬ËùÒÔ×¼±¸ºÃϵͳÄܽÚʡһЩʱ¼ä£¬±ÈÈçpython-devel¡£µ«ÊÇhttpd£¬subversionºÍtrac»¹ÊÇÏÂÔØÔ´Âë±àÒë°É¡£
ÏÂÔØÈí¼þ°ü£º
Gen ......
¼ÙÈçÉÏ´«´úÂëµ½SVNÉÏ£¬×î¼òµ¥µÄÒ»ÖÖ·½·¨¾ÍÊÇ£º½øÈë´úÂëĿ¼£¬È»ºó$svn import -m "New import" myqwcode http://192.168.0.222/svn/myqwcode¾Í¿ÉÒÔÁË£¬²»ÐèÒª½¨Á¢ÐÂĿ¼£¡
1¡¢½«Îļþcheckoutµ½±¾µØĿ¼
svn checkout path£¨pathÊÇ·þÎñÆ÷ÉϵÄĿ¼£©
ÀýÈ磺svn checkout svn://192.168.1.1/pro/domain
  ......
ÈÈÐĵãÆÀ£ºÓ²ÅÌ°²×°fedoraµÄ¹æÔò¾ÍÏñÎÒÃǷdz£ÑÇ¿ËÎ÷µÄÕþ²ßÒ»Ñù£¬ ¸æËßÄã²»ÄÜ·¢ËÍyellow¶ÌÐÅ£¬ µ«¾ÍÊDz»¸æËßÄãyellowµÄ³ß¶ÈÊÇʲô£¬ ÄãÖ»ÄÜð×ÅÊÖ»úÍ£»úµÄΣÏÕ£¬²âÊÔÏÂÄÄЩ¶ÌО¿¾¹Éä»ÆÁË¡£ ͨ¹ý²»ÏÂÁ½Î»ÊýµÄÖØÆô£¬ ÃþË÷ÁËÒ»µãµã¹æÔò¡£ OK, ÎÒÏëLinux²»ÊÇgov, °²×°»¹ÊÇÓйæÔò¿ÉÑԵģ¬Ö»ÊÇÎÒÃÇ»¹Ã»ÓÐÕÒµ½Õâ¸öreadme? ´ï ......
2005Äê9ÔÂ22ÈÕ£¬Ç廪ÔÚ¶Á²©Ê¿ÉúÍõÛóÔÚˮľÉçÇøBLOGÉÏ·¢±íÁË¡¶Ç廪ÃεķÛËé--д¸øÇ廪´óѧµÄÍËѧÉêÇë¡·Ã÷È·ÒªÇóÍËѧ, ÒýÆðÉç»á¸÷½ç¹ã·ºÕùÂÛ. Ëû´´×÷µÄ³¤ÆªÎÄÕ¡¶ÍêÈ«ÓÃLinux¹¤×÷¡·, ÑóÑóÁ½Íò¶à×Ö, ´Ó²»Í¬½Ç¶È¾Ó¸ßÁÙϵIJûÊöÁËËûÑÛÖÐLinuxÍêÈ«ÓÅÔ½ÓÚWindowsµÄ¸÷ÖÖÀíÓÉ, ÕâƪÎÄÕ²¢²»¼òµ¥µÄÊÇһƪÂÛÊö"WindowsÄÜ×öµÄÊÂLinux¶¼Ä ......
#protect share data
spin_lock/spin_unlock: protect the data during process context(and only at process context), and make sure your code bewteen lock/unlock is fast enough.There may deadlock if the same spin_lock is called at interrupt context.
spin_lock_irq/spin_unlock_irq: call it during interru ......