『我願化身石橋
I would turn into a stone bridge
受五百年風吹
endure 500 years of wind
五百年日曬
500 years of sunlight
五百年雨打
500 years of rain』
但求此少女從橋上走過
Only asked that the girl would walk over the bridge.
『我願化身石橋
I would turn into a stone bridge
受五百年風吹
endure 500 years of wind
五百年日曬
500 years of sunlight
五百年雨打
500 years of rain』
但求此少女從橋上走過
Only asked that the girl would walk over the bridge.
This follows on from previous tutorial to install SVN in Debian: https://www.tchan4.com/main/2013/01/19/subversion-svn-on-debian-6-32-bit-for-dummies-tutorial/
Download and install ViewVC
sudo apt-get install viewvc
Edit the SVN configuration file (if you don’t know how to use vim, you can download this file and edit it using a text editor)
sudo vim /etc/apache2/mods-enabled/dav_svn.conf
Add this line to the end of the dav_svn.conf file
ScriptAlias /viewvc /usr/lib/cgi-bin/viewvc.cgi
Now edit the viewvc.conf file
sudo vim /etc/viewvc/viewvc.conf
Look for root_parents and uncomment this (remove # symbol), change the line to:
root_parents = /var/www : svn
Restart apache server
sudo /etc/init.d/apache2 restart
You can now access viewvc at: http://example.com/viewvc/
This tutorial has been only tested on Debian 6 32-bit, it should work on other operating systems. The tutorial assumes you are familiar with entering basic linux commands. You will need root access!
This tutorial was adapted from: http://www.ultimatewebtips.com/how-to-configure-subversion-svn-with-apache/
—
I will install the SVN repository at this location on my website: http://svn.example.com
Update Aptitude
sudo apt-get update
Install subversion if you haven’t already:
sudo apt-get install subversion
Install apache (this is your web server) if you haven’t already:
sudo apt-get install apache2
Install svn libraries for apache:
sudo apt-get install subversion libapache2-svn
I will now create the repository at this location /var/www/svn
This location can be reached on your internet browser at http://example.com/svn/
mkdir /var/www/svn
Use svnadmin to create the repo at /var/www/svn
svnadmin create /var/www/svn
Verify this location with the following command, you should see: * Verified revision 0
svnadmin verify /var/www/svn
Now the hierarchy of the repo is create (i.e. branches/tags/trunk)
We will first go to your tmp (temporary) folder and create the structure there under a directory called svn
cd /tmp mkdir svn cd svn mkdir branches mkdir tags mkdir trunk
The svn folder containing branches/tags/trunk is now imported to your svn repo created earlier at /vaw/www/svn
The ‘first import’ part is the comment for this revision.
svn import /tmp/svn file:///var/www/svn -m "first import"
Now we will password protect this directory so your svn repo is not public to the world. Replace username and password correspondingly.
htpasswd -cb /var/www/svn/htpasswd username password
This steps adds the subdomain http://svn.example.com to point to http://example.com/svn/
You will need to know how to use vim in this step or you could use a ssh browser and download and edit this file…
cd /etc/apache2/ vim httpd.conf
Your httpd.conf file should look like this (remember to change svn.example.com):
<table> <tbody> <tr> <td> <pre>LoadModule dav_svn_module modules/mod_dav_svn.so LoadModule authz_svn_module modules/mod_authz_svn.so <VirtualHost *:80> ServerName example.com DocumentRoot /var/www/ </VirtualHost></pre> <pre><VirtualHost *:80> ServerName svn.example.com DocumentRoot /var/www/svn <Directory /var/www/svn> AllowOverride All Options MultiViews -Indexes Includes FollowSymlinks <IfModule mod_access.c> Order allow,deny Allow from all </IfModule> </Directory> # WebDAV access <Location /> DAV svn SVNPath /var/www/svn AuthType Basic AuthName "Your message for this realm" AuthUserFile /var/www/svn/htpasswd Require valid-user # authentication <LimitExcept GET PROPFIND OPTIONS REPORT> Require valid-user </LimitExcept> </Location> </VirtualHost></pre> </td> </tr> </tbody> </table> Now we will restart your apache server for settings to take effect: /etc/init.d/apache2 restart
If you followed all these steps then hopefully your svn repo should be setup. Test this by visiting svn.example.com
You should see revision 1!
To add additional users to access your repo:
htpasswd /var/www/svn/htpasswd username
C:\Program Files\Microsoft Office\Office 12\Bibliography\Style
IEEE_Reference (download)
http://mikemurko.com/general/ieee-referencing-for-word-2007-2010/