当前位置:网站首页>rhce笔记3
rhce笔记3
2022-07-30 15:26:00 【zyfpkp】
1.安装httpd,并将访问apache服务器的首页修改为hello.html, 且内容为: "My Home Page is hello"
将首页修改为hello.html


内容为: "My Home Page is hello"

2.虚拟主机:虚拟两台主机ip为100,200, 对应访问目录:/www/ip/100, /www/ip/200
并创建首页文件index.html
新配置两条ip地址


配置文件

如果访问时显示的是apache默认的欢迎界面,则需要做如下操作


3.配置不同端口的虚拟主机访问apache服务器
创建两个网页文件根目录,并定义网页内容

基于不同端口来访问网站的配置文件



边栏推荐
- [Cloud Native] Service Industry Case - Solutions for Unpredictable Concurrency Scenarios
- 【喂到嘴边了的模块】准备徒手撸GUI?用Arm-2D三分钟就够了
- golang modules initialization project
- 70行代码撸一个桌面自动翻译神器
- 【HMS core】【FAQ】push kit、AR Engine、广告服务、扫描服务典型问题合集2
- timed task corn
- Google engineer "code completion" tool; "Transformers NLP" accompanying book code; FastAPI development template; PyTorch model acceleration tool; cutting-edge papers | ShowMeAI News Daily
- STM32F407定时器输入捕获
- ISELED---the new choice of ambient lighting scheme
- 数据库 - 创建数据库、表、函数等
猜你喜欢

Redis 复习计划 - Redis 数据结构和持久化机制

【HMS core】【Media】【Video Editing Service】 The online material cannot be displayed, it is always in the loading state or the network is abnormal

Placement Rules usage documentation

FME realizes the method of converting CAD with attribute to SHP data

php字符串如何去除第一个字符

Excel uses Visual Basic Editor to modify macros

Flask之路由(app.route)详解

Shell脚本的概念

配置Path环境变量

(Popular Science) What is Fractional NFT (Fractional NFT)
随机推荐
Golang分布式应用之Redis怎么使用
tiup help
nodejs环境变量设置
Golang分布式应用定时任务如何实现
SEATA distributed transaction
Database - SQL
为什么数据需要序列化
70 lines of code, a desktop automatic translation artifact
TiDB 工具下载
yarn安装详细教程说明、升级教程、修改yarn的全局和缓存目录、yarn基本命令
二、判断 & 循环
应用OPC解决方案实现控制系统数据的安全交换
应用接入华为分析在应用调试模式下为何没有数据上报?
数据分析工具篇——HQL中DDL操作&DML操作
Promise Notes (1)
科研中一些常用软件清单
[Cloud Native] Service Industry Case - Solutions for Unpredictable Concurrency Scenarios
TiUP 术语及核心概念
几种常见的存储器
STM32F407定时器输入捕获