Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Uncategorized»Installing HTTPD Server on CentOS 6

    Installing HTTPD Server on CentOS 6

    RahulBy RahulMarch 17, 20131 Min Read

    HTTPD (Hypertext Transfer Protocal Deamon) is a web server widely used with CentOS and Redhat Linux.It serves the webpages on clients requests. It is developed by Apache foundation. HTTPD is very easy in install and configure.

    Installing httpd using yum.

    # yum install httpd
    

    Default httpd basic configuration are as following.

    Configuration file: /etc/httpd/conf/httpd.conf
    Port: 80
    Document root: /var/www/html
    Log file location: /var/log/httpd
    

    Setup virtual host in httpd configuration file Append below setting in httpd configuration file

    <VirtualHost *:80>
     ServerName www.tecadmin.net
     ServerAdmin [email protected]
     DocumentRoot /var/www/html
    </VirtualHost>
    

    Start httpd service

    # service httpd start
    

    Confugure httpd to start on system boot.

    chkconfig httpd on
    
    apache web server on centos httpd web server
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleWhat is Sticky Bit, SUID and SGID in Linux
    Next Article How to Enable Email Alerts in Keepalived

    Related Posts

    Most Effective Industry Specific Plug-ins for WordPress

    Updated:August 15, 20163 Mins Read

    How to Install Komodo Edit on Ubuntu 14.10, 14.04 LTS and 12.04 LTS via PPA

    1 Min Read

    Setup Database Mirroring in SQL Server 2012 with Certificates

    3 Mins Read

    How to Install XCache for PHP on CentOS,RHEL and Fedora

    2 Mins Read

    Setup Varnish on CentOS/RHEL 5/6 with Apache

    2 Mins Read

    Error in query (1548): Cannot load from mysql.proc. The table is probably corrupted

    1 Min Read

    Leave A Reply Cancel Reply

    Recent Posts
    • What is CPU? – Definition, Types and Parts
    • What is the /etc/aliases file
    • What is the /etc/nsswitch.conf file in Linux
    • How to Install Ionic Framework on Ubuntu 22.04
    • What is the /etc/hosts file in Linux
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.