1 | | Installing Trac 0.8.4 on Red Hat Linux 9 |
2 | | |
3 | | ================================ |
4 | | 1. Packages Needed & Preparation |
5 | | ================================ |
6 | | The following are the packages needed to install Trac 0.8.4 successfuly: |
7 | | a. clearsilver-0.9.3.tar.gz |
8 | | b. httpd-2.0.52.tar.bz2 |
9 | | c. pysqlite-1.0.1.tar.gz |
10 | | d. Python-2.3.5.tar.bz2 |
11 | | e. SilverCity-0.9.5.tar.gz |
12 | | f. sqlite-2.8.16.tar.gz |
13 | | g. subversion-1.1.0.tar.gz |
14 | | h. swig-1.3.21.tar.gz |
15 | | i. trac-0.8.4.tar.gz |
| 1 | =Installing Trac 0.8.4 on Red Hat Linux 9= |
| 2 | |
| 3 | ==1. Packages Needed & Preparation== |
| 4 | The following are the packages needed to install Trac 0.8.4 successfuly: |
| 5 | a. clearsilver-0.9.3.tar.gz |
| 6 | b. httpd-2.0.52.tar.bz2 |
| 7 | c. pysqlite-1.0.1.tar.gz |
| 8 | d. Python-2.3.5.tar.bz2 |
| 9 | e. SilverCity-0.9.5.tar.gz |
| 10 | f. sqlite-2.8.16.tar.gz |
| 11 | g. subversion-1.1.0.tar.gz |
| 12 | h. swig-1.3.21.tar.gz |
| 13 | i. trac-0.8.4.tar.gz |
52 | | ======================== |
53 | | 5. Installing Subversion |
54 | | ======================== |
55 | | a. cd /usr/local/RH9 |
56 | | b. tar xzf subversion-1.1.0.tar.gz |
57 | | c. cd subversion-1.1.0;./configure --disable-mod-activation --enable-swig-bindings=python --with-apr=/usr/local/apache2/bin/apr-config --with-apr-util=/usr/local/apache2/bin/apu-config --with-apxs=/usr/local/apache2/bin/apxs --without-berkeley-db --with-zlib --with-swig=/usr/local |
58 | | d. Edit ur Makefile to point PYTHON and -I/usr/include/Python2.2 path to the your installed "python" |
59 | | e. make;make install |
60 | | f. make swig-py;make install-swig-py |
61 | | g. /sbin/ldconfig |
62 | | |
63 | | |
64 | | ===================== |
65 | | 6. Installing SqlLite |
66 | | ===================== |
67 | | a. cd /usr/local/RH9 |
68 | | b. tar xzf sqlite-2.8.16.tar.gz |
69 | | c. cd sqlite-2.8.16;./configure;make;make install |
70 | | d. /sbin/ldconfig |
71 | | |
72 | | |
73 | | ======================== |
74 | | 7. Installing SilverCity |
75 | | ======================== |
76 | | a. cd /usr/local/RH9 |
77 | | b. tar xzf SilverCity-0.9.5.tar.gz |
78 | | c. cd SilverCity-0.9.5;python setup.py build;python setup.py install |
79 | | d. /sbin/ldconfig |
80 | | |
81 | | |
82 | | ========================= |
83 | | 8. Installing ClearSilver |
84 | | ========================= |
85 | | a. cd /usr/local/RH9 |
86 | | b. tar xzf clearsilver-0.9.3.tar.gz |
87 | | c. cd clearsilver-0.9.3;./configure --with-python=/usr/local/bin/python --with-apache=/usr/local/apache2;make;make install |
88 | | d. /sbin/ldconfig |
89 | | |
90 | | |
91 | | ======================= |
92 | | 9. Installing PySqlLite |
93 | | ======================= |
94 | | a. cd /usr/local/RH9 |
95 | | b. tar xzf pysqlite-1.0.1.tar.gz |
96 | | c. cd pysqlite;python setup.py build; python setup.py install |
97 | | d. /sbin/ldconfig |
98 | | |
99 | | |
100 | | ================== |
101 | | 9. Installing Trac |
102 | | ================== |
103 | | a. cd /usr/local/RH9 |
104 | | b. tar xzf trac-0.8.4.tar.gz |
105 | | c. cd trac-0.8.4;python setup.py build;python setup.py install |
106 | | d. /sbin/ldconfig |
107 | | |
108 | | =========================== |
109 | | 10. Finalizing Installation |
110 | | =========================== |
111 | | Create symbolic link for libsvn library to the python2.3 library: |
112 | | a. cd /usr/local/lib/python2.3/site-packages |
113 | | b. ln -s /usr/local/lib/svn-python svn-python |
114 | | c. ln -s /usr/local/lib/svn-python/svn svn |
115 | | d. ln -s /usr/local/lib/svn-python/libsvn libsvn |
116 | | e. /sbin/ldconfig |
117 | | Create the svn project environment: |
118 | | f. svnadmin create --fs-type=fsfs /var/svn |
119 | | Create the trac project environment: |
120 | | g. trac-admin /var/svn/trac_project_env initenv |
121 | | h. You will see the following message below and follow what my options showed: |
| 44 | ==5. Installing Subversion== |
| 45 | a. cd /usr/local/RH9 |
| 46 | b. tar xzf subversion-1.1.0.tar.gz |
| 47 | c. cd subversion-1.1.0;./configure --disable-mod-activation --enable-swig-bindings=python --with-apr=/usr/local/apache2/bin/apr-config --with-apr-util=/usr/local/apache2/bin/apu-config --with-apxs=/usr/local/apache2/bin/apxs --without-berkeley-db --with-zlib --with-swig=/usr/local |
| 48 | d. Edit ur Makefile to point PYTHON and -I/usr/include/Python2.2 path to the your installed "python" |
| 49 | e. make;make install |
| 50 | f. make swig-py;make install-swig-py |
| 51 | g. /sbin/ldconfig |
| 52 | |
| 53 | |
| 54 | ==6. Installing SqlLite== |
| 55 | a. cd /usr/local/RH9 |
| 56 | b. tar xzf sqlite-2.8.16.tar.gz |
| 57 | c. cd sqlite-2.8.16;./configure;make;make install |
| 58 | d. /sbin/ldconfig |
| 59 | |
| 60 | |
| 61 | ==7. Installing SilverCity== |
| 62 | a. cd /usr/local/RH9 |
| 63 | b. tar xzf SilverCity-0.9.5.tar.gz |
| 64 | c. cd SilverCity-0.9.5;python setup.py build;python setup.py install |
| 65 | d. /sbin/ldconfig |
| 66 | |
| 67 | |
| 68 | ==8. Installing ClearSilver== |
| 69 | a. cd /usr/local/RH9 |
| 70 | b. tar xzf clearsilver-0.9.3.tar.gz |
| 71 | c. cd clearsilver-0.9.3;./configure --with-python=/usr/local/bin/python --with-apache=/usr/local/apache2;make;make install |
| 72 | d. /sbin/ldconfig |
| 73 | |
| 74 | |
| 75 | ==9. Installing PySqlLite== |
| 76 | a. cd /usr/local/RH9 |
| 77 | b. tar xzf pysqlite-1.0.1.tar.gz |
| 78 | c. cd pysqlite;python setup.py build; python setup.py install |
| 79 | d. /sbin/ldconfig |
| 80 | |
| 81 | |
| 82 | ==9. Installing Trac== |
| 83 | a. cd /usr/local/RH9 |
| 84 | b. tar xzf trac-0.8.4.tar.gz |
| 85 | c. cd trac-0.8.4;python setup.py build;python setup.py install |
| 86 | d. /sbin/ldconfig |
| 87 | |
| 88 | ==10. Finalizing Installation== |
| 89 | Create symbolic link for libsvn library to the python2.3 library: |
| 90 | a. cd /usr/local/lib/python2.3/site-packages |
| 91 | b. ln -s /usr/local/lib/svn-python svn-python |
| 92 | c. ln -s /usr/local/lib/svn-python/svn svn |
| 93 | d. ln -s /usr/local/lib/svn-python/libsvn libsvn |
| 94 | e. /sbin/ldconfig |
| 95 | Create the svn project environment: |
| 96 | f. svnadmin create --fs-type=fsfs /var/svn |
| 97 | Create the trac project environment: |
| 98 | g. trac-admin /var/svn/trac_project_env initenv |
| 99 | h. You will see the following message below and follow what my options showed: |