sudo bash
// for becoming super user
// now left hand side you can see root
yum update
// for updates
yum install httpd
// for installing httpd software
service httpd start
// for starting httpd software
Once started, you can able to see in web
by typing hostname/ip address
cd /var/www/html
vi index.html
// inside index.html copy paste ur htmlcod
// click i for insert mode
//press esc :wq -> write & quit
//press esc :q! -> quit without save
<html>
<head>
<title>CMR IT College</title>
</head>
<body>
<h1 align="center">CMR IT Engineering college</h1>
<h3 align="center">Changes career for students</h3>
<marquee>Admissions open of 2020 academic year</marquee>
</body>
</html>
CMR IT Coll