当前位置:网站首页>RHCE Course Summary
RHCE Course Summary
2022-08-09 14:48:00 【palm nine】
RHCE Course Summary (3)
Requirements:
1. It is required to build a web server, and the content of the web page can be accessed as "Little Fat, why are you so fat!"
2. It is required to build a web server and create a virtual host based on a domain name.Use www.xiaopang.com and www.dapang.com to visit their respective websites. The website storage paths are /xiaopang and /dapang, respectively (custom content)
Question 1:
1. Mount (install locally, mount first)
[[email protected] ~]# mount /dev/sr0 /mnt
mount: /mnt: WARNING:device write-protected, mounted read-only.
[[email protected] ~]#
2. Install the software package
Configure the yum repository:
[[email protected] ~]# vim /etc/yum.repos.d/base.repo
Enter:
[BaseOS]
name=BaseOS
baseurl=file:///mnt/BaseOS
gpgcheck=0
[AppStream]
name=AppStream
baseurl=file:///mnt/AppStream
gpgcheck=0
Save and exit


3. Start the service
[[email protected] ~]# systemctl start httpd
(check the service running status)——
4. Close the firewall and close selinux
[[email protected] ~]# systemctl stop firewalld
[[email protected] ~]# setenforce 0
5. Configuration subfile

6. Create /aaa, write web content
Input: chubby, why are you so fat?

7. Restart the service and test
get
The second question
1. Configure the network

2. Activation link
3. Create a directory
4. Write content

5. Write configuration file

6. Edit domain name resolution


7. Visit



边栏推荐
猜你喜欢
随机推荐
The use of Jetpack Compose - Button (Button)
关于舵机的漂移与不听指挥乱动的问题
C语言 函数问题
汇编语言学习(七)
RHCE课程总结
[Video coding learning] - understanding of transformation
RHCE课程总结
从荷兰国旗问题到快排优化升级
Counter of openharmony container components
#25-1 OJ 78 计算生日星期几
word编号和文本间距过大
vivo手机上的系统级消息推送平台的架构设计实践
*5-1 CCF 2015-03-1 图像旋转
Where to go to IOE-EBS
除了开心麻花,中国喜剧还有什么?
RHCE课程总结
Thinking about oracle financial data authority
vs怎么用一个Button链接到另一个页面
apt-cache 命令
[Video coding learning] - SAD and SATD








