Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

LinuxÏÂÅäÖÃApache£¬SubversionºÍTrac

    ×î½üÐèÒªÅäÖÃsvn·þÎñÆ÷¡£ÔÚÍøÉÏÕÒÁËһϣ¬Ñ¡ÔñApache£¬SubversionºÍTrac¡£
    Ê×ÏÈ×¼±¸ÏµÍ³¹âÅÌ¡£ÒòΪÊÇLinux²Ù×÷ϵͳ£¬ËùÒÔ×¼±¸ºÃϵͳÄܽÚʡһЩʱ¼ä£¬±ÈÈçpython-devel¡£µ«ÊÇhttpd£¬subversionºÍtrac»¹ÊÇÏÂÔØÔ´Âë±àÒë°É¡£
    ÏÂÔØÈí¼þ°ü£º
    Genshi-0.5.1 £¨required by Trac-0.11.6£©
    Trac-0.11.6
    apr-1.3.9
    apr-util-1.3.9
    clearsilver-0.10.5 £¨required by Trac-0.11.6£©
    httpd-2.2.14
    mod_python-3.3.1
    subversion-1.6.1
1. °²×°Apache
$ ./configure --enable-dav --enable-so --enable-ssl --enable-maintainer-mode --prefix=/usr/local/apache2 --enable-mods-shared=all
$ make
# make install
°²×°Ä¿Â¼ÊÇ/usr/local/apache2¡£ÐÞ¸Ä/usr/local/apache2/conf/httpd.conf£¨ÏÂÃæÊ¡ÂÔ·¾¶£©ServerName :80¡£
Æô¶¯Apache·þÎñ£º
# /usr/local/apache2/bin/apachectl start
·ÃÎÊhttp://serverip£¬Èç¹û³öÏÖ“It works!” ==¡·Æô¶¯³É¹¦¡£²»³É¹¦µÄ»°¿´¿´usr/local/apache2/log/error.log¡£
2.°²×°aprºÍapr-util
$ cd apr-1.3.9
$ ./configure
$ make
# make install
$ cd apr-util-1.3.9
$ ./configure --with-apr=/usr/local/apr
$ make
# make install
3.°²×°Subversion
$ ./configure --with-apxs=/usr/local/apache2/bin/apxs --prefix=/usr/local/subversion --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-ssl --with-zlib --enable-maintainer-mode --without-berkeley-db PYTHON=/usr/bin/python --with-swig=/usr/bin/swig --enable-shared --enable-static --enable-swig-binding=python
$ make
# make install
°²×°³É¹¦µÄ»°£¬/usr/local/apache2/modulesÀïÓ¦¸ÃÓÐmod_dav_svn.so ºÍmod_authz_svn.so¡£ÔÚhttpd.confÖÐÌí¼Ó£º
LoadModule dav_svn_module     modules/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so
4.°²×°swig-py
$ cd subversion-1.6.1
$ make swig-py
# make install-swig-py
# echo /usr/local/subversion/lib/svn-python > /usr/lib/python/site-packages/subver


Ïà¹ØÎĵµ£º

ÔÚUnix/LinuxÉÏÁî(java)JVMÖ§³ÖÖÐÎÄÊä³ö

Ò»¡¢ÔÚUnix/LinuxÉÏÁîJVMÖ§³ÖÖÐÎÄÊä³ö
Èç¹ûÓû§Ê¹ÓõÄÊÇUNIXµÄÔ¶³Ì·þÎñÆ÷£¬¾Í»áÓöµ½ÖÐÎÄ×ÖÌåÔÚͼÏñÖÐÊä³öµÄÎÊÌâ£¬ÌØ±ðÊÇÓÉÓÚÐí¶à¹ÜÀíÔ±²¢²»Ï²»¶°ÑÖ÷»úµÄlocale¶¨Îªzh(ÒòΪÒâζ×Å¿ÉÄܳöÂÒÂë»ò±ØÐëװ΢ÐÎͼÐÎÖÕ¶ËÏózhcon£¬µ«ºÜ¶àÇé¿öÏÂÕâÑùµÄÌõ¼þ²¢²»¾ß±¸)¡£´ó²¿·Ö³ÌÐòÔ±µÄJAVA¾­Ñé¹¶ÏÞÓÚJSP½Å±¾³ÌÐò£¬²¿·ÖÊìÁ·µÄ³ÌÐòÔ±´ó¸Å¿ ......

ÆÆ½âlinuxÖÐrootÃÜÂë(ת)

1.Æô¶¯linux£¬´ó¸ÅÔÚ2ÃëÖаÉ!¾ÍÕâÑùµÄ½çÃæ!°´ÈýϼüÅÌE
(°´µÚÒ»´ÎE¼ü½øÈëÈçͼ1.)
ͼ1°´µÚ¶þÏÂE¼ü½øÈëÈçͼ2
ͼ2°´µÚÈýÏÂE¼ü½øÈëÈçͼ3
¿´µ½Í¼3µÄ½çÃæÓ¦¸ÃÓÐЩİÉú°É!ÏÖÔÚÎÒÃÇÊäÈëÒ»¾äÃüÁî / 1
(¼ÇµÃ£ºÊäÈë“б¸Ü”ºó°´Ò»Ï“¿Õ¸ñ”ÔÚÊäÈë1£¬½ÓÏÂÈ¥¾Í°´“»Ø³µ¼ü”)
ÊäÈëÃüÁî»Ø³µÖ®ºó£¬Ëü» ......

linux ÏÂc ³ÌÐò ¶Î´íÎó ·ÖÎö


linux ÏÂc ³ÌÐò ¶Î´íÎó ·ÖÎö
(2008-12-31 16:50:57)
var $tag='it';
var $tag_code='2cec03ae0a5b0d224bb35c9b79dd54c7';
±êÇ©£ºit
 
·ÖÀࣺC/C++
fopen("/var/spool/cron/tmp","w+");
/////////////////////////////////////////
#include <sys/types.h>
......

linux cut ÃüÁî

Ò»¸ö·Ç³£ÓÐÓõÄÃüÁÖ÷ÒªÓÃÀ´ÌáÈ¡¸÷ÖÖ¸÷ÑùµÄÊý¾Ý¡£
cut -cchars file
È磺
    -c5     ÌáÈ¡µÚ5¸ö×Ö·û
        -c5-    ÌáÈ¡µÚ5¸ö×Ö·ûÒÔºóµÄ×Ö·û
        -c1,5,12  ÌáÈ¡¶à¸ö×Ö·û£¬Ö ......

LinuxÏÂQT°²×°

Ò»¡¢ÏÂÔØQtÔ´Âë°üµ½±¾»ú£¬È»ºó½âѹËõ
1.ÏÂÔØqt-x11-free-3.2.1.tar.gzºÍqt-x11-opensource-src.tar.gz¶þ½øÖưü¡£
2.ÔÚÖÕ¶ËÇл»ÖÁqt-x11-free-3.2.1.tar.gzËùÔÚĿ¼Ï£¬Ö´ÐУºtar zxvf qt-x11-free-3.2.1.tar.gz -C /usr/local
3.ÒÑͬÑùµÄ·½·¨½«qt-x11-opensource-src-.tar.gzÔ´Âë°ü½âѹËõ µ½/usr/localĿ¼
PS£º£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