0% found this document useful (0 votes)
19 views5 pages

Linux - Servers

The document provides an overview of servers, detailing their types, functions, and how they operate. It covers various server types including web, file, database, application, mail, proxy, DNS, game, cloud, print, DHCP, and FTP servers, explaining their roles in networking. Additionally, it highlights the importance of servers in automating processes, managing resources, and facilitating communication over networks.

Uploaded by

thirosul
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views5 pages

Linux - Servers

The document provides an overview of servers, detailing their types, functions, and how they operate. It covers various server types including web, file, database, application, mail, proxy, DNS, game, cloud, print, DHCP, and FTP servers, explaining their roles in networking. Additionally, it highlights the importance of servers in automating processes, managing resources, and facilitating communication over networks.

Uploaded by

thirosul
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

1

Servers

A server is a computer or system that provides resources, data, services, or programs to other computers,
known as clients, over a network. Servers can be physical machines or virtualized instances running on a
cloud infrastructure. They play a crucial role in networking and computing by handling requests and
delivering responses.

Types of Servers:

1. Web Server – Hosts websites and serves web pages to users (e.g., Apache, Nginx).
2. File Server – Stores and manages files for network access.
3. Database Server – Manages and provides access to databases (e.g., MySQL, PostgreSQL).
4. Application Server – Hosts and runs applications for clients.
5. Mail Server – Manages and delivers emails (e.g., Microsoft Exchange, Postfix).
6. Proxy Server – Acts as an intermediary between clients and other servers.
7. DNS Server – Resolves domain names to IP addresses.
8. Game Server – Hosts multiplayer online games.
9. Cloud Server – Virtual servers hosted in the cloud (e.g., AWS, Google Cloud).
10. Print Server – Manages print requests in a network.

How Servers Work:

 Clients send requests to the server (e.g., accessing a website, downloading a file).
 The server processes the request and returns the appropriate response.
 Communication happens over network protocols like HTTP, FTP, or TCP/IP.

 Understanding various Servers:-

1] DHCP Server:

The DHCP (Dynamic Host Configuration Protocol) is a network management protocol used to
automatically assign IP addresses and other network configurations to devices on a network. It eliminates
the need for manual configuration and ensures that devices can communicate efficiently.

Mr. Yogesh D. Pakhare, M. Sc[CS] College - GFCCT, Akluj


2
How DHCP Works:

1. DHCP Discover – A device (client) sends a broadcast request to find a DHCP server.
2. DHCP Offer – The DHCP server responds with an available IP address and other configuration
details.
3. DHCP Request – The client accepts the offer by sending a request to the server.
4. DHCP Acknowledge – The server confirms the assignment and provides additional network settings
like subnet mask, default gateway, and DNS servers.

Why DHCP is Useful:

 Automates IP address assignment


 Reduces human errors in network configuration
 Prevents IP conflicts
 Efficient IP address management
 Simplifies device connectivity in large networks

2] DNS Server:

A DNS server, which stands for Domain Name System server, is a computer that translates human-
readable domain names (like "google.com") into machine-readable IP addresses (142.250.190.14).
Allowing your device to access websites on the internet by essentially acting like a phonebook for
the internet, allowing computers to locate and communicate with each other.

How DNS Works:

1. User Enters a Website URL – You type Ex- example.com in your browser.
2. DNS Query Initiated – Your computer asks the DNS resolver (usually provided by your ISP) for
the corresponding IP address.
3. Recursive Lookup – The resolver queries multiple DNS servers to find the IP address.
4. Response Received – The DNS resolver returns the IP address to your computer.
5. Website Loads – Your browser connects to the server using the retrieved IP address.

Mr. Yogesh D. Pakhare, M. Sc[CS] College - GFCCT, Akluj


3
Types of DNS Servers:

 Recursive Resolver – First point of contact that finds the IP address.


 Root Name Server – Directs queries to the correct domain extensions (.com, .org, .net).
 TLD (Top-Level Domain) Server – Stores records for specific domain extensions (e.g., .com
servers).
 Authoritative Name Server – Holds the actual IP address of the requested website.

Why DNS is Important:

 User-Friendly Browsing – No need to remember complex IP addresses.


 Load Balancing & Performance – Directs traffic efficiently.
 Security Features – Helps prevent phishing (fraud and scam) attacks with DNS filtering.

3] Squid Server:

