Skip to content

Instantly share code, notes, and snippets.

@niraj-shah
Last active May 10, 2018 15:21
Show Gist options
  • Select an option

  • Save niraj-shah/e1d7ce770830cf8fb321555ee9ccd3e0 to your computer and use it in GitHub Desktop.

Select an option

Save niraj-shah/e1d7ce770830cf8fb321555ee9ccd3e0 to your computer and use it in GitHub Desktop.

Revisions

  1. niraj-shah revised this gist May 10, 2018. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions verify_svn.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    # find installed svn apache modules
    httpd -M | grep svn
  2. niraj-shah revised this gist May 10, 2018. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions pre_main_global.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    # enable the svn apache modules
    LoadModule dav_svn_module /usr/lib64/apache2/modules/mod_dav_svn.so
    LoadModule authz_svn_module /usr/lib64/apache2/modules/mod_authz_svn.so
  3. niraj-shah created this gist May 10, 2018.
    17 changes: 17 additions & 0 deletions download_svn.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    # move to home directory
    cd ~/

    # download svn source
    wget https://archive.apache.org/dist/subversion/subversion-1.7.14.tar.bz2

    # extract source
    tar -xzvf subversion-1.7.14.tar.bz2

    # enter extracted directory
    cd subversion-1.7.14

    # configure svn
    ./configure --with-apr=/opt/cpanel/ea-apr16/bin/apr-1-config --with-apr-util=/opt/cpanel/ea-apr16/bin/apu-1-config --with-apxs=/usr/bin/apxs --with-neon=/usr/local

    # make and install
    make && make install
    2 changes: 2 additions & 0 deletions software_setup.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    # run as root
    yum install ea-apache24-devel subversion