1. Installation: Yum-y Install httpd
Search: Whereis httpd
2. Start: Service httpd start
Enter the IP address in the Windows Address bar, port default 80
3.cd/var/www/html
echo "Hello Apache" > Index HTML
ll
MV Index HTML Demo HTML
4.cd/etc/httpd
Pwd
ll
HTTPD]:LL conf
Httpd]:ll CONF.D
Httpd]:vi/conf/httpd.conf
Configuration file: Listen: port: 80
Document Root: Site Directory
ServerName: Host name, domain name
Directory: Configure site Directory parameters
Directory index: Configure the Site Directory, default home page
Errorlog: Error Log
Customlog: Access Log
Virtual Host: Web Hosting configuration section
5. Create directory: MKDIR/VAR/WWW/BASEIP1
.............../baseip2
......../port 81------
......../port 82------
.............../school
.............../person
6.conf.d]:vi Virtual
Base:id
Base:port
Base:domain
Linux Apache's httpd