当前位置:网站首页>RHEL 6.4 installing SVN and Apache
RHEL 6.4 installing SVN and Apache
2022-07-28 11:05:00 【hongdi】
1、 Install package (RHEL The installation has been completed according to the default settings )
What needs to be installed .rpm software package :
postgresql-libs
perl-URI
subversion
mod_dav_svn
2、 establish svn Folders and version libraries
establish svn Folder
mkdir /opt/svn
Create a version Library
svnadmin create /opt/svn/project
( Note that you need to configure /opt/svn/project Access rights of ,chmod -R 777 /opt/svn/project)
3、 To configure Apache
Configure the listening port :
vi /etc/httpd/conf/httpd.conf
The Listen 80 by Listen 8008
start-up Apache:service httpd start
Use in client browser http://ip:8008 visit
( Be careful : Need to be open 8008 Port to access , Stop directly here iptables:service iptables stop)
4、 To configure svn
edit :vi /etc/httpd/conf.d/subversion.conf
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
<Location /repos> #/svn To visit http://ip:8008/svn
DAV svn
SVNParentPath /opt/svn # visit http://ip:8008/svn Jump to /opt/svn
AuthType Basic
AuthName "Authorization Realm" # The information displayed in the login box
AuthUserFile /opt/svn/passwd # A file for storing users and passwords
AuthzSVNAccessFile /opt/svn/authz # File storing access rights
Require valid-user
# </LimitExcept>
</Location>
5、 establish svn User and password files passwd
htpasswd -c /opt/svn/passwd user1 # Add the first user to use -c, Add a second use -m Or no parameters
htpasswd -m /opt/svn/passwd user2 # Add the first user to use -c, Add a second use -m Or no parameters
htpasswd -m /opt/svn/passwd user3 # Add the first user to use -c, Add a second use -m Or no parameters
6、 establish svn Access rights file authz
vi /opt/svn/authz
Edit content :
[groups]
manager = user1,user2 # Create group manager, contain user1,user2
developer user1,user2,user3 # Create group developer, contain user1,user2,user3
[/] # The root directory can see project Folder
@manager = rw #manager Group users can read and write
* = # Others have no read-write permission
[project:/demo] # visit project Next demo Folder permissions
@developer = rw #developer It can be done to demo Read and write folders
* =
Restart httpd:/etc/init.d/httpd.restart
7、 Client access
In the browser or svn Client input http://ip:8008/repos/project
Enter the username and password
边栏推荐
- Nodejs: detect and install the NPM module. If it is already installed, skip
- Blue Bridge Cup embedded Hal library systick
- STM32中的APB2和APB1
- Build a quick development ide: visualsvn + sublime + Visual Studio 2013 + quickeasyftpserver
- Configuring raspberry pie, process and problems encountered
- Why is low code (apaas) popular again recently?
- 02.1.2. logic type bool
- Semeval 2022 | introducing knowledge into ner system, aridamo academy won the best paper award
- 蓝桥杯嵌入式-HAL库-SYSTICK
- 内存操作函数memcpy()和memmove()的用法
猜你喜欢

剑指 Offer 35. 复杂链表的复制

蓝桥杯嵌入式-HAL库-USART_TX

蓝桥杯嵌入式-HAL库-ADC

11_ UE4 advanced_ Change male characters to female characters and modify the animation

GKCheckerboardNoiseSource

I use the applet container to improve the efficiency of mobile R & D by 5 times!

MySQL Architecture Principle

读懂这6本书,学习MySQL更轻松

Inventory: exciting data visualization chart

Blue Bridge Cup embedded Hal library USART_ TX
随机推荐
6. MapReduce custom partition implementation
19. Delete the penultimate node of the linked list
platform驱动平台下,关于probe函数中,形参dev的“dev->dev.of_node;”的理解
nodejs:搭建express 服务,设置session以及实现退出操作
Samba server configuration
Question of hanging the interviewer
The 10th Landbridge cup embedded electronic provincial competition
Reading these six books makes learning MySQL easier
Samba learning
The blogs of excellent programmers at home and abroad are all here, please check it
I don't know how lucky the boy who randomly typed logs is. There must be a lot of overtime
读懂这6本书,学习MySQL更轻松
吊打面试官的问题
剑指 Offer 35. 复杂链表的复制
ctf技能树----文件上传
PHP发送移动MAS短信乱码的解决方法
3. MapReduce explanation and source code analysis
BC35 NB模块AT指令开发总结
The solution of PHP sending mobile MAS SMS garbled code
Fhwy workday schedule