svn integration with apache dbd

Ready to work
cd ..
bzip2 -dc temp/apr-1.4.5.tar.bz2 | tar -xf -
bzip2 -dc temp/apr-util-1.3.12.tar.bz2 | tar -xf -
gzip -dc temp/neon-0.29.6.tar.gz | tar -xf -
bzip2 -dc temp/serf-0.7.2.tar.bz2 | tar -xf -
gzip -dc temp/zlib-1.2.8.tar.gz | tar -xf -
unzip -q temp/sqlite-amalgamation-3070603.zip

1、apr
cd ../apr-1.4.8
vim configure

Find $RM "$cfgfile" and comment the line
./configure --prefix=$SVN_INSTALL_DIR/apr
make
make install

2 、 apr-util
cd ../apr-util-1.5.2
./configure --prefix=$SVN_INSTALL_DIR/apr-util --with-apr=$SVN_INSTALL_DIR/apr --with-oracle=$ORACLE_HOME
make
make install

3、pcre
cd ../pcre-8.33
./configure
make
make install

4、Apache
cd ../httpd-2.4.4
rpm -e --nodeps httpd
./configure --prefix=$SVN_INSTALL_DIR/apache2 --with-apr=$SVN_INSTALL_DIR/apr --with-apr-util=$SVN_INSTALL_DIR/apr-util --enable-dav --enable-so --enable-authn_dbd --enable-authn_socache
make
make install

5、SVN
cd ../subversion-1.7.13
./configure --prefix=$SVN_INSTALL_DIR/svn --with-apr=$SVN_INSTALL_DIR/apr --with-apr-util=$SVN_INSTALL_DIR/apr-util --enable-mod-activation --with-apxs=$SVN_INSTALL_DIR/apache2/bin/apxs
make //very slow
make install

6. Configure Apache
cd /inno/app/apache2
vim conf/httpd.conf

Find authn_dbd_module, authn_socache_module, cache_module, socache_shmcb_module, socache_memcache_module, dbd_module, dav_module module, uncomment the line
Find Listen 80, change to Listen 8099
Find ServerName, add a line after the description ServerName localhost:8099
Find DocumentRoot, change it and the line after it The value inside is /inno/browser
hosted SVN
DBDriver oracle
DBDParams "server=serverName user=username pass=password"

DBDMin 5
DBDKeep 5
DBDMax 10
DBDExptime 60

<Location /svn>
DAV svn
SVNParentPath /inno/app/svn/data/
AuthType Basic
AuthName "Hello, welcome to here"
AuthBasicProvider dbd
#AuthUserFile /dev/null
Require valid-user
AuthDBDUserPWQuery "SELECT PASSWORD FROM USER WHERE LOGIN_ID = %s"
</Location>


Configure TomCat
cd $TOMCAT_HOME
vim conf/server.xml

Find the line of <Connector, append URIEncoding="UTF-8" at the end
of the content, be careful not to add it to the commented content
vim bin/catalina.sh
Find the line of $have_tty -eq 1, append a line before
JAVA_OPTS="-server -Xms1024m -Xmx1024m -XX:PermSize=128M -XX:MaxNewSize=256m -XX:MaxPermSize=256m -Djava.awt.headless=true"


Allow Oracle to start
vim /etc/oratab through the command to
find the INNOALM line (usually cut only one line at the end), change the N at the end to Y



Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327009531&siteId=291194637