Ïê½âLinuxϵͳÐ޸Ļ·¾³±äÁ¿PATH·¾¶µÄ·½·¨
µçÄÔÖбز»¿ÉÉٵľÍÊDzÙ×÷ϵͳ¡£¶øLinuxµÄ·¢Õ¹·Ç³£Ñ¸ËÙ£¬Óиϳ¬Î¢ÈíµÄÇ÷ÊÆ¡£ÕâÀï½éÉÜLinuxµÄ֪ʶ£¬ÈÃÄãѧºÃÓ¦ÓÃLinuxϵͳ¡£±ÈÈçÒª°Ñ/etc/apache/binĿ¼Ìí¼Óµ½PATHÖУ¬·½·¨ÓÐÈý£º
1.#PATH=$PATH:/etc/apache/bin
ʹÓÃÕâÖÖ·½·¨,Ö»¶Ôµ±Ç°»á»°ÓÐЧ£¬Ò²¾ÍÊÇ˵ÿµ±µÇ³ö»ò×¢ÏúϵͳÒÔºó£¬PATH ÉèÖþͻáʧЧ
2.#vi /etc/profile
ÔÚÊʵ±Î»ÖÃÌí¼Ó PATH=$PATH:/etc/apache/bin £¨×¢Ò⣺£½ ¼´µÈºÅÁ½±ß²»ÄÜÓÐÈκοոñ£©
ÕâÖÖ·½·¨×îºÃ,³ý·ÇÄãÊÖ¶¯Ç¿ÖÆÐÞ¸ÄPATHµÄÖµ,·ñÔò½«²»»á±»¸Ä±ä
3.#vi ~/.bash_profile
ÐÞ¸ÄPATHÐÐ,°Ñ/etc/apache/binÌí¼Ó½øÈ¥
ÕâÖÖ·½·¨ÊÇÕë¶ÔÓû§Æð×÷ÓõÄ
×¢Ò⣺Ïë¸Ä±äPATH£¬±ØÐëÖØÐµÇ½²ÅÄÜÉúЧ£¬ÒÔÏ·½·¨¿ÉÒÔ¼ò»¯¹¤×÷£º
Èç¹ûÐÞ¸ÄÁË/etc/profile£¬ÄÇô±à¼½áÊøºóÖ´ÐÐsource profile »ò Ö´ÐеãÃüÁî ./profile,PATHµÄÖµ¾Í»áÁ¢¼´ÉúЧÁË¡£
Õâ¸ö·½·¨µÄÔÀí¾ÍÊÇÔÙÖ´ÐÐÒ»´Î/etc/profile shell½Å±¾£¬×¢ÒâÈç¹ûÓÃsh /etc/profileÊDz»Ðеģ¬ÒòΪshÊÇÔÚ×Óshell½ø³ÌÖÐÖ´Ðе쬼´Ê¹PATH¸Ä±äÁËÒ²²»»á·´Ó¦µ½µ±Ç°»·¾³ÖУ¬µ«ÊÇsourceÊÇÔÚµ±Ç° shell½ø³ÌÖÐÖ´Ðеģ¬ËùÒÔÎÒÃÇÄÜ¿´µ½PATHµÄ¸Ä±ä¡£
ÕâÑùÄã¾Íѧ»áLinuxϵͳÏÂÐ޸Ļ·¾³±äÁ¿PATH·¾¶µÄ·½·¨¡£
Ïà¹ØÎĵµ£º
ʲôÊǵȴý¶ÓÁУ¿
ÔÚÈí¼þ¿ª·¢ÖÐÈÎÎñ¾³£ÓÉÓÚijÖÖÌõ¼þûÓеõ½Âú×ã¶ø²»µÃ²»½øÈë˯Ãß״̬£¬È»ºóµÈ´ýÌõ¼þµÃ
µ½Âú×ãµÄʱºòÔÙ¼ÌÐøÔËÐУ¬½øÈëÔËÐÐ״̬¡£ÕâÖÖÐèÇóÐèÒªµÈ´ý¶ÓÁлúÖÆµÄÖ§³Ö¡£
Linux
ÖÐÌṩÁ˵ȴý¶ÓÁеĻúÖÆ£¬¸Ã»úÖÆÔÚ
ÄÚºËÖÐÓ¦Óúܹ㷺¡£
&n ......
ÉÏÒ»´ÎÓÃlinuxÊÇ2002ÄêÓÃkdevelop¼°qt¿â¿ª·¢¶àýÌåÈí¼þ¡£
ʱ¸ô8ÄêÔÙÒ»´ÎÔÚlinuxϸ㿪·¢£¬ÒÀÈ»²ËÄñ£¬»¹ÊÇÉúÊè¡£
¸Ð¾õ×Ô¼ºµÄ´óÄԵĴ洢¿Õ¼ä£¬Ëæ×ÅÄêÁäµÄÔö¼ÓÔÚ±äС£¬ºÜ¶àŪ¹ýµÄ£¬ÓÖÖ»ÄÜ´ÓͷѧÆð¡£
²»¹ýÓо仰“»îµ½ÀÏ£¬Ñ§µ½ÀÏ”¹þ£¡
²ÑÀ¢£¬²ÑÀ¢¡£
1¡¢±àд¶¯Ì¬¿âµÄc++Îļþ
cvpnlib.cpp cv ......
·¶Àý£º
1¡¢pvs
¡¡¡¡[root@localhost yuanbor]# /sbin/pvs ¼ì²éÊÇ·ñÓÐÖØÃûµÄVG×é
¡¡¡¡2¡¢vgrename
¡¡¡¡[root@localhost yuanbor]#/sbin/vgrename [VG UUID] /dev/VolGroup01 #½«Öظ´µÄVG×é ¸ù¾ÝUUID¸ÄΪ VolGroup01
¡¡¡¡[root@localhost yuanbor]# /sbin/pvs #¼ì²é Ð޸Ľá¹û
¡¡¡ ......
½ñÌì±»ÅóÓÑÎʼ°“LinuxÏ¿ÉÒÔÌæ»»ÔËÐÐÖеijÌÐòô£¿”£¬ÒÔǰÒÀÏ¡¼ÇµÃLinuxÏÂÊÇ¿ÉÒԵ썶øWindows¾Í²»Èã©£¬ÓÚÊÇËæ¿Ú´ðµÀ“OK”¡£½á¹ûÅóÓÑ·¢À´Ò»¸öÖ´Ðнá¹û£º£¨testÕýÔÚÔËÐÐÖУ©
# cp test2 test
cp: cannot create regular file `test': Text file busy
¿´ÆðÀ´ÊdzÌÐò±»Õ¼Óã¬ÎÞ·¨¸²¸Ç¡£ÓÚÊÇ×Ô¼ºÓÖÔÙ× ......
configure: error: Unable to find libgd.(a|so)
Èç¹ûʹÓõÄÊÇubuntu»òdebian¾ÍºÜ¼òµ¥ÁË£¬Ö±½Ósudo apt-get install apache2
libapache2-mod-php5 php5 php5-gd ¾Í»ù±¾Éϸ㶨£¬µ«ÊÇÓÃÔ´´úÂë°²×°»¹ÊǺÜÂé·³¡«
wget http://www.boutell.com/gd/http/gd-2.0.11.tar.gz
tar zxvf gd-2.0.11.tar.gz
cd gd-2.0.11
sudo . ......