- Subversion
- Apache Web server
- Ubuntu (Soon i'll publish for Windows)
Install Apache server on ubuntu
make sure your Apache server is up and running
Install subversion on ubuntu
The above command installs subversion but in order to access your subversion via internet you need to configure your subversion with Apache. Subversion provides module to interact with Apache such as libapache2-svn, install the package using the following command:
Subversion configuration
Create a subversion folder to hold all the repositories.Once you create the subversion directory open and edit the subversion configuration file located in the "mods-enabled" in the "apache2" located in "etc" with following command.
uncomment the following line in the dav_svn.conf file
Once the configuration finished. Create the user craditial to login to the subversion with the following command:
Restart the Apache server
Create a simple subversion repository project
Once the project is created, change the permission of the project directory to enable the web user to read/write.
Done! Open the subversion repository by click this link http://localhost/svn/myproject
So far you can access your subversion repository in the local network but you also can make it available to the wide area network with the domestic router and internet connection. I will be posting about it soon as possible.
No comments:
Post a Comment