当前位置:网站首页>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
边栏推荐
- JS - modify the key name of the object in the array
- 用 ZEGO Avatar 做一个虚拟人|虚拟主播直播解决方案
- 构建快捷开发IDE:VisualSVN+Sublime+Visual Studio 2013+QuickEasyFTPServer
- Learn how to do e-commerce data analysis (with operation analysis index framework)
- ThinkPad指纹验证在win7无法使用的解决方法
- 剑指 Offer 30. 包含min函数的栈
- GKCheckerboardNoiseSource
- c语言链表的使用
- nodemcu之开发环境配置
- Sword finger offer 35. replication of complex linked list
猜你喜欢

MySQL Architecture Principle

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

Sword finger offer 06. print linked list from end to end

Zero code | easily realize data warehouse modeling and build Bi Kanban

5. Implement MapReduce program on window side to complete wordcount function

Why is low code (apaas) popular again recently?

The 10th Landbridge cup embedded electronic provincial competition

Ten questions about low code: tell everything about low code!

Aike AI frontier promotion (7.28)

GKNoiseMap
随机推荐
数组相关的知识点
盘点:144个免费学习网站,全网最全资源合集
Samba learning
Redis-day01 common sense supplement and redis introduction
FHWY工作日进度表
JDBC各个类的解释
用 ZEGO Avatar 做一个虚拟人|虚拟主播直播解决方案
图片滑动特效
GKBillowNoiseSource
为什么传输前要进行编码与调制
Tree Shaking和DCE
Install MySQL based on docker
If you don't climb mountains, you don't know the height of the sky; If you don't face deep streams, you don't know the thickness of the earth
Advance.ai sailing guide helps enterprises sail to Indonesia and grasp half of the Southeast Asian market
分体式测斜探头安装要点及注意事项
The future of generating confrontation networks in deepfake
GKCheckerboardNoiseSource
吊打面试官的问题
一文学会如何做电商数据分析(附运营分析指标框架)
用手机对电脑进行远程关机