You've already forked www.colben.cn
update
This commit is contained in:
@@ -6,12 +6,12 @@ tags: ["httpd"]
|
||||
categories: ["web"]
|
||||
---
|
||||
|
||||
# CentOS7 安装
|
||||
## CentOS7 安装
|
||||
```bash
|
||||
yum install httpd
|
||||
```
|
||||
|
||||
# 支持 SVN
|
||||
## 支持 SVN
|
||||
- 安装 svn 模块
|
||||
```bash
|
||||
yum install mod_dav_svn subversion
|
||||
@@ -49,7 +49,7 @@ yum install httpd
|
||||
systemctl restart httpd
|
||||
```
|
||||
|
||||
# Basic HTTP 认证
|
||||
## Basic HTTP 认证
|
||||
- 生成密码文件(用户名是admin,密码是123456)
|
||||
```bash
|
||||
htpasswd -c -m /etc/httpd/httpd.auth admin # 按提示输入密码
|
||||
|
Reference in New Issue
Block a user