centos 7安装 httpd 2.4.25 及配置
来源:互联网 发布:ae软件培训班 编辑:程序博客网 时间:2024/05/18 00:16
yum
修改配置文件
$ cd/etc/httpd/conf
$ ls
httpd.conf
$ cp httpd.conf httpd.conf.bak
$morehttpd.conf
//文档的主目录
DocumentRoot "/var/www/html"//
特别是要注意这个配置
//这是Apache
设置开机自动启动
$systemctl enabled httpd //设置开机自启
$systemctl start httpd
配置web站点(假例使用/wwwroot/www和/wwwroot/crm)
$mkdir /wwwroot
$mkdir /wwwroot/zcsq
$mkdir /wwwroot/crm//
配置虚拟机主机,
vi httpd-vhost.conf
阅读全文
0 0
- centos 7安装 httpd 2.4.25 及配置
- centos 7 安装 mongodb
- centos or rhel puppet 安装
- CentOS 6.3 配置 yum
- centos 6.2 minimal 安装
- centos 6.3 docker 安装
- centos 7 安装和配置vncserver
- U盘安装 CentOS 7
- centos 7安装 mariadb数据库
- centos 安装 elasticsearch
- 配置centos 7 ntp server
- Maven 3 入门 -- 安装与配置
- httpd 2.4.25 php5.6.30…
- centos 7安装php
-  
- Hive安装 …
- Centos Linux安装
-
- 使用 pbc
- cp命令
- vim编辑器的高级使用方法
- ViewPager之Adapter
- RHEL7系统用户及组管理
- centos 7安装 httpd 2.4.25 及配置
- centos 7安装php
- centos 7安装 mariadb数据库
- centos 7 安装 mongodb
- 【T-SQL基础】03.子查询
- 第3章一棵树的奥秘Linux就是这个范…
- 学习文档接触到的知识 openclose
- TCP层的分段和IP层的分片之间的关系 & MTU和MSS之间的关系
- Mariadb学习笔记