Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to use version control software SVN under linux server

Shulou Source: shulou.com Published: 2022-06-01 17:50:53 10月06日 Update

This article will explain in detail how to use the version control software SVN under the linux server. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

1. Install the svn rpm package first

Find the version that exists in the rpm package and use the command yum install sunversion... (according to the version of the installation file that exists in the package package)

Create a SVN folder on the linux server and create it personally under / usr/local/:

Mkdir / usr/local/svn

Create the project management directory blog under svn:

Svnadmin create blog

two。 Start the SVN service

Svnserve-dr / usr/local/svn

Install svn client on personal computer and svn checkout under the specified folder

Submitting the project file to the server svn Times incorrectly indicates that the permission is insufficient. Set the conf configuration in blog under svn:

Enter svnserve.conf to set the user name and password:

Enter authz to set user name permissions:

Enter passwd to set the password!

At this time, if normal, you should be able to submit successfully!

3. The project is successfully submitted under the svn management directory, and our default project access directory is under / var/www/html, so we need to checkout it out.

Use the command:

Svn checkout svn://127.0.0.1/blog / var/www/html/blog

At this point, set up the project database configuration and you can access it normally!

This is the end of the article on "how to use the version control software SVN under the linux server". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Tags: Services projects servers versions files directories articles software controls success personal commands passwords folders more permissions users user names administration configuration Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Microsoft NVidia Docker OPPO Reno