课程: Linux System Engineer: Web Servers and DNS Using Apache, NGINX, and BIND
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Install Apache
- [Male Voiceover] We need to install the Apache web server now. You will want to be logged in to RH Host 1 with a terminal open. To install the server package and the tools type in sudo space yum space install space dash y space H-T-T-P-D and hit enter. This will also install the H-T-T-P-D dash tools package which we want. Now let's start the service and enable it so it starts up boot. Type in clear and then type in sudo space system C-T-L space start space H-T-T-P-D and hit enter. Now ensure it starts at boot by bringing your line back and changing start to enable and hit enter again. Now we need to open a port in the fire wall. Type in clear and then type in sudo space firewall dash C-M-D space dash dash permanent space dash dash add dash service space H-T-T-P and hit enter. Now reload the firewall rules by typing in sudo space firewall dash C-M-D space dash dash reload. Now we should be able to view the default webpage. Open up Firefox and browse the local host. We see the welcome…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。