LinuxÏÂTrac°²×°±Ê¼Ç
²Î¿¼ÍøÖ·£º
http://trac.edgewall.org/wiki/TracInstall
http://trac.edgewall.org/wiki/TracInstallPlatforms
http://trac.edgewall.org/wiki/TracOnRhel5
http://dag.wieers.com/rpm/FAQ.php#B
http://tech.idv2.com/2008/12/26/install-trac-on-linux/
Èí¼þÏÂÔصØÖ·£º
trac:http://trac.edgewall.org/wiki/TracDownload
Genshi:http://genshi.edgewall.org/wiki/Download
pysqlite:http://download.chinaunix.net/download/0009000/8596.shtml
±¾ÎÄËùÓÃLinux·¢ÐаæΪCentOS5.3°æ±¾£¬httpdΪϵͳ×Ô´ø°æ±¾Îª2.2.3£¬ËùÓÃtrac°æ±¾Îª0.11.5£¬ËùÓÃGenshi°æ±¾Îª0.5.1£¬ËùÓÃpysqlite°æ±¾Îª2.5.5
°²×°TracËù±ØÐëµÄÈí¼þ£º
Python >= 2.3
×¢Ò⣺Èç¹ûÊÇÓÃrpm°²×°µÄpython£¬ÄÇô»¹ÐèÒª°²×°python-develºÍpython-xml°ü¡£
Genshi >= 0.5
¿ÉÑ¡µÄsubversion >= 1.0£¨ÍƼö>=1.1.x£©ºÍsubversionµÄSWIG Python°ó¶¨
PySQLite£¬ÐèÒªÓÃÓÚSQLite 3.x°æ±¾µÄPySQLite 2.x°æ
¿ÉÔËÐÐCGIµÄWeb·þÎñÆ÷
½ÓÏÂÀ´¾ÍÏȽâ¾öÕâЩǰÌáÌõ¼þ
1¡¢ÐÞ¸ÄyumÔ´ÒÔÔö¼Ótrac
rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
2¡¢°²×°ÒÀÀµÈí¼þ
°²×°Ç°Çë²é¿´httpdÊÇ·ñ°²×°ÓÐmod_pythonÄ£¿é£¬Ã»ÓÐÔò°²×°
yum install python python-devel python-setuptools mod_python
3¡¢Èç¹ûÏëÒªÓësvn½áºÏÔòÖ´ÐÐÏÂÌõÓï¾ä£¬·ñÔòÌø¹ý
yum install subversion
4¡¢½«ÏÂÔصÄgenshi½âѹ²¢½øÐа²×°
tar -zxvf Genshi-0.5.1.tar.gz
cd Genshi-0.5.1
python setup.py install
5¡¢½ÓÏÂÀ´ÊÇsubversion¡£¿ÉÒÔÓÃrpm -q subversionÈ·ÈÏ¡£
¶øSWIG°ó¶¨Ò²ÒѾ×Ô´øÁË£¬¿ÉÒÔÓÃÒÔÏÂÃüÁîÈ·ÈÏ
python
>>> import svn.repos
²»±¨´í£¬¾Í˵Ã÷OKÁË¡£
6¡¢È»ºóÈ·ÈÏÒ»ÏÂÒÑ°²×°µÄsqlite°æ±¾£¬²¢°²×°sqlite-devel°ü£¨ÓÃÀ´±àÒëPySQLite£©
yum install sqlite sqlite-devel
½ÓÏÂÀ´°²×°pysqlite
tar -zxvf pysqlite-2.5.5.tar.gz
cd pysqlite-2.5.5
python setup.py install
7¡¢°²×°Trac£¬½âѹ°²×°°üºó½øÈë½âѹµÄÎļþ¼Ð£¬Ö´ÐÐÈçÏÂÃüÁ
python setup.py instal
ÅäÖÃWeb·þÎñÆ÷
ÎÒÃǽ«°Ñ /var/www/trac ×÷ΪÏîÄ¿µÄÖ÷Ŀ¼£¬ËùÓÐн¨µÄtracÏîÄ¿¶¼·ÅÔÚ¸ÃĿ¼Ï£¬·ÃÎÊURLΪ/trac/<ÏîÄ¿Ãû>¡£
Ê×ÏÈÈ·ÈÏ°²×°ÁË httpd ºÍ mod_python£¬´Ëʱ/etc/httpd/conf.dÏÂÓ¦¸ÃÓиöpython.confÎļþ¡£Ö®ºó£¬ÔÚ/etc/httpd/conf.dϽ¨Á¢Ò»¸ötrac.
Ïà¹ØÎĵµ£º
±¾ÎĽ²ÊöÁËLinuxÃüÁîÐб༿ì½Ý¼üµÄ·½·¨£¬Ï£Íû¶ÔÄúÓÐËù°ïÖú¡£
LinuxÃüÁîÐб༿ì½Ý¼ü£º
history ÏÔʾÃüÁîÀúÊ·Áбí
↑(Ctrl+p) ÏÔʾÉÏÒ»ÌõÃüÁî
↓(Ctrl+n) ÏÔʾÏÂÒ»ÌõÃüÁî
!num Ö´ÐÐÃüÁîÀúÊ·ÁбíµÄµÚnumÌõÃüÁî
!! Ö´ÐÐÉÏÒ»ÌõÃüÁî
!?string? Ö´Ðк¬ÓÐstring×Ö·û´®µÄ×îÐÂÃüÁî
Ctrl+r È»ºóÊäÈëÈô¸É×Ö· ......
Linux»·¾³½ø³Ì¼äͨÐÅ£¨ËÄ£©
ÐźŵÆ
ÎĵµÑ¡Ïî
<tr
valign="top"><td width="8"><img alt="" height="1" width="8"
src="//www.ibm.com/i/c.gif"/></td><td width="16"><img alt="" width="1 ......
Linux»·¾³ÏÂÅжϷþÎñÆ÷ÊÇ·ñÕý³£¹Ø»ú
2009-05-17 À´×Ô£ºZDNet ÊÕ²Ø
ϵͳÆô¶¯µÄʱºòÉú³ÉÒ»¸öÎļþ£¬Õý³£¹Ø»úµÄʱºòÔòɾ³ýÕâ¸öÎļþ£¬Ôò¿ÉÒÔ¸ù¾Ýϵͳ¿ª»úʱÓÐûÓÐÄǸöÎļþÀ´ÅжÏÊDz»ÊÇ·ÇÕý³£¹Ø»ú¡£
ϵͳÆô¶¯µÄʱºòÉú³ÉÒ»¸öÎļþ£¬Õý³£¹Ø»úµÄʱºòÔòɾ³ýÕâ¸öÎļþ£¬Ôò¿ÉÒÔ¸ù¾Ýϵͳ¿ª»úʱÓÐûÓÐÄǸöÎļþÀ´ÅÐ ......
ÔÚlinuxÏÂÈçºÎ°ÑÒ»¸ölvmµÄÎļþϵͳ/home¼õµ½1G¡£±ÈaixÏÂÂé·³£¬aixÏÂÖ±½Ó°ÑÎļþϵͳËõµ½Ä³¸öÖµ£¬¶ÔÓ¦µÄlv×Ô¶¯¾Í¼õÉÙÁË£¬²»ÏñlinuxÒªÏÈËõСÎļþϵͳ£¬ÔÙËõСlv¡£
suse1:~ # df -m
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/mapper/system-root
5040 299 ......
Linux ±àÒë°²×° MYSQL 5.1 Óë Innodb
±àÒëmysql5
´úÂë:
./configure \
--prefix=/usr/local/mysql \
--localstatedir=/usr/local/mysql/data \
--with-unix-socket-path=/usr/local/mysql/tmp/mysql.sock \
--with-extra-charsets=all \
--with-charset=utf8 \
- ......