Posts

Showing posts from November, 2023

Practical 10

Image
 Configuring Web(apache) and FTP Serverssq We will configure the Web server and FTP server in our system(Ubuntu 20.04LTS). We will make use of the virtual machine. You can get help related to ftp command with the command <man ftp>. Configuring Apache Web Server Q. What is an Apache web server? - one of the most widely used open-source web server software programs in the world. It's a critical component of the technology stack that powers the World Wide Web. The Apache Software Foundation develops and maintains Apache. Q. Which port number is used by the Apache webserver by default? - The default port number used by the Apache web server for unencrypted HTTP traffic is port 80. 1. Install the Apache webserver with the command <sudo apt install apache2> 2. Once the installation is done, use the command <sudo systemctl status apache2> to check the server's status. You should see the output similar to the picture below. Note: If you get the status inacti...

Client Server Architecture G01

Image
Introduction The client-server architecture is a framework for computer networks where numerous clients, acting as remote processors, seek and obtain services from a central server or host computer.  Clients serve as interfaces, enabling computer users to solicit services from the server and showcase the outcomes returned by the server. Servers, in turn, anticipate incoming requests from clients and subsequently fulfill them with appropriate responses. Client – The client can be any computer that requests something from the server. For example – visiting any website we request the webpage from its domain. So here we act as a client. Server – On the other hand, the Server is the computer that is designed to serve the requests to the client. For the same example as above, the client asks for the webpage then the server responds with the webpage to the client. Working of Client-Server Architecture when a client seeks data from a server, it initiates the process by querying the DNS (...

Linux Network and Process Management E02

Image
 Process In Linux, a process is a currently executing program, representing an instance of a program managed by the Linux kernel. Every process is distinguished by a specific Process ID (PID) and possesses its own allocated resources, including memory and CPU time. Process States Process States in a System: Running : Actively executing code. Ready : Awaiting CPU time to run. Sleeping : Paused, pending an event or resource. Stopped : Halted intentionally by user or the system. Zombie : Process finished, but still listed in the process table. Process Management Commands for Managing Processes in Linux: ps : Displays a snapshot of the current processes.                Example: ps ps aux: Shows detailed information about all processes.                Example: ps aux ps aux | grep username : Filters processes by a specific username.                Examp...