Steps to setup the SVN repository on the cloud instance (http://www.ange-agostini.com/blog/it/5-minutes-to-set-up-a-subversion-server-in-the-cloud.html):
---------------------------------------------------------------------------------------------------------------------------------
ANOTHER WAY:
Steps given at https://forums.aws.amazon.com/thread.jspa?messageID=209468:
I signed up for an EC2 free tier tonight intending to use it as a Subversion server. The whole process took a couple of hours to setup, but can be compressed down to just a few minutes. If anybody else is looking to do the same, here is what I did:
1) Create the Linux-flavored micro instance.
2) Give it a Security Group that opens port 3690 to the sources of your choice. The following example allows SVN access from all Internet sources:
4) Create the directory to be used for subversion, for example "/home/ec2-user/svn".
5) Enter "svnadmin create /home/ec2-user/svn" (or whichever path you specified).
6) Edit two files: svnserve.conf and passwd both found in the "conf" directory of your newly created repository source.
In svnserve.conf, unremark the lines for "anon-access" (but change from "read" to "none") and "auth-access". Additionally, unremark the "password-db = passwd" line, but don't change it, and unremark the "realm =" line, providing a realm name of your choice.
In the passwd file, simply add a line entry with the user name(s) and password(s) to be used for access.
7) Finally, run "svnserve -d -r /home/ec2-user/svn" (or again, whichever path you specified) to kick off the instance.
Your Subversion server should now be available at the URL: svn://<yourinstancehostorip>/
Keep in mind the security for this quick and dirty setup is very minimal, and the daemon has not been configured for automatic startup at this point.
Reading:
http://jonathanhui.com/install-configure-subversion-ec2-amazon-linux
Install subversion, apache and mod_dav_svn:
Edit the Apache configuration file for subversion:
Replace subversion.conf content by:
Create the directory which will contain the subversion repository:
Create the directory which will contain the permissions files.
Create the permission file:
Note: Replace <theUser> by the login you want to use to access your repository.
<theUser> will have read write access to all repositories.
It is possible to setup authorization by group or user for each repository.
Create the password file:
<theUser> will have read write access to all repositories.
It is possible to setup authorization by group or user for each repository.
Create the password file:
Note: Replace <theUser> by the login you want to use to access your repository. Replace <thePassword> by the password you want.
Create a repository (here project1):
Create a repository (here project1):
Change files authorization:
Start apache web server:
Note: to restart server use # sudo service httpd restart
Test subversion
Now subversion and apache should work.
Open a web browser and point to the URL : http://<Public DNS of your EC2 instance>/repos/project1
You should be prompted for your credential (Enter <theUser> <thePassword>) before accessing the repository
Open a web browser and point to the URL : http://<Public DNS of your EC2 instance>/repos/project1
You should be prompted for your credential (Enter <theUser> <thePassword>) before accessing the repository
Subversion client
We are now going to interact with our repository from a windows PC.
If you don’t have a subversion client installed on your PC then you can install one from http://www.sliksvn.com/en/download .
You can test your subversion client from your PC by listing files on your repository:
If you don’t have a subversion client installed on your PC then you can install one from http://www.sliksvn.com/en/download .
You can test your subversion client from your PC by listing files on your repository:
The first time we often want to import some files to the repository:
---------------------------------------------------------------------------------------------------------------------------------
ANOTHER WAY:
Steps given at https://forums.aws.amazon.com/thread.jspa?messageID=209468:
I signed up for an EC2 free tier tonight intending to use it as a Subversion server. The whole process took a couple of hours to setup, but can be compressed down to just a few minutes. If anybody else is looking to do the same, here is what I did:
1) Create the Linux-flavored micro instance.
2) Give it a Security Group that opens port 3690 to the sources of your choice. The following example allows SVN access from all Internet sources:
- | tcp | 3690 | 3690 | 0.0.0.0/0
- | udp | 3690 | 3690 | 0.0.0.0/0
4) Create the directory to be used for subversion, for example "/home/ec2-user/svn".
5) Enter "svnadmin create /home/ec2-user/svn" (or whichever path you specified).
6) Edit two files: svnserve.conf and passwd both found in the "conf" directory of your newly created repository source.
In svnserve.conf, unremark the lines for "anon-access" (but change from "read" to "none") and "auth-access". Additionally, unremark the "password-db = passwd" line, but don't change it, and unremark the "realm =" line, providing a realm name of your choice.
In the passwd file, simply add a line entry with the user name(s) and password(s) to be used for access.
7) Finally, run "svnserve -d -r /home/ec2-user/svn" (or again, whichever path you specified) to kick off the instance.
Your Subversion server should now be available at the URL: svn://<yourinstancehostorip>/
Keep in mind the security for this quick and dirty setup is very minimal, and the daemon has not been configured for automatic startup at this point.
Reading:
http://jonathanhui.com/install-configure-subversion-ec2-amazon-linux
sudo chown -R apache.apache /var/www/svn /var/wwws/vn-auth
ReplyDeleteShould be:
sudo chown -R apache.apache /var/www/svn /var/www/svn-auth
chmod 600 /var/wwws/vn-auth/access /var/www/svn-auth/passwd
ReplyDeleteShould be:
sudo chmod 600 /var/wwws/vn-auth/access /var/www/svn-auth/passwd
Holy crap this website is terrible on mobile.
ReplyDeleteI followed the instructions through "# sudo service https start" and then tested using "http:///repos/project1" (substituted DNS name of EC2 instance and repos name. The result of the test was not as expected/desired. Instead, I got 404 error.
ReplyDeleteCan you please tell me what I need to look for to fix it?
Referenced note from http://hsilomedus.me/index.php/apache-virtual-hosts-wordpress-subversion/ to set up virtual host information in subversion.conf and it worked
ReplyDeletei followed the instructions to the letter but can't authenticate to the repos in chrome i get the connection is not private and in ie it just gives a warning about basic connection
ReplyDeleteI feel really happy to have seen your webpage and look forward to so
ReplyDeletemany more entertaining times reading here. Thanks once more for all
the details.
AWS Training in Bangalore
AWS Training in Bangalore
I am obliged to you for sharing this piece of information here and updating us with your resourceful guidance. Hope this might benefit many learners. Keep sharing this gainful articles and continue updating for us.
ReplyDeletemotorola service center in chennai
Really nice post.provided a helpful information.I hope that you will post more updates like this, AWS Training
ReplyDeleteThis is most informative and also this post most user friendly and super navigation to all posts. Thank you so much for giving this information to me.aws training in bangalore
ReplyDeletesap abap training in bangalore
ReplyDeletesap abap courses in bangalore
sap abap classes in bangalore
sap abap course syllabus
best sap abap training
sap abap training center
sap abap training institute in bangalore
Click here to tech info.
ReplyDeleteA lot of times it’s very hard to get that “perfect balance” between superb usability and visual appeal. I must say you’ve done a very good job with this.
ReplyDeleteaws training in chennai | aws training in annanagar | aws training in omr | aws training in porur | aws training in tambaram | aws training in velachery
very interesting to read.thanks for your article.Angular training in Chennai
ReplyDeleteaz-104 interview questions
ReplyDeletescrum master exam questions/
dp-900 exam questions/
How to Reduce Stress
ReplyDeletehttps://desklib.com/2022/1/29/how-reduce-stress/
ReplyDeleteinstagram takipçi satın al
ReplyDeletecasino siteleri
M50
elf bar
ReplyDeletebinance hesap açma
sms onay
H0JYE
kralbet
ReplyDeletebetpark
tipobet
slot siteleri
kibris bahis siteleri
poker siteleri
bonus veren siteler
mobil ödeme bahis
betmatik
WİM5
bayrampaşa
ReplyDeletegüngören
hakkari
izmit
kumluca
2SBFHZ
salt likit
ReplyDeletesalt likit
RN0E
burdur
ReplyDeletebursa
çanakkale
çankırı
çorum
denizli
diyarbakır
5ZD5SO
https://istanbulolala.biz/
ReplyDeleteSYE
kayseri evden eve nakliyat
ReplyDeleteaydın evden eve nakliyat
kütahya evden eve nakliyat
gümüşhane evden eve nakliyat
balıkesir evden eve nakliyat
O8N2W
صيانة افران الغاز بمكة 3hMmeafmvp
ReplyDeleteشركة تنظيف مكيفات بالاحساء G8DD
ReplyDelete