[go: up one dir, main page]

CN118838636A - Version and authority management method of oversized file - Google Patents

Version and authority management method of oversized file Download PDF

Info

Publication number
CN118838636A
CN118838636A CN202411177110.5A CN202411177110A CN118838636A CN 118838636 A CN118838636 A CN 118838636A CN 202411177110 A CN202411177110 A CN 202411177110A CN 118838636 A CN118838636 A CN 118838636A
Authority
CN
China
Prior art keywords
svn
container
command
docker
directory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202411177110.5A
Other languages
Chinese (zh)
Inventor
王倩男
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yukuai Chuangling Intelligent Technology Nanjing Co ltd
Original Assignee
Yukuai Chuangling Intelligent Technology Nanjing Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yukuai Chuangling Intelligent Technology Nanjing Co ltd filed Critical Yukuai Chuangling Intelligent Technology Nanjing Co ltd
Priority to CN202411177110.5A priority Critical patent/CN118838636A/en
Publication of CN118838636A publication Critical patent/CN118838636A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Automation & Control Theory (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Storage Device Security (AREA)

Abstract

本发明提供一种超大文件的版本和权限管理方法,包括以下步骤:S1:登入NAS并验证NAS上的Docker套件;S2:创建SVN镜像;S3:安装配置SVN及权限;S4:启动和测试SVN服务;本发明提供的方法通过创建目录作为SVN服务器的仓库地址,定制了SVN docker镜像,配置镜像承载容器的端口及映射目录,并在镜像的SVN配置中添加了LDAP的配置,解决了文件体量大时服务器的性能问题和NAS无法进行版本和权限管理问题。The present invention provides a version and permission management method for an ultra-large file, comprising the following steps: S1: logging into NAS and verifying a Docker package on the NAS; S2: creating an SVN image; S3: installing and configuring SVN and permissions; S4: starting and testing the SVN service; the method provided by the present invention customizes the SVN docker image by creating a directory as the warehouse address of the SVN server, configures the port and mapping directory of the image-bearing container, and adds LDAP configuration to the SVN configuration of the image, thereby solving the performance problem of the server when the file volume is large and the problem that NAS cannot perform version and permission management.

Description

Version and authority management method of oversized file
Technical Field
The invention relates to the technical field of computers, in particular to a version and authority management method of an oversized file.
Background
In the research and development process of software, various types of files are usually output, besides code files, files such as design manuscripts, pictures, webpages, scripts and the like are generated, and the files and the codes are possibly input and modified by a plurality of developers and are subject to version evolution along with the whole software development period; in order to save the files safely and effectively coordinate parallel modification of a plurality of developers, the developers can acquire the latest file version in time and easily recover to the previous version, and meanwhile, the files are prevented from being lost and mishandled and need to be version-managed; in addition, the files also belong to the development assets of software, and authority management is required to be carried out on the files, particularly, files with large volumes, proportional design manuscripts, pictures and the like; the size may be hundreds of megabytes or even a few G, and version and rights management is more desirable.
Currently, tools that typically reference sources, such as SVN (version control system), manage the version and rights of files, which keep track of time-varying data, place these data in a central data archive, which records each time the file changes, so that the user can restore the archive to an old version or view the history of the file changes; SVN adopts a client/service system, a local server needs to be built, various versions of the project are stored on the server, program developers firstly obtain the latest version of the project from the server and copy the latest version of the project to the local server, and on the basis, each developer can independently develop the project on the own client and submit new codes to the server at any time; the latest codes on the server can be obtained through updating operation, so that the consistency with the versions used by other developers is maintained; the SVN adopts centralized management, stores contents through a relational database and a binary storage mode, sets rights at a server, and refines according to a directory; as long as the configuration is good at the server, the client only needs to synchronously submit, and the method is convenient to use, simple to operate and easy to get up.
Some companies and organizations will purchase dedicated data storage settings to manage files, such as NAS (network attached storage); NAS is defined as a special dedicated data storage server that includes storage devices (e.g., disk arrays, CD/DVD drives, tape drives, or removable storage media) and embedded system software that can provide cross-platform file sharing functionality; in the configuration, the NAS centrally manages and processes all data on the network, loads are unloaded from application or enterprise servers, the total cost is effectively reduced, and the user investment is protected; the NAS itself can also support multiple protocols (e.g., NFS, CIFS, FTP, HTTP, etc.) and various operating systems; through any workstation, the NAS device can be intuitively and conveniently managed by adopting an IE or Netscape browser without directly surfing the Internet by a server.
However, the management of oversized files in the prior art has the following disadvantages:
The SVN is adopted for version and authority management, and a server with common configuration cannot meet the performance requirement of the server, so that a developer can have low updating speed when operating a file; when a plurality of developers interact with the server even, the phenomenon of blocking possibly occurs, and development work is influenced;
the NAS is adopted to manage the version and the authority, a developer can only upload and delete the file through a browser, and can not review and track the modification history of the file or the directory; in addition, the NAS can only create user and configuration rights from the whole system level, can not perform rights configuration according to the catalogue like SVN, and can not meet the requirement of files on the rights granularity.
Disclosure of Invention
The invention aims to solve the defects in the prior art and provides a version and authority management method of an oversized file.
In order to achieve the above purpose, the invention adopts the following technical scheme:
A version and authority management method of an oversized file comprises the following steps:
s1: logging in the NAS and verifying a Docker suite on the NAS;
The NAS is a network attached storage device;
Inputting an IP address of the NAS in a browser, entering a login interface, and inputting a user name and a password of a root account in the login interface for login;
After the account number is successfully logged in, accessing a suite center, and selecting the latest version dock suite from the suite center for installation;
after the installation is completed, verifying whether the dock kit is successfully installed or not through a command line tool;
specifically, executing a dock version command through a command line tool, if the page of the dock kit can normally display version information, indicating that the dock kit is successfully installed, otherwise, the dock kit is failed to be installed, and reinstalling.
S2: creating an SVN mirror image;
The method comprises the following substeps:
S21: creating a catalog;
Creating a catalog on the NAS through mkdir commands, wherein the catalog is a mapping address of a root catalog of the SVN warehouse and a SVN container;
s22: pulling the centOS image and verifying;
pulling the centOS image from the public resource pool as a base image by docker pull CentOS commands;
The public resource library is an online warehouse for hosting public dock images and comprises various dock images which are already constructed;
the CentOS image is a dock image constructed based on a CentOS operating system;
verifying whether the downloading of the centOS image is successful through docker imsges commands;
Specifically, through docker imsges commands, listing all locally stored docker images, searching whether the output contains a row of the CentOS, and if so, downloading the CentOS images successfully; reverse downloading fails;
s23: creating and starting an SVN container;
Creating an SVN container by using a dock run command, and configuring an SVN container ID, a mapping catalog of the SVN container and a mapping access port of the SVN container based on a CentOS image;
Starting an SVN container, and verifying whether the SVN container is successfully started or not through a dock ps command; specifically, listing all running SVN containers through a dock ps command, checking whether the created SVN containers exist or not, and if so, indicating that the SVN containers are started successfully if the created SVN containers exist and are in a state of up; otherwise, the SVN container fails to start;
s3: installing and configuring SVN and authority;
The method comprises the following substeps:
s31: checking the condition of a currently running container;
Executing a dock ps command to list all containers currently running and displaying basic information of the containers, wherein the basic information comprises container IDs, mirror images, mapping access ports and the like;
s32: installing components required by SVN services in an SVN container;
Obtaining an SVN container ID created in the step S23 according to the basic information of the displayed container, executing a dock exec command to enter the SVN container, and installing components required by SVN service in the SVN container;
the components include httpd, subversion, mod _dav_svn, mod_ldap;
Httped refers to a APACHE HTTP server, subversion refers to a subversion version control system, mod_dav_svn refers to an Apache module of subversion, and mod_ldap refers to an LDAP module of a APACHE HTTP server;
s33: modifying a configuration file of the SVN;
Copying subversion the default configuration file into the configuration file of Apache; the Apache configuration file refers to a folder for storing APACHE HTTP servers;
Further, the system also comprises a loading module, SVN path configuration and LDAP configuration authentication;
The loading module comprises an SVN module for loading and supporting DAV protocol, a module for loading and controlling SVN access, a self-defining module and the like;
the SVN path configuration comprises the steps of configuring an SVN path, enabling a DAV protocol to support SVN, designating the directory created in the step S21 as a root directory of an SVN warehouse, allowing the SVN warehouse directory and contained content to be listed, and designating the position of an authority control file;
The LDAP configuration authentication designates the LDAP as an authentication provider, and a user name and a password are required to be provided during user authentication;
S4: starting and testing SVN service;
The method comprises the following substeps:
S41: starting Apache service and checking Apache service state;
starting APACHE HTTP the server using a start command, restarting the Apache service using a restart command or reloading the configuration file using a reload command if the Apache service is already running;
Checking the state of the Apache service through systemctl command, and if the Apache service operates normally, displaying the active/running state;
S42: configuring directory rights of SVN;
Changing the ownership of the directory created in the step S21 into users and user groups of Apache service;
s43: creating an SVN warehouse and configuring directory rights of the SVN warehouse;
Creating a new SVN warehouse through the create command;
Defining different user groups and users contained in each user group, wherein the user names are consistent with the user names in the LDAP; setting directory authorities of each group to the SVN warehouse according to actual requirements; the directory rights comprise read-write rights, read rights, write rights and the like;
performing an operation of adding, deleting, modifying and checking files in the SVN code warehouse by a developer on the windows system through a client tool TortoiseSVN;
The developer performs the operations of adding, deleting and checking the files in the SVN code warehouse through commands on the linux system;
and a developer uses tools such as a command line SmartSVN and the like to realize the operations of adding, deleting and checking files in the SVN code warehouse on the mac system.
Compared with the prior art, the invention has the beneficial effects that:
the method provided by the invention has the advantages that the directory is established as the warehouse address of the SVN server, the SVN dock mirror image is customized, the port of the mirror image bearing container and the mapping directory are configured, and the LDAP configuration is added in the SVN configuration of the mirror image, so that the performance problem of the server and the problem that the NAS cannot carry out version and authority management when the file volume is large are solved;
According to the method, a developer can directly access an address of the SVN server depending on the NAS through a browser of a local computer, and check or download files in an SVN code warehouse; or on the terminal setting that different operating systems can be connected to the SVN server, the operations of adding, deleting, modifying and checking files in the SVN code warehouse are realized through the LDAP account of the terminal setting, tools or command lines in the authority range.
Detailed Description
For a further understanding of the objects, construction, features, and functions of the invention, reference should be made to the following detailed description of the preferred embodiments.
A version and authority management method of an oversized file comprises the following steps:
s1: logging in the NAS and verifying a Docker suite on the NAS;
The NAS is a network attached storage device;
Inputting an IP address of the NAS in a browser, entering a login interface, and inputting a user name and a password of a root account in the login interface for login;
After the account number is successfully logged in, accessing a suite center, and selecting the latest version dock suite from the suite center for installation;
after the installation is completed, verifying whether the dock kit is successfully installed or not through a command line tool;
specifically, executing a dock version command through a command line tool, if the page of the dock kit can normally display version information, indicating that the dock kit is successfully installed, otherwise, the dock kit is failed to be installed, and reinstalling.
S2: creating an SVN mirror image;
The method comprises the following substeps:
S21: creating a catalog;
Creating a catalog on the NAS through mkdir commands, wherein the catalog is a mapping address of a root catalog of the SVN warehouse and a SVN container;
s22: pulling the centOS image and verifying;
pulling the centOS image from the public resource pool as a base image by docker pull CentOS commands;
The public resource library is an online warehouse for hosting public dock images and comprises various dock images which are already constructed;
the CentOS image is a dock image constructed based on a CentOS operating system;
verifying whether the downloading of the centOS image is successful through docker imsges commands;
Specifically, through docker imsges commands, listing all locally stored docker images, searching whether the output contains a row of the CentOS, and if so, downloading the CentOS images successfully; reverse downloading fails;
s23: creating and starting an SVN container;
Creating an SVN container by using a dock run command, and configuring an SVN container ID, a mapping catalog of the SVN container and a mapping access port of the SVN container based on a CentOS image;
specifically, the mapping directory of the SVN container is configured through the parameter of the name and the parameter of the v, and the mapping access port of the SVN container is configured through the parameter of the p;
Starting an SVN container, and verifying whether the SVN container is successfully started or not through a dock ps command; specifically, listing all running SVN containers through a dock ps command, checking whether the created SVN containers exist or not, and if so, indicating that the SVN containers are started successfully if the created SVN containers exist and are in a state of up; otherwise, the SVN container fails to start;
s3: installing and configuring SVN and authority;
The method comprises the following substeps:
s31: checking the condition of a currently running container;
Executing a dock ps command to list all containers currently running and displaying basic information of the containers, wherein the basic information comprises container IDs, mirror images, mapping access ports and the like;
s32: installing components required by SVN services in an SVN container;
Obtaining an SVN container ID created in the step S23 according to the basic information of the displayed container, executing a dock exec command to enter the SVN container, and installing components required by SVN service in the SVN container;
the components include httpd, subversion, mod _dav_svn, mod_ldap;
Httped refers to a APACHE HTTP server, subversion refers to a subversion version control system, mod_dav_svn refers to an Apache module of subversion, and mod_ldap refers to an LDAP module of a APACHE HTTP server;
The LDAP configuration authentication designates the LDAP as an authentication provider, and a user name and a password are required to be provided during user authentication;
by installing these components, the SVN container can run an Apache server and support access and management of Subversion warehouse through HTTP protocol;
s33: modifying a configuration file of the SVN;
Copying subversion the default configuration file into the configuration file of Apache; the Apache configuration file refers to a folder for storing APACHE HTTP servers;
Further, the system also comprises a loading module, SVN path configuration and LDAP configuration authentication;
The loading module comprises an SVN module for loading and supporting DAV protocol, a module for loading and controlling SVN access, a self-defining module and the like;
the SVN path configuration comprises the steps of configuring an SVN path, enabling a DAV protocol to support SVN, designating the directory created in the step S21 as a root directory of an SVN warehouse, allowing the SVN warehouse directory and contained content to be listed, and designating the position of an authority control file;
The SVN warehouse is accessed through HTTP by modifying the configuration file of SVN, and user authentication is carried out through LDAP; when a user accesses the svn path, a valid LDAP username and password must be provided to access the repository,
S4: starting and testing SVN service;
The method comprises the following substeps:
S41: starting Apache service and checking Apache service state;
starting APACHE HTTP the server using a start command, restarting the Apache service using a restart command or reloading the configuration file using a reload command if the Apache service is already running;
Checking the state of the Apache service through systemctl command, and if the Apache service operates normally, displaying the active/running state;
S42: configuring directory rights of SVN;
Changing the ownership of the directory created in the step S21 into users and user groups of Apache service;
ensuring that the Apache process (or any other process running the SVN service) has the right to access and modify the directory;
s43: creating an SVN warehouse and configuring directory rights of the SVN warehouse;
Creating a new SVN warehouse through the create command;
Defining different user groups and users contained in each user group, wherein the user names are consistent with the user names in the LDAP server; setting directory authorities of each group to the SVN warehouse according to actual requirements; the directory rights comprise read-write rights, read rights, write rights and the like;
performing an operation of adding, deleting, modifying and checking files in the SVN code warehouse by a developer on the windows system through a client tool TortoiseSVN;
The developer performs the operations of adding, deleting and checking the files in the SVN code warehouse through commands on the linux system;
and a developer uses tools such as a command line SmartSVN and the like to realize the operations of adding, deleting and checking files in the SVN code warehouse on the mac system.
The invention has been described with respect to the above-described embodiments, however, the above-described embodiments are merely examples of practicing the invention. It should be noted that the disclosed embodiments do not limit the scope of the invention. On the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

Claims (6)

1.一种超大文件的版本和权限管理方法,其特征在于:包括以下步骤:1. A method for managing versions and permissions of very large files, characterized by comprising the following steps: S1:登入NAS并验证NAS上的Docker套件;S1: Log in to the NAS and verify the Docker package on the NAS; 所述NAS为一种网络附加存储设备;The NAS is a network attached storage device; 在浏览器中输入NAS的IP地址,进入登入界面,在登入界面中输入root账号的用户名和密码进行登入;Enter the IP address of the NAS in the browser to enter the login interface, and enter the root account username and password to log in; 账号登入成功后,访问套件中心,在套件中心选择最新版本docker套件进行安装并验证;After successfully logging in to your account, visit the Package Center and select the latest version of the Docker package to install and verify. S2:创建SVN镜像;S2: Create an SVN mirror; 包括如下子步骤:The following sub-steps are included: S21:创建目录;S21: Create a directory; S22:拉取CentOS镜像并验证;S22: Pull the CentOS image and verify it; S23:创建并启动SVN容器;S23: Create and start the SVN container; S3:安装配置SVN及权限;S3: Install and configure SVN and permissions; 包括如下子步骤:The following sub-steps are included: S31:查看当前正在运行的容器情况;S31: Check the status of the currently running container; S32:在SVN容器中安装SVN服务所需要的组件;S32: Install components required by the SVN service in the SVN container; S33:修改SVN的配置文件;S33: Modify the SVN configuration file; S4:启动和测试SVN服务;S4: Start and test the SVN service; 包括如下子步骤:The following sub-steps are included: S41:启动Apache服务并检查Apache服务状态;S41: Start the Apache service and check the Apache service status; S42:配置SVN的目录权限;S42: Configure the directory permissions of SVN; S43:创建SVN仓库并配置SVN仓库的目录权限。S43: Create an SVN repository and configure directory permissions for the SVN repository. 2.如权利要求1所述的一种超大文件的版本和权限管理方法,其特征在于:2. A method for managing versions and permissions of very large files as claimed in claim 1, characterized in that: 步骤S1中,通过命令行工具验证docker套件是否成功安装;In step S1, verify whether the docker suite is successfully installed through the command line tool; 具体地,通过命令行工具执行docker version命令,如果docker套件页面能够正常显示版本信息,则表示docker套件安装成功,反之安装失败,重新进行安装。Specifically, execute the docker version command through the command line tool. If the docker suite page can display the version information normally, it means that the docker suite is installed successfully. Otherwise, the installation fails and you need to reinstall it. 3.如权利要求1所述的一种超大文件的版本和权限管理方法,其特征在于:3. A method for managing versions and permissions of very large files as claimed in claim 1, characterized in that: 步骤S2具体内容如下:The specific contents of step S2 are as follows: S21:创建目录;S21: Create a directory; 通过mkdir命令在NAS上创建目录,所述目录为SVN仓库的根目录和SVN容器的映射地址;Use the mkdir command to create a directory on the NAS. The directory is the root directory of the SVN repository and the mapping address of the SVN container. S22:拉取CentOS镜像并验证;S22: Pull the CentOS image and verify it; 通过docker pull centos命令从公共资源库拉取CentOS镜像作为基础镜像;Use the docker pull centos command to pull the CentOS image from the public repository as the base image; 所述公共资源库为托管公共docker镜像的在线仓库,包含已经构建好的各种docker镜像;The public resource library is an online repository for hosting public Docker images, including various Docker images that have been built; 所述CentOS镜像是基于CentOS操作系统构建的docker镜像;The CentOS image is a docker image built based on the CentOS operating system; 通过docker imsges命令验证CentOS镜像是否下载成功;Use the docker imsges command to verify whether the CentOS image is downloaded successfully; 具体地,通过docker imsges命令列出所有本地存储的docker镜像,查找输出中是否包含CentOS的行,如果存在,则CentOS镜像下载成功;反之下载失败;Specifically, use the docker imsges command to list all locally stored docker images and check whether the output contains a line with CentOS. If so, the CentOS image is downloaded successfully; otherwise, the download fails. S23:创建并启动SVN容器;S23: Create and start the SVN container; 使用docker run命令创建SVN容器,基于CentOS镜像配置SVN容器ID、SVN容器的映射目录、SVN容器的映射访问端口;Use the docker run command to create an SVN container, and configure the SVN container ID, the mapping directory of the SVN container, and the mapping access port of the SVN container based on the CentOS image; 启动SVN容器,通过docker ps命令验证SVN容器是否启动成功;具体地,通过docker ps命令列出所有正在运行的SVN容器,查看是否存在上述创建的SVN容器,如果存在且状态为“up”,则表示SVN容器启动成功;反之,SVN容器启动失败。Start the SVN container and use the docker ps command to verify whether the SVN container is started successfully. Specifically, use the docker ps command to list all running SVN containers and check whether the SVN container created above exists. If it exists and the status is "up", it means that the SVN container is started successfully. Otherwise, the SVN container fails to start. 4.如权利要求1所述的一种超大文件的版本和权限管理方法,其特征在于:4. A method for managing versions and permissions of very large files as claimed in claim 1, characterized in that: 步骤S3具体内容如下:The specific contents of step S3 are as follows: S31:查看当前正在运行的容器情况;S31: Check the status of the currently running container; 执行docker ps命令列出当前正在运行的所有容器,并显示容器的基本信息,所述基本信息包括容器ID、镜像、映射访问端口;Execute the docker ps command to list all currently running containers and display basic information about the containers, including container ID, image, and mapped access port. S32:在SVN容器中安装SVN服务所需要的组件;S32: Install components required by the SVN service in the SVN container; 根据显示的容器的基本信息得到步骤S23创建的SVN容器ID,执行docker exec命令进入所述SVN容器,在SVN容器中安装SVN服务所需要的组件;Obtain the SVN container ID created in step S23 according to the displayed basic information of the container, execute the docker exec command to enter the SVN container, and install the components required by the SVN service in the SVN container; 所述组件包括httpd、subversion、mod_dav_svn、mod_ldap;The components include httpd, subversion, mod_dav_svn, mod_ldap; 所述httped是指Apache HTTP服务器,所述subversion是指subversion版本控制系统,所述mod_dav_svn是指subversion的Apache模块,所述mod_ldap是指Apache HTTP 服务器的LDAP模块;The httped refers to the Apache HTTP server, the subversion refers to the subversion version control system, the mod_dav_svn refers to the Apache module of subversion, and the mod_ldap refers to the LDAP module of the Apache HTTP server; S33:修改SVN的配置文件;S33: Modify the SVN configuration file; 复制subversion的默认配置文件到Apache的配置文件中;所述Apache的配置文件是指存放Apache HTTP服务器的文件夹;Copy the default configuration file of Subversion to the configuration file of Apache; the configuration file of Apache refers to the folder where the Apache HTTP server is stored; 进一步地,还包括加载模块、SVN路径配置、LDAP配置认证;Furthermore, it also includes loading modules, SVN path configuration, and LDAP configuration authentication; 所述加载模块包括加载支持DAV协议的SVN模块、加载用于SVN访问控制的模块、加载自定义模块;The loading module includes loading an SVN module supporting the DAV protocol, loading a module for SVN access control, and loading a custom module; 所述SVN路径配置包括配置SVN路径、启用DAV协议支持SVN、指定步骤S21中创建的目录为SVN仓库的根目录、允许列出SVN仓库目录及包含的内容、指定权限控制文件的位置;The SVN path configuration includes configuring the SVN path, enabling the DAV protocol to support SVN, specifying the directory created in step S21 as the root directory of the SVN warehouse, allowing the listing of the SVN warehouse directory and the contents contained therein, and specifying the location of the permission control file; 所述LDAP配置认证指定使用LDAP为认证提供者,用户认证时需要提供用户名和密码。The LDAP configuration authentication specifies that LDAP is used as the authentication provider, and the user needs to provide a username and password during authentication. 5.如权利要求1所述的一种超大文件的版本和权限管理方法,其特征在于:5. A method for managing versions and permissions of very large files as claimed in claim 1, characterized in that: 步骤S4具体内容如下:The specific contents of step S4 are as follows: S41:启动Apache服务并检查Apache服务状态;S41: Start the Apache service and check the Apache service status; 使用start命令启动Apache HTTP 服务器,如果Apache服务已经在运行,使用restart命令重新启动Apache服务或使用reload命令重新加载配置文件;Use the start command to start the Apache HTTP server. If the Apache service is already running, use the restart command to restart the Apache service or use the reload command to reload the configuration file; 通过systemctl 命令查看Apache服务的状态,如果Apache服务运行正常,则显示active /running 状态;Use the systemctl command to check the status of the Apache service. If the Apache service is running normally, the active/running status will be displayed; S42:配置SVN的目录权限;S42: Configure the directory permissions of SVN; 将步骤S21创建的目录的所有权更改为Apache服务的用户和用户组;Change the ownership of the directory created in step S21 to the user and user group of the Apache service; S43:创建SVN仓库并配置SVN仓库的目录权限;S43: Create an SVN repository and configure directory permissions for the SVN repository; 通过create命令创建一个新的SVN仓库;Create a new SVN repository using the create command; 定义不同的用户组以及各个用户组包含的用户,其中,用户名与LDAP中的用户名一致;根据实际需求设置各个组对于SVN仓库的目录权限;所述目录权限包括读写权限、读取权限、写入权限。Define different user groups and the users included in each user group, where the user name is consistent with the user name in LDAP; set the directory permissions of each group for the SVN warehouse according to actual needs; the directory permissions include read-write permissions, read permissions, and write permissions. 6.如权利要求5所述的一种超大文件的版本和权限管理方法,其特征在于:6. A method for managing versions and permissions of very large files as claimed in claim 5, characterized in that: 开发人员在windows系统上通过客户端工具TortoiseSVN对SVN代码仓库里的文件进行增删改查的操作;Developers use the client tool TortoiseSVN on Windows systems to add, delete, modify, and check files in the SVN code repository; 开发人员在linux系统上通过命令对SVN代码仓库里的文件进行增删改查的操作;Developers use commands on the Linux system to add, delete, modify and check files in the SVN code repository; 开发人员在mac系统上使用命令行SmartSVN工具实现对SVN代码仓库里的文件进行增删改查的操作。Developers use the command-line SmartSVN tool on Mac systems to add, delete, modify and check files in the SVN code repository.
CN202411177110.5A 2024-08-26 2024-08-26 Version and authority management method of oversized file Pending CN118838636A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411177110.5A CN118838636A (en) 2024-08-26 2024-08-26 Version and authority management method of oversized file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411177110.5A CN118838636A (en) 2024-08-26 2024-08-26 Version and authority management method of oversized file

Publications (1)

Publication Number Publication Date
CN118838636A true CN118838636A (en) 2024-10-25

Family

ID=93150057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411177110.5A Pending CN118838636A (en) 2024-08-26 2024-08-26 Version and authority management method of oversized file

Country Status (1)

Country Link
CN (1) CN118838636A (en)

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
G0415SHENW: "群辉DSM7.2安装svn服务", pages 1 - 6, Retrieved from the Internet <URL:https://blog.csdn.net/g0415shenw/article/details/131266815> *
友人A笔记: "Centos7 SVN+Apache模式部署", pages 1 - 8, Retrieved from the Internet <URL:https://blog.csdn.net/tladagio/article/details/122198867> *
复苏的兵马俑: "Docker管理-基于CentOS手动制作SVN镜像", pages 1 - 11, Retrieved from the Internet <URL:https://www.jianshu.com/p/396f9673bd3a> *
小王格子: "SVN集成LDAP", pages 1 - 4, Retrieved from the Internet <URL:https://blog.csdn.net/qq_25854057/article/details/125296480> *

Similar Documents

Publication Publication Date Title
US10817318B2 (en) Multitenant hosted virtual machine infrastructure
CN102369509B (en) Control Services for Relational Data Management
US7426052B2 (en) System and method for remotely building an information handling system manufacturing image
US6711686B1 (en) Security management tool for managing security attributes in computer systems
CN118838636A (en) Version and authority management method of oversized file
KR102854721B1 (en) SYSTEM FOR AUTOMATIC UPDATING SaaS BASED RPA TASKS AND ENGINES
Fox Red Hat Enterprise Linux Administration Unleashed
Ravi Kumar et al. PostgreSQL Installation and Initialization
Belden et al. Oracle Database Installation Guide 11g Release 1 (11.1) for Microsoft Windows B32006-06
Frederick et al. How to cheat at IIS 7 server administration
Glover et al. Oracle Database Installation Guide 11g Release 2 (11.2) for Microsoft Windows E47798-02
Belden et al. Oracle Database Installation Guide 11g Release 1 (11.1) for Microsoft Windows B32006-09
Belden et al. Oracle Database Installation Guide 11g Release 1 (11.1) for Microsoft Windows B32006-08
Glover et al. Oracle Database Installation Guide 11g Release 2 (11.2) for Microsoft Windows E24186-05
Das et al. Oracle Database Installation Guide, 10g Release 2 (10.2) for Linux Itanium B15674-01
Abeywickrema et al. Oracle Database Installation Guide, 10g Release 2 (10.2) for Microsoft Windows (x64) B15681-06
Das et al. Oracle Database Installation Guide, 10g Release 2 (10.2) for Linux x86 B15660-01
Bhakthavatsalam et al. B25400-01
Kuhn et al. Pro Oracle Database 11g Administration
Bhakthavatsalam et al. Oracle Database Installation Guide, 10g Release 2 (10.2) for Solaris Operating System (x86) B15697-01
Das et al. Oracle Database Installation Guide, 10g Release 2 (10.2) for Linux on POWER B25147-01
Das et al. Oracle Database Installation Guide, 10g Release 2 (10.2) for Linux x86 B15660-02
Abeywickrema et al. Oracle Database Installation Guide, 10g Release 2 (10.2) for Microsoft Windows Itanium (64-Bit) B14317-04
Abeywickrema et al. Oracle Database Installation Guide, 10g Release 2 (10.2) for Microsoft Windows (x64) B15681-03
Bowling Backups to the future: eliminate tape backups with freeNAS and bacula

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20241025

RJ01 Rejection of invention patent application after publication