DevOps Tools | AWS | Ansible | Chef | Puppet | Jenkins | GIT | SVN | OpenStack

Hello All,

I have written article and posts on Linux Fundamentals as well as Many articles on different different Linux Tools, Linux Services, Linux flavors. Time has now come to move to Advance tools, This is an era of Infrastructure automation, DevOps.

Logos

I will continue to write on Linux, Now Next Target is to write on DevOps tools like
Jenkins – Continuous Integration (CI) and Continuous Delivery (CD)
Ansible, Chef, Puppet – Infrastructure Automation
GIT, SVN – Source Code Management
Docker – Automates the deployment of applications inside software containers
OpenStack – Cloud Software
Amazon Web Services – Public Cloud

Subscribe yourself for Blog updates here: http://eepurl.com/basgDz

I would request you to keep visiting blog for this upcoming posts, Hope this will help you in future.

Note: All logos, trademarks and registered trademarks are the property of their respective owners.

 

Configuring Subversion on Ubuntu

Hi Friends,

I am sharing method to configure Simple Subverion with Basic Authentication on Ubuntu.

To Install Subversion Open Terminal and Execute Following Commands :-
sudo apt-get install subversion libapache2-svn

Now Create Subversion repository in /svn (You can choose your own path)
sudo svnadmin create /svn

Give this permission to that /svn folder

sudo chown -R www-data:www-data /svn

Now We need to edit configuration file to add webDAV module :-
sudo vim /etc/apache2/mods-enabled/dav_svn.conf

The Location elements in configuration file dictates the root directory of subversion.
<Location /svn>
You have to uncomment The DAV line to Enable DAV Module:-
DAV svn (uncomment this line)

Now you have to set the same path which you created with svnadmin command
SVNPath /svn 

To Enable Authentication you need to uncomment Following Three Lines:-
AuthType Basic
AuthName “Subversion Repository”
AuthUserFile /etc/apache2/dav_svn.passwd

To Create user on the repository use, execute following command:
sudo htpasswd2 -cm /etc/apache2/dav_svn.passwd <username>
(
-c use for creating First time user and -m use for enctrypting your in md5 enctyption method)

Restart your apache2 service by executing this command:-
sudo /etc/init.d/apache2 restart

Now test your repository by this way :-
From Local PC :-  http://localhost/svn
From  Remote PC :- http://<your-subversion-computer-ip>/svn

Now If you want all user must be Authenticated for even Read-Access then add this line exact below AuthUserFile
Require valid-user
save & exit from File.

Restart Apache Service :-
sudo /etc/init.d/apache2 restart