zoukankan      html  css  js  c++  java
  • linux 安装 svn

    简介

    RT

    参考链接

    请参阅下面的链接
    https://idroot.us/install-apache-subversion-ubuntu-20-04/
    ————
    下面的复制以防万一访问失效

    引用步骤

    In this tutorial, we will show you how to install Apache Subversion on Ubuntu 20.04 LTS. For those of you who didn’t know, Subversion is an open-source version control system. It helps you keep track of a collection of files and folders. Any time you change, add or delete a file or folder that you manage with Subversion, you commit these changes to your Subversion repository, which creates a new revision in your repository reflecting these changes. You can always go back, look at and get the contents of previous revisions. SVN supports several protocols for network access: SVN, SVN+SSH, HTTP, HTTPS. If you are behind a firewall, HTTP-based Subversion is advantageous since SVN traffic will go through the firewall without any additional firewall ruleset.

    This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you through the step by step installation Subversion on Ubuntu 20.04 LTS (Focal Fossa). You can follow the same instructions for Ubuntu 18.04, 16.04, and any other Debian based distribution like Linux Mint.

    Install Apache Subversion on Ubuntu 20.04 LTS Focal Fossa
    Step 1. First, make sure that all your system packages are up-to-date by running these following apt commands in the terminal.

    sudo apt update
    sudo apt upgrade
    Step 2. Installing Apache webserver.

    Before starting, Apache web server must be installed on your server. If not installed, you can install it with the following command:

    sudo apt install apache2 apache2-utils
    Step 3. Installing Apache Subversion on Ubuntu 20.04.

    Run the following command to install SVN and all dependencies needed for SVN:

    sudo apt install subversion libapache2-mod-svn subversion-tools libsvn-dev
    Once the package is installed, Now enable Apache2 modules to run SVN to function:

    sudo a2enmod dav
    sudo a2enmod dav_svn
    sudo systemctl start apache2.service
    Step 4. Configure Apache Subversion.

    Subversion Apache module package creates a configuration file /etc/apache2/mods-enabled/dav_svn.conf.You just need to make the necessary changes to it.

    Step 5. Create First SVN Repository.

    Create your first svn repository named first repo, You can use any suitable name:

    sudo mkdir /var/www/svn
    sudo svnadmin create /var/www/svn/project
    sudo chown -R www-data:www-data /var/www/svn
    sudo chmod -R 775 /var/www/svn
    Step 6. Create an account and password for SVN.

    Following commands will add users for svn. It will prompt for users password to be assigned.

    sudo htpasswd -cm /etc/apache2/dav_svn.passwd idroot
    sudo htpasswd -m /etc/apache2/dav_svn.passwd meilana
    Next, restart Apache2 server with the below command:

    sudo systemctl restart apache2.service

  • 相关阅读:
    【缺少kubernetes权限】 namespaces "xxx" is forbidden: User "xxx" cannot xxx resource "xxx" in API group "xxx" in the namespace "xxx"
    【kubernetes secret 和 aws ecr helper】kubernetes从docker拉取image,kubernetes docker私服认证(argo docker私服认证),no basic auth credentials错误解决
    win10老提示系统错误,要注销
    win10无法访问局域网共享文件?解决如此简单。。。。。
    filezilla server老提示connect server
    代理ARP
    win10用filezilla server搭建ftp服务器一直无法访问
    华为路由器GRE配置
    spring笔记--使用springAPI以及自定义类 实现AOP的一个例子
    spring笔记--依赖注入之针对不同类型变量的几种注入方式
  • 原文地址:https://www.cnblogs.com/eat-too-much/p/14128359.html
Copyright © 2011-2022 走看看