|
|
(One intermediate revision by the same user not shown) |
Line 8: |
Line 8: |
| * Build the source | | * Build the source |
| cd httpd-2.2.9 | | cd httpd-2.2.9 |
− | ./configure --enable-ssl --enable-so --enable-dav --prefix=/opt/httpd-2.2.9 | + | ./configure --prefix=/opt/httpd-2.2.9 --enable-modules=most --enable-mods-shared=all |
| make | | make |
| make install | | make install |
Line 30: |
Line 30: |
| ; /opt/httpd-2.2.9/bin/apachectl configtest | | ; /opt/httpd-2.2.9/bin/apachectl configtest |
| : Tests the configuration located at /opt/httpd-2.2.9/conf/httpd.conf | | : Tests the configuration located at /opt/httpd-2.2.9/conf/httpd.conf |
| + | |
| + | === Building Subversion === |
| + | |
| + | * Download subversion source subversion-1.5.2.tar.gz and subversion-deps-1.5.2.tar.gz or newer source code. They will extract into the same directory. |
| + | * Build the source |
| + | cd subversion-1.5.2 |
| + | |
| + | cd apr |
| + | ./configure --prefix=/opt/subversion-1.5.2/apr |
| + | make |
| + | make install |
| + | cd .. |
| + | |
| + | cd apr-util |
| + | ./configure --prefix=/opt/subversion-1.5.2/apr-util --with-apr=/opt/subversion-1.5.2/apr |
| + | make |
| + | make install |
| + | cd .. |
| + | |
| + | cd neon |
| + | ./configure --prefix=/opt/subversion-1.5.2/neon |
| + | make |
| + | make install |
| + | cd .. |
| + | |
| + | ./configure ./configure --prefix=/opt/subversion-1.5.2 \ |
| + | --with-apxs=/opt/httpd-2.2.9/bin/apxs \ |
| + | --with-apr=/opt/subversion-1.5.2/apr \ |
| + | --with-apr-util=/opt/subversion-1.5.2/apr-util/ \ |
| + | --with-neon=/opt/subversion-1.5.2/neon/ --with-ssl --without-serf |
| + | make |
| + | |
| + | |
| + | make |
| + | make install |
Latest revision as of 19:05, 25 September 2008
Subversion Server
Subversion needs Apache version 2.x to work.
Building Apache
- Download Apache source httpd-2.2.9.tar.gz or newer source code
- Build the source
cd httpd-2.2.9
./configure --prefix=/opt/httpd-2.2.9 --enable-modules=most --enable-mods-shared=all
make
make install
Configuring Apache
Edit /opt/httpd-2.2.9/conf/httpd.conf
- Replace "Listen 80" with "Listen 8080"
- This version of Apache should run separate from the regular web server. We need to change the port it uses so it does not screw with the existing Apache server.
Using Apache
- /opt/httpd-2.2.9/bin/apachectl start
- Starts the server
- /opt/httpd-2.2.9/bin/apachectl stop
- Stops the server
- /opt/httpd-2.2.9/bin/apachectl configtest
- Tests the configuration located at /opt/httpd-2.2.9/conf/httpd.conf
Building Subversion
- Download subversion source subversion-1.5.2.tar.gz and subversion-deps-1.5.2.tar.gz or newer source code. They will extract into the same directory.
- Build the source
cd subversion-1.5.2
cd apr
./configure --prefix=/opt/subversion-1.5.2/apr
make
make install
cd ..
cd apr-util
./configure --prefix=/opt/subversion-1.5.2/apr-util --with-apr=/opt/subversion-1.5.2/apr
make
make install
cd ..
cd neon
./configure --prefix=/opt/subversion-1.5.2/neon
make
make install
cd ..
./configure ./configure --prefix=/opt/subversion-1.5.2 \
--with-apxs=/opt/httpd-2.2.9/bin/apxs \
--with-apr=/opt/subversion-1.5.2/apr \
--with-apr-util=/opt/subversion-1.5.2/apr-util/ \
--with-neon=/opt/subversion-1.5.2/neon/ --with-ssl --without-serf
make
make
make install