To install Apache, simply run the following command from a console:
$ sudo apt-get install apache2
Answer yes when prompted.
However this will only install Apache. We need to have Apache and Subversion
installed on our server. See Appendix A for details of installing Subversion.
Installing Trac
This appendix covers detailed, step-by-step instructions for installing Trac and
its dependencies, and covers Microsoft Windows and Linux. Trac needs to
be installed on your server. You will use a web browser to access it from
other machines.
Trac is very easy to install, but has a number of dependencies that must be satisfied
first. As Trac is written in Python, our first requirement is obvious. There are several
versions of Python available, but the recommended version is 2.4. For data storage
Trac can use a variety of databases. SQLite was the only original option, and remains
the most popular, primarily because it is the easiest to configure. For these reasons
the instructions that follow assume you will also use SQLite.
Keeping your options open
Although these instructions cover only SQLite, you can choose a different
database if you wish. Details of using alternatives can be found at:
http://trac.edgewall.org/wiki/DatabaseBackend
SQLite is unusual in that there is no server software to install.
Pages:
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116