Your SlideShare is downloading. ×
Linux Presentation
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Linux Presentation


Published on

In this slide i present hoe\\w to make your web hosting server on your Linux server

In this slide i present hoe\\w to make your web hosting server on your Linux server

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

No notes for slide


  • 1. Govt. Engg . College Jhalawar
  • 2. Name Kuldeep Gautam
    Branch Computer Science and Engineering
    College Id. 2007UCS029
    Roll No. 07EEJCS028
    Training Company
    Grras Linux Training and Development Center
  • 3. Software Installation
    In Linux Software is install two types:
    rpm Command:
    Rat hat Packet Manager
    • What is an RPM Package?
    • It’s a piece of software, all put in one RPM file.
    • For example, I am using the. . . let’s see. . .
    • $ rpm -q evince -
    evince-0.5.1-3. . . software package to display these notes.
    • The name of the package is evince.
    • The version of the package is 0.5.1
    • The release is 3
  • 4. Advantages of RPM packages:
    • You can install a new package easily with one operation
    • 5. You can uninstall a package just as easily
    • 6. the package can contain information about what else it needs to work properly
    • 7. The RPM system includes a database with lots of Information about how the files should be installed, their size, owner, type,. . .
  • rpm Commands:
    rpm -qa | less
    list all installed software packages
    rpm -q httpd
    show the version of the httpd package, if it is installed
    rpm -qa | grep httpd
    show all installed packages that have httpd in their name
    rpm -ql httpd
    list all files in the httpd package
  • 8. rpm -qd httpd
    list all documentation files in the httpd package
    rpm -qc httpd
    list all configuration files in the httpd package
    rpm -qi httpd
    display information about the package
    rpm -V httpd
    verify that the httpd package is correctly installed
    rpm -qf /etc/passwd
    determine which package the /etc/passwd file belongs to
  • 9. rpm’s problem:
    rpm tool requires dependency resolution
    • program x depends on library y
    • 10. library y must be in place
    • 11. if library y isn’t there, you must obtain an install it separately
    • 12. finding library y can be hard
    • 13. library y has its own dependencies
  • Second:
    • The Yellow dog Updater, Modified (YUM) is an open-source command – line package - management utility for
    RPM-compatible Linux operating systems
    • Released under the GNU General Public License It was developed by Seth Vidal and a group of volunteer programmers.
    • Yum repositories
    A separate tool, createrepo, sets up yum repositories, generating the necessary XMLmetadata
    Yum Steps:
    • Install createrepo by rpm command
    rpm -ivh createrepo
  • 14.
    • Create repo of Software pakages
    createrepo -v pakage name
    • Create a repo file in yum.reposd with extension .repo
    • 15. Do entry in repo file by following method:
    [software name]
    baseurl=file:///pakage path
  • 16.
    • Clean up yum
    yum clean all
    • Install the softwares
    yum install soft ware_name
    • Uninstall soft wares
    yum remove soft ware_name
  • 17. D.N.S. Server
    Domain Name System:
    • DNS is a network service that enables clients to resolve names to IP address and vice-versa.
    • 18. Allows machines to be logically grouped by domain names
    • 19. Provides email routing information
  • D.N.S. Hierarchy:
  • 20.
    • A DNS server maintains the name to IP address mapping of the domain for which it is the name server.
    • 21. The DNS server for a domain is registered with the domain registrar and the entry is maintained by the Internet Root-Servers or Country Level Root-Servers.
    • Whenever a server is queried, if doesn’t have the answer, the root servers are contacted.
    • 22. The root servers refer to the DNS server for that domain
    (in case the domain is a top level domain) or the Country Root Server (in case the domain is country level domain).
  • 23.
  • 24. Port No.: 53
    Soft wares : bind
    Configuration steps of D.N.S.:
    • Install the soft wares which is used in D.N.S.
    • 25. bind-utils is already installed
    • yum install bind
    • 26. yum install caching-nameserver
    • Open the configuration file /etc/named.conf and do the entry following:
  • 27. Third:
    • Go to /var/named
    • 28. command cd /var/named
    • 29. Copy the file into the forward file
    • 30. command cp forward
    • 31. Copy the named.local file into the reverse file
    • 32. command cp named.local reverse
    • Change group of both forward and reverse file:
    • 33. chgrp named forward
    • 34. chgrp named reverse
    • 35. Open the forward , reverse and resolve.conf files and fills the following entry
  • 36.
  • 37.
  • 38. Fourth:
    Starts the following services
    Comm. Service named start
    Permanently server on Comm.
    chkconfig named on
    Lookup the server:
    comm. nslookup address (forward)
    nslookup ip address (reverse)
  • 39. Lookup of
    Reverse lookup of
  • 40. Look up of
    Reverse lookup of
  • 41. WebServer(ApacheServer)
    • The Apache HTTP Server, commonly referred to as Apache Web Server software notable for playing a key role in the initial growth of the World Wide web
    • 42. Apache is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation
    • Apache supports a variety of features, many implemented as compiled modules which extend the core functionality. These can range from server-side programming language support to authentication schemes. Some common language interfaces support Perl, Python , Tcl and PHP
    • 43. Virtual hosting allows one Apache installation to serve many different actual websites. For example, one machine with one Apache installation could simultaneously serve,,, etc.
  • 44.
  • 45. Port No.: 80
    Soft wares : httpd
    Configuration File: /etc/httpd/conf/httpd.conf
    Configuration steps of Web Server:
    • Install the soft wares which is used in Web Server
    • 46. Comm. yum install httpd*
  • Second:
    • Open the configuration file
    /etc/httpd/conf/httpd.conf and do the entry following:
  • 47.
  • 48.
    • Copy last seven lines and change the following:
    • 49. Set document root where your index page is save
    • 50. Set server name which open this page
    • 51. Set Document Root where your Web pages are saved
    • 52. Set Server name which you resolve by D.N.S. Server
  • 53. Third:
    • Start the service
    Comm. Service httpd start
    chkconfig httpd on
    • Open the web pages in the web browser or by command
    Comm. elinks
  • 54.
  • 55.
  • 56.