Posts

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...

LINUX FILE SYSTEM E01

Image
 LINUX FILE SYSTEM Introduction One essential part of the operating system is the Linux file system. It offers a hierarchical data management and organization system. Root Directory The root directory ("/") as the initial directory. a subdirectory and directory hierarchy. Files and subdirectories are found in directories. Data management maintains metadata, sizes, creation dates, and file names. in charge of ownership, security, and permits. Representation and Organization of Storage Resources Allocates disk space for files and directories. Maintains directory structure. Stores metadata for each file. Pathnames Textual file or directory locations. Absolute (from the root) or relative (from the current directory). Example of Absolute and Relative Path in Directory Navigation: Current Directory: You are currently located in "/home/kt." Objective : You want to change your directory to "/home/kt/abc." Using the Relative Path Concept: Check the current directo...

Basic Commands in Linux D03

Image
 LINUX BASIC COMMANDS ls : Displays files and directories in the current directory. Lists files and directories. ls -R : Shows all files, including those in subdirectories. Lists files and subdirectories recursively. ls -al : Provides detailed information about files. Displays comprehensive file details. ls -a : Reveals hidden files. Lists hidden files and directories. cat : Used for viewing, copying, combining, and creating text files.  Allows text file manipulation, including creation and viewing. rm : Deletes files without confirmation. Removes files. mv : Moves files to a different directory or renames files. Relocates or renames files. mkdir : Creates subdirectories in the current directory. Generates new directories. rmdir : Deletes an empty directory. Removes empty directories. grep : Searches text in files based on a given pattern and prints matching lines. Searches and prints text matching a pattern. history : Lists all previously executed commands in the current term...

Introduction to Linux D02

Image
Linux  Linux is a powerful and open-source operating system known for its flexibility, security, and the active community that supports it. It is widely used in various domains, from servers to personal computers and embedded systems. Operating System : Linux is an open-source operating system kernel, originally created by Linus Torvalds. It serves as the foundation for various Linux distributions or "distros" that include additional software and tools. Open Source : Linux is open-source software, meaning its source code is freely available for anyone to view, modify, and distribute. This openness encourages collaboration and innovation. Variety of Distributions : Linux comes in various distributions (distros) like Ubuntu, CentOS, Debian, and Fedora. Each distro may have unique features and package management systems. Multi-User and Multi-Tasking: Linux is a multi-user and multi-tasking OS. Multiple users can use the system simultaneously, and it can run multiple processes c...

Container Technology D01

Image
Understanding Containers  Containers in software development are a fundamental concept, serving as a standardized packaging solution for software and its dependencies. These containers are designed to facilitate seamless application deployment across various computing environments, ensuring reliability and efficiency. Characteristics of Containers Comprehensive Packaging : Containers bundle the entire application ecosystem, including code, runtime, tools, libraries, and configurations into a self-sufficient unit, ensuring everything needed for the application to run is contained within. Immutability: Containers are unchanging once created, guaranteeing the consistency of software regardless of deployment environments. Updates are achieved by creating new container images, not altering existing ones. Lightweight : Containers are lightweight and efficient, lacking the overhead of full virtual machines. This feature enables rapid deployment and scalability, making them a popular choi...