Changes between Version 2 and Version 3 of TracOnArchLinux
- Timestamp:
- Jun 25, 2007, 5:57:10 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracOnArchLinux
v2 v3 13 13 === install depend packages from binary === 14 14 {{{ 15 pacman -S mod_python python-pysqlite 15 pacman -S mod_python python-pysqlite subversion 16 16 }}} 17 17 === Download trac from binary === … … 50 50 edit /etc/httpd/conf/httpd.conf, append following line 51 51 {{{ 52 LoadModule python_module /usr/lib/apache/mod_python.so52 LoadModule python_module modules/mod_python.so 53 53 }}} 54 54 … … 60 60 Tips: you can check it by http://your_server_ip/server-info after following config 61 61 {{{ 62 edit /etc/httpd/conf/httpd.conf uncomment following line62 edit /etc/httpd/conf/httpd.conf, uncomment following line 63 63 Include /etc/httpd/conf/extra/httpd-info.conf 64 64 65 edit /etc/httpd/conf/extra/httpd-info.conf modify the "Allow from" to your client ip address65 edit /etc/httpd/conf/extra/httpd-info.conf, modify the "Allow from" to your client ip address 66 66 }}} 67 67 68 68 == setup subversion for each project == 69 {{{ 69 70 mkdir -p $SROOT/$PRJ 70 71 mkdir /tmp/$PRJ … … 76 77 rm -rf /tmp/$PRJ 77 78 svn ls -v file://$SROOT/$PRJ # check it 78 79 }}} 79 80 == setup trac db for each project == 80 81 mkdir -p $TROOT … … 88 89 trac-admin $TROOT/$PRJ initenv $PRJ sqlite:db/trac.db svn $SROOT/$PRJ /usr/share/trac/templates 89 90 }}} 90 91 edit $TROOT/$PRJ/conf/trac.ini 92 {{{ 93 [header_logo] 94 link = http://your_server_ip/prjs 95 [logging] 96 log_type = file <-- we need check log to figure out problems 97 [project] 98 url = http://your_server_ip/prjs/project1 <-- change to $PRJ 99 }}} 91 100 == configure apache == 92 101 {{{ … … 98 107 edit /etc/httpd/conf/extra/httpd-vhosts.conf, append following lines 99 108 <VirtualHost *:80> 100 ServerAdmin dlin@mail.taifex.com.tw101 DocumentRoot /home/trac/ 102 ServerName 192.168.13.203109 ServerAdmin your_name@email.address 110 DocumentRoot /home/trac/ # <- change to $TROOT 111 ServerName your_server_ip 103 112 ErrorLog /var/log/httpd/trac.error_log 104 113 CustomLog /var/log/httpd/trac.access_log common … … 112 121 }}} 113 122 123 to be continue...