Lompat ke konten Lompat ke sidebar Lompat ke footer

Web Server Configuration Fedora 11 And 12

WEB SERVER CONFIGURATION Fedora 11 AND 12

  • definition WEB server
    WEB server is to refer to both hardware and software that provides access services To the user via HTTP or HTTPS communication protocol over which files are contained on a web site in the service to users by using certain applications such as Web Browsing
    The main function of web server is to transfer a file or a user request via the Communications Protocol that has been specified, Caused kerna a Web page can consist of text files, images, videos etc..
    Types - range of Web Servers such as

    Types - range of Web Servers such as

    Apache Web Server - HTTP Server
    1.Apache Tomcat
    2.Microsoft jendela Server 2003 Internet Information Services (IIS)
    3.Lighttpd
    4.Sun java sistem Server Web
    5.Xitami Web Server
    6.Zeus Web Server

    The workings of the web server:
    1. How it works Web Server Web server is the machine where the application or software
    operate in a web page to distribute user, of course according to demand
    the user.
    2. The relationship between Web Server and Internet Browser is a combination or a network
    Computer that exist around the world. Once physically connected, Protocol TCP / IP
    (networking protocol) which enables all computers can communicate with each reply
    other.
           Open a terminal applications> system tools> terminal.
    [ root@ server aldye ] $ su
    passwd
    [ root@ server aldye ] #
      
          For Beginners usually found in the directory / var / www / error


    [ root@ server aldye ] # cd /var/www/error
    [ root@ error aldye ] # ls
    contact.html.var                                                        HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
    HTTP_BAD_GATEWAY.html.var                 
     HTTP_REQUEST_TIME_OUT.html.var
    HTTP_BAD_REQUEST.html.var                                   HTTP_REQUEST_URI_TOO_LARGE.html.va
    HTTP_FORBIDDEN.html.var 
     HTTP_SERVICE_UNAVAILABLE.html.var
    HTTP_GONE.html.var
    HTTP_UNAUTHORIZED.html.var
    HTTP_INTERNAL_SERVER_ERROR.html.var  HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
    HTTP_LENGTH_REQUIRED.html.var 
     HTTP_VARIANT_ALSO_VARIES.html.var
    HTTP_METHOD_NOT_ALLOWED.html.var                                                                       include
    HTTP_NOT_FOUND.html.var 
    noindex.html
    HTTP_NOT_IMPLEMENTED.html.var
    README
    HTTP_PRECONDITION_FAILED.html.var
             
                   We will create a new file named index.html
    [ root@ error aldye ] # gedit index.html
                    Then will appear the obrolan box and enter the file is * if you already understand about the base HTML at will fill you
    Web server
    Create
    <html>
    <head>
    <title> Web server </title>
    <h1><center> WELCOME TO MY SERVER FEDORA 12</center></h1>
    </html>
    </head>
    </title>
                    Then Save!
    And note There Changes in the file above,

    contact.html.var                                                        HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
    HTTP_BAD_GATEWAY.html.var
    HTTP_REQUEST_TIME_OUT.html.var
    HTTP_BAD_REQUEST.html.var                            HTTP_REQUEST_URI_TOO_LARGE.html.var
    HTTP_FORBIDDEN.html.var
    HTTP_SERVICE_UNAVAILABLE.html.var
    HTTP_GONE.html.var  
    HTTP_UNAUTHORIZED.html.var
    HTTP_INTERNAL_SERVER_ERROR.html.var    HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
    HTTP_LENGTH_REQUIRED.html.var
    HTTP_VARIANT_ALSO_VARIES.html.var
    HTTP_METHOD_NOT_ALLOWED.html.var
    include
    HTTP_NOT_FOUND.html.var
    noindex.html
    HTTP_NOT_IMPLEMENTED.html.var
    README
    HTTP_PRECONDITION_FAILED.html.var
    Index.htmL

              Then edit httpd.conf to enter the directory / etc / httpd / conf / httpd.conf.
    [ root@ error aldye ] # gedit /etc/httpd/conf/httpd.conf

       -Change line 44
       ServerTokens Prod
       -line 74, keep alive Turn
        keepAlive On

       -line 248, E-mail Webserver
        ServerAdmin Admin@ilmuuran9.co.cc

       -line 262, the server name and port
        servername www.ilmuuran9.co.cc:80

       -line 317, Disable indexes
        Options FollowSymLinks ExecCGI

       -line 324
        AllowOverride All

        -line 521, signature server Tubah to hide from the Web server operating system
        ServerSignature Off

        - line 744, Give comment
        # AddDefaultCharset UTF-8
         
    And at last in a line like below This Comment
    #<VirtualHost *:80>
    #   ServerAdmin webmaster@Exampel.com 
     DocumentRoot /var/www/error
    #   ServerName dummy-host.example.com
    #   ErrorLog logs/dummy-host.example.com-error_log
    #   CustomLog logs/dummy-host.example.com-access_log common
    # </VirtualHost>
              changing Being
       </VirtualHost *:80>
        ServerAdmin webmaster@ilmuuran9.co.cc  
        DocumentRoot /var/www/error
        ServerName dummy-host.example.com
        ErrorLog logs/dummy-host.example.com-error_log
        CustomLog logs/dummy-host.example.com-access_log common
       </VirtualHost>


            After Beres Run by typing http service under this
    [ root@ error aldye ] # service httpd restart
    Stopping httpd:                                            [  OK  ]
    Starting httpd:                                              [  OK  ]

               The result is OK, if  FAILED repeat of gedit httpd.conf, and immediately check on the server browser typed in the address bar, and a result like this http://ilmuuran9.co.cc

Posting Komentar untuk "Web Server Configuration Fedora 11 And 12"