当前位置:网站首页>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
边栏推荐
- [neural network] convolutional neural network CNN [including Matlab source code 1932]
- Superscalar processor design yaoyongbin Chapter 8 instruction emission excerpt
- @Bean与@Component用在同一个类上,会怎么样?
- Epp+dis learning road (2) -- blink! twinkle!
- The left-hand side of an assignment expression may not be an optional property access.ts(2779)
- VSCode的学习使用
- Baidu digital person Du Xiaoxiao responded to netizens' shouts online to meet the Shanghai college entrance examination English composition
- 浅谈估值模型 (二): PE指标II——PE Band
- [data clustering] realize data clustering analysis based on multiverse optimization DBSCAN with matlab code
- wallys/Qualcomm IPQ8072A networking SBC supports dual 10GbE, WiFi 6
猜你喜欢

H3C HCl MPLS layer 2 dedicated line experiment

EPP+DIS学习之路(2)——Blink!闪烁!

Tutorial on principles and applications of database system (010) -- exercises of conceptual model and data model

Problem: the string and characters are typed successively, and the results conflict

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

Learning and using vscode

Attack and defense world - PWN learning notes
![[neural network] convolutional neural network CNN [including Matlab source code 1932]](/img/65/cf9d0a3f46a581dc8f28de2e28779d.png)
[neural network] convolutional neural network CNN [including Matlab source code 1932]

小红书微服务框架及治理等云原生业务架构演进案例

SQL Lab (46~53) (continuous update later) order by injection
随机推荐
Sonar:Cognitive Complexity认知复杂度
平安证券手机行开户安全吗?
112. Network security penetration test - [privilege promotion article 10] - [Windows 2003 lpk.ddl hijacking rights lifting & MSF local rights lifting]
Summed up 200 Classic machine learning interview questions (with reference answers)
Mise en œuvre du codage Huffman et du décodage avec interface graphique par MATLAB
ENSP MPLS layer 3 dedicated line
Rationaldmis2022 advanced programming macro program
111. Network security penetration test - [privilege escalation 9] - [windows 2008 R2 kernel overflow privilege escalation]
2022年在启牛开华泰的账户安全吗?
HCIA复习整理
PowerShell cs-utf-16le code goes online
Apache installation problem: configure: error: APR not found Please read the documentation
Processing strategy of message queue message loss and repeated message sending
《通信软件开发与应用》课程结业报告
消息队列消息丢失和消息重复发送的处理策略
Solve server returns invalid timezone Go to ‘Advanced’ tab and set ‘serverTimezone’ property manually
Sonar:cognitive complexity
Tutorial on principles and applications of database system (007) -- related concepts of database
The road to success in R & D efficiency of 1000 person Internet companies
Completion report of communication software development and Application