当前位置:网站首页>Customize the web service configuration file
Customize the web service configuration file
2022-07-07 12:25:00 【Miracle_ ze】
customized web Service profile
1. System mounting and installation web service
Before mounting, you should write down the warehouse
Mount command :
mount /dev/sr0 /mnt
install web service 【 Use httpd】
dnf install httpd -y
-y: Default OK , In the installation, there is no need to enter y
2. establish web Directory files and added content of web pages
1. Create directory file
mkdir /www/130 -p
130: File name , whatever
-p: Create with parent directory
2. Add content
echo haha > /www/130/index.html
3. Edit profile content
Go to configuration file :
vim /etc/httpd/conf.d/host.conf
Add content 【 Add modules 】:
<directory /www>
allowoverride
require all granted
</directory>
<virtualhost 192.168.226.130:80>
documentroot /www/130
servername 192.168.226.131
</virtualhost>

4. restart httpd service 、 close linux Permissions and access firewall
1. restart httpd service
systemctl restart httpd
restart And start Different :restart Is to retrieve information ,start Is to start the service to obtain file information
2. close Linux jurisdiction
setenforce 0
effect : Delete /www/130 Of documents Linux jurisdiction
3. Turn off firewall
systemctl stop firewalld
effect : in order to Windows Able to access the configured website web Content
边栏推荐
- Camera calibration (1): basic principles of monocular camera calibration and Zhang Zhengyou calibration
- Unity中SmoothStep介绍和应用: 溶解特效优化
- Visual studio 2019 (localdb) \mssqllocaldb SQL Server 2014 database version is 852 and cannot be opened. This server supports version 782 and earlier
- 《通信软件开发与应用》课程结业报告
- 《通信软件开发与应用》课程结业报告
- Processing strategy of message queue message loss and repeated message sending
- Simple network configuration for equipment management
- 数据库系统原理与应用教程(009)—— 概念模型与数据模型
- wallys/Qualcomm IPQ8072A networking SBC supports dual 10GbE, WiFi 6
- SQL Lab (41~45) (continuous update later)
猜你喜欢

Xiaohongshu microservice framework and governance and other cloud native business architecture evolution cases

Simple network configuration for equipment management

@Bean与@Component用在同一个类上,会怎么样?
![[play RT thread] RT thread Studio - key control motor forward and reverse rotation, buzzer](/img/5f/75549fc328d7ac51f8b97eef2c059d.png)
[play RT thread] RT thread Studio - key control motor forward and reverse rotation, buzzer

Matlab implementation of Huffman coding and decoding with GUI interface

Tutorial on principles and applications of database system (007) -- related concepts of database

In the small skin panel, use CMD to enter the MySQL command, including the MySQL error unknown variable 'secure_ file_ Priv 'solution (super detailed)

Learning and using vscode

Upgrade from a tool to a solution, and the new site with praise points to new value

Completion report of communication software development and Application
随机推荐
What are the top-level domain names? How is it classified?
金融数据获取(三)当爬虫遇上要鼠标滚轮滚动才会刷新数据的网页(保姆级教程)
RHSA first day operation
Tutorial on the principle and application of database system (008) -- exercises on database related concepts
SQL lab 11~20 summary (subsequent continuous update) contains the solution that Firefox can't catch local packages after 18 levels
Is it safe to open an account in Ping An Securities mobile bank?
千人规模互联网公司研发效能成功之路
《看完就懂系列》天哪!搞懂节流与防抖竟简单如斯~
百度数字人度晓晓在线回应网友喊话 应战上海高考英语作文
In the small skin panel, use CMD to enter the MySQL command, including the MySQL error unknown variable 'secure_ file_ Priv 'solution (super detailed)
Rationaldmis2022 advanced programming macro program
数据库系统原理与应用教程(008)—— 数据库相关概念练习题
idea 2021中文乱码
Cenos openssh upgrade to version 8.4
Completion report of communication software development and Application
NGUI-UILabel
<No. 8> 1816. 截断句子 (简单)
Xiaohongshu microservice framework and governance and other cloud native business architecture evolution cases
Upgrade from a tool to a solution, and the new site with praise points to new value
Flet tutorial 17 basic introduction to card components (tutorial includes source code)