How to Install Apache Subversion on Alibaba Cloud


  • Two Alibaba Cloud ECS instances, one installed with an Ubuntu 16.04 server version and the other with an Ubuntu 16.04 desktop version..
  • A static IP address that is set up with one of your ECS instances.
  • A root password that is set up to your instance.

Install Apache Subversion

apt-get install apache2 apache2-utils -y
systemctl start apache2
systemctl enable apache2
apt-get install subversion subversion-tools libapache2-mod-svn libapache2-svn -y

Configure Subversion

svnadmin create /opt/svn/svnrepo
chown -R www-data:www-data /opt/svn/svnrepo
<Location /svn>
DAV svn
SVNParentPath /opt/svn
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /etc/apache2/svn.passwd
Require valid-user
htpasswd -cm /etc/apache2/svn.passwd hitesh
New password: 
Re-type new password:
Adding password for user hitesh
a2enmod dav
a2enmod dav_svn
systemctl restart apache2

Access Repository

svn checkout --username hitesh svnlocalrepo/
Authentication realm: <> Subversion Repository
Password for 'hitesh': *********
ATTENTION! Your password for authentication realm:
<> Subversion Repositorycan only be stored to disk unencrypted! You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible. See the documentation for details.
You can avoid future appearances of this warning by setting the value
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
Store password unencrypted (yes/no)? yes
Checked out revision 0.
cd svnlocalrepo
mkdir testdir
touch testfile1.txt
touch testfile2.txt
A         testdir
A testfile1.txt
A testfile2.txt
Adding         testdir
Adding testfile1.txt
Adding testfile2.txt
Transmitting file data ..done
Committing transaction...
Committed revision 1.

Install Subversion Client and Setup Repository

add-apt-repository ppa:rabbitvcs/ppa
apt-get install rabbitvcs-nautilus3 rabbitvcs-gedit rabbitvcs-cli rabbitvcs-core -y

Original Source




Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website:

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Building a Test Automation Framework from Scratch with Selenium, Java, and TestNG Part — 1

System and Hardware Information using Python — PyShark

.Net Core Benefits: Why It is the most Desirable in 2022

Easy installation media download for busy SharePoint engineers

Tackling Tech’s Trials

What is Scratch Programming?

My Code Plateau Experience

Running Workloads in Kubernetes

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alibaba Cloud

Alibaba Cloud

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website:

More from Medium


Scaling nodes in Kubernetes on a schedule.

How to Connect Elastic Sink Connector with Kafka

Continuous delivery in IBM Cloud — deploying a microservice to Kubernetes in IBM Cloud