

- #HOW TO CONFIGURE SVN SERVER ON EC2 INSTALL#
- #HOW TO CONFIGURE SVN SERVER ON EC2 CODE#
- #HOW TO CONFIGURE SVN SERVER ON EC2 PASSWORD#
- #HOW TO CONFIGURE SVN SERVER ON EC2 DOWNLOAD#
To copy from an older repo including revisions: You’re done! Connect via Tortoise or your fav svn client using the url above. Verify the subversion repo by opening in a browser: Should show 2:on 3:on 4:on 5:on for httpd To make sure apache always starts on boot:

Will complain about determining domain and using 127.0.0.1, that’s ok # sudo chmod 600 /var/www/svn-auth/access /var/www/svn-auth/passwd # sudo chown -R apache.apache /var/www/svn /var/www/svn-auth

# sudo htpasswd -b /var/www/svn-auth/passwd guest GUESTSPASSWORDĬreate a repository (REPONAME is the name of your repository eg rebuild):Ĭhange files authorization (again after creating new repos too): # sudo htpasswd -b /var/www/svn-auth/passwd colin COLINSPASSWORD # sudo htpasswd -cb /var/www/svn-auth/passwd sarah SARAHSPASSWORD
#HOW TO CONFIGURE SVN SERVER ON EC2 PASSWORD#
# Limit write permission to list of valid users.ĪuthzSVNAccessFile /var/www/svn-auth/accessĬreate the directory which will contain the subversion repository:Ĭreate the directory which will contain the permissions files.Īnd fill it with (replace sarah, colin, guest with your usernames):Ĭreate and add to the password file (use -c the first time to create) LoadModule authz_svn_module modules/mod_authz_svn.so LoadModule dav_svn_module modules/mod_dav_svn.so
#HOW TO CONFIGURE SVN SERVER ON EC2 INSTALL#
Install subversion and mod_dav_svn (should see a long list of all changes):Įdit the Apache configuration file for subversion: # sudo yum groupinstall -y "Web Server" "MySQL Database" "PHP Support" Visit the public ip in your browser: should see Amazon Linux AMI Test Page if Apache is installed and running SSH into your instance using the PPK from amazon ( guide)ĭefault amazon AMI SSH username is ec2-user, no in! Putty hint: right-click to paste clipboard contents. Record your instance IP (YOUR_INSTANCE_IP) Visit the EC2 dashboard, instance should be Running and status checks 2/2
#HOW TO CONFIGURE SVN SERVER ON EC2 DOWNLOAD#
Next page, open HTTP port to all (0.0.0.0) – SSH is already open by defaultĬreate a new key pair when prompted and download the. I chose to put mine in Oregon (us-west-2)Ĭheck “only free” and pick a freebie amazon linux ami They won’t charge you unless you go beyond their free tier I documented the process for my own uses, but here it is for you: Creating an EC2 instance and SSHing in This took me a few hours, some false starts and useful tutorials. For a relatively small project like Rebuild with only a couple contributors and few branches, that’s more than enough, and the equivalent hosted option costs $50/month or more. However, Amazon is offering free linux EC2 servers with 30gb ssd hard drive space. But there are no free or even reasonably-priced hosting options for svn projects unless you make them open source. I am much more comfortable with older, simpler Subversion. There are free hosting services for Git… but after working with it on several projects over many years I still don’t fully understand Git and consistently screw up commits.
#HOW TO CONFIGURE SVN SERVER ON EC2 CODE#
I use Dropbox for large files and Google Drive for documents (both free to a point), and for code I use offsite version control software. But if it should ever happen, we could be up and working again within 24 hours thanks to offsite backups. We take precautions: we lock our doors, keep our laptops out of sight, and try to give off an air of “thrifty backpackers” while actually carrying around $6,000 worth of electronics. We consider ourselves very lucky that we haven’t had our laptops stolen or destroyed in 5 years of travel. Remote backups are crazily important for Colin and I with our nomadic lifestyle.
