Apache
来源:互联网 发布:东方挂馅炒饭 知乎 编辑:程序博客网 时间:2024/06/16 19:25
######Apache####
# yum install httpd -y 安装apache软件
systemctl start httpd
systemctl enable httpd 启动apache服务
查看监听端口:
# ss -antlp |grep httpd
LISTEN
0
128
:::80
:::*
users:((“httpd”,4347,4),(“httpd”,4346,4),(“httpd”,4345,4),(“httpd”,4344,4),(“httpd”
,4343,4),(“httpd”,4342,4))
www.westos.org
3Apache主配置文件: /etc/httpd/conf/httpd.conf
ServerRoot “/etc/httpd” 用于指定Apache的运行目录
Listen 80 监听端口
User apache 运行apache程序的用户和组
Group apache
ServerAdmin root@localhost 管理员邮箱
DocumentRoot “/var/www/html” 网页文件的存放目录
0 0
- Apache
- APACHE
- Apache
- Apache
- apache
- Apache
- apache
- Apache
- Apache
- Apache
- Apache
- apache
- Apache
- apache
- apache
- apache
- Apache
- Apache
- rubygems/core_ext/kernel_require.rb:120:in `require': cannot load such file -- colored2 (LoadError)
- Wdatepicker日期控件的使用指南
- C++模板实现直接插入排序
- HDU_1495 非常可乐
- 进程间通讯之信号量(实例)
- Apache
- AndroidManifest.xml文件详解(application)
- lintcode二叉树的层次遍历
- 使用AysnTask进行图片的异步缓存
- 设计模式之工厂模式学习笔记
- 【GDSOI2017模拟】奶酪
- uva10163 Storage Keepers (未能自己敲出来)
- bootstrap实现垂直导航框架
- win10 下xgboost的安装----终极版