A "Squid server" in Linux is a highly-used, open-source caching proxy server that acts as an
intermediary between web clients and web servers, storing frequently accessed web content locally to
improve loading speeds and reduce bandwidth usage by reusing cached data instead of fetching it from the
original source every time; essentially acting as a middleman to optimize web traffic.

Key Features of Squid:

1. Web Caching – Stores frequently accessed web pages to speed up future requests.
2. Bandwidth Optimization – Reduces internet bandwidth usage by serving cached content.
3. Access Control – Allows administrators to restrict access to certain websites or content.
4. Load Balancing – Distributes network traffic efficiently among multiple servers.
5. Security Enhancement – Hides internal network details and prevents direct exposure of client IPs.
6. Content Filtering – Can block specific domains, file types, or keywords.

How Squid Works:

1. A client (browser) requests a webpage.


2. Squid checks if the content is available in its cache:
 If cached, it serves the content immediately.
 If not cached, it fetches the content from the internet, delivers it to the client, and stores a
copy for future use.
3. The next client request for the same page is served from the cache, improving speed and reducing
internet usage.

4] Apache Server:
A Apache HTTP Server, commonly known as Apache, is one of the most widely used web
servers in Linux. It is open-source and maintained by the Apache Software Foundation. It allows users to
browse websites by establishing connections between the server and the browser.

Key Features of Apache:

1. Cross-Platform – Works on Linux, Windows, and macOS.

Mr. Yogesh D. Pakhare, M. Sc[CS] College - GFCCT, Akluj


4
2. Modular Architecture – Supports modules like mod_ssl (for HTTPS), mod_rewrite (for URL
redirection), and mod_php (for PHP support).
3. Virtual Hosting – Allows hosting multiple websites on a single server.
4. Security Features – Supports authentication, SSL/TLS encryption, and access control.
5. Logging & Monitoring – Provides detailed logs for traffic analysis and debugging.
6. Highly Customizable – Can be configured for different workloads (e.g., static sites, dynamic
applications).

How Apache Works:

1. A user enters a website URL in a browser (e.g., example.com).


2. The request is sent to the Apache server.
3. Apache processes the request and fetches the corresponding webpage (HTML, PHP, etc.).
4. The server sends the response back to the user's browser, displaying the webpage.

5] Telnet Server:

Telnet (short for Teletype Network) is a network protocol used to remotely access and manage
devices over a TCP/IP network. It provides a command-line interface that allows users to execute commands
on a remote system as if they were physically present.

Common Uses of Telnet:

1. Remote Server Management – Connect to and control a remote machine.


2. Testing Open Ports – Check if a specific port on a remote machine is open.
3. Network Device Configuration – Access routers, switches, and other network devices.
4. Basic Troubleshooting – Diagnose connectivity issues on a network.

6] FTP Server:

A FTP server stand for (File Transfer Protocol) in Linux is a network protocol used to transfer files
between a client and a server over a TCP/IP network. It allows users to upload, download, and manage files
on a remote server.

Key Features of FTP in Linux:

1. Client-Server Architecture – FTP operates on a client-server model, where a client connects to an


FTP server to transfer files.
2. Authentication – Can be accessed anonymously or via a username and password.
3. Two Modes – Supports active and passive modes for data transfer.
4. Command-Line & GUI Clients – FTP can be used via command-line utilities (ftp, lftp, ncftp) or
GUI applications (FileZilla, gFTP).
5. Uses TCP Ports 20 & 21 – Port 21 for control commands, port 20 for data transfer.

How it works:

 The server listens for requests from clients


 The server manages logins and connections
 The server executes commands sent by the client

Mr. Yogesh D. Pakhare, M. Sc[CS] College - GFCCT, Akluj


5

7] Samba Server:

A Samba is an open-source implementation of the SMB (Server Message Block) and CIFS
(Common Internet File System) protocols, which allows Linux/Unix systems to share files and printers
with Windows and other operating systems.

Key Features of Samba:

1. File & Printer Sharing – Enables file and printer sharing between Linux and Windows systems.
2. Cross-Platform Compatibility – Works with Windows, macOS, and other Unix-based systems.
3. Authentication & Access Control – Supports user authentication (local or via Active Directory).
4. Can Act as a Domain Controller – Can integrate with Windows Active Directory or work as a
standalone domain controller.
5. Open Source & Configurable – Highly flexible, with customizable permissions and security
settings.

Mr. Yogesh D. Pakhare, M. Sc[CS] College - GFCCT, Akluj

You might also like