Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

WebServer

1. It is a normal server having web package installed in it.


2. It’s OS could be either Windows or Linux.
3. To make any server as web server, three things we need to do
 Install web package (HTTPD)
 Create a file inside html directory called "index.html" and put
some content whatever you want to expose to your customers.
 Start web service (HTTPD)
4. Make sure that you have opened http (80) port. Otherwise you can’t
able to access website.

WebServer Commands

 sudo su -
 yum update -y
 yum install httpd -y
 cd /var/www/html
 echo "MyGoogle" > index.html
 ls
 service httpd start
 chkconfig httpd on

You might also like