Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Tuesday, 25 July 2023

LINUX KERNEL VS DISTRIBUTION;WHY LEARN LINUX?

 LINUX KERNEL VS DISTRIBUTION 

                                When discussing Linux Operating Systems, we mention Whole OS or the Linux Distribution, not just the Kernel. Technically Linux is that the Kernel of the OS. A kernel is a core part of any OS that handles Hardware. once we use Linux kernel and add other important things just like the shell, Various Libraries, GUI and other programs like Multimedia Apps etc. Then we refer those systems as a Linux Distribution, which are generally considered complete OS. there's there are dozens of Linux distributions available but few of them which are very fashionable and widely used round the world.

WHY LEARN LINUX? 

Since Linux has many advantages and features to use it, 

Some of them are as follows: 

1. Free: Linux is License Free software. 

2. Security (Virus Free with inbuilt Firewall protection): The security aspect of Linux is much stronger; Inbuilt Firewall protection is available hence Linux is not prone to viruses. 

3. OpenSource: Linux is a opensource software hence source code is open & easily available on internet. 

4. Customizable: It is Customized with different types of hardware and software 

5. Flexibility: Linux is a flexible freeware operating system. 

6. Cost: It is mostly free to obtain. 

7. Linux is versatile: You can use Linux on virtually anything you develop 

8. Linux is a community: You can work with other Linux developers to share knowledge and learnings 

9. Linux is very stable: Linux systems rarely crash, and when they do, the whole system normally does not go down.

 Importance of Linux in software ecosystem: 

o GUI (Graphical User Interface) 

 o Multitasking: No of programs running at same time. 

 o Multiuser: Several users on the same machine at the same time 

 o Multiplatform: Number of processors at a time. runs on many different CPUs, not just Intel. 

o Multiprocessor: Kernel supports multiple independently thread of a single process or multiple process. 

 o Multithreading: Has native kernel support for multiple independent threads of control within a single process memory space. 

o Linux runs in a protected mode on 386 machines. It has memory Introduction protection between processes so that that one program can’t bring whole system down. 

o It supports virtual memory using paging i.e., separate partition or file in file system created. o Dynamically linked shared libraries & static libraries. 

o It is an open-source software hence all source code is available including the kernel and all drivers. o Multiple virtual consoles 

 o Linux has different filesystem depending upon file system like FAT32, VFAT, NTFS or NFS, ext3, ext4, swap (RAM) 

 o It supports Network connectivity 

 o It supports Network Servers like It supports TCP/IP Networking including FTP, Telnet, NFS, etc. 

o It has Hardware Support 

 o Firewall Protection is inbuilt available so that no outsider introducer can attack on our System. 

 o Linux supports ‘Samba Server’ for windows & Linux file sharing connectivity. 

o It Supports different Time Servers with send mail facility. 

 o It supports ftp & http services with an Apache web server.

web servers: 

o Economical: Linux is an open-source operating system, Its all versions are available with lower price other than web servers., hence Linux web servers are the best to choose for web hosting services. 

o Flexibility: Linux provides a flexible hosting environment with plenty of high-performance applications. 

 o High Up time: high up time decides how long a web server functions well. Linux servers have high up-time because of its robust performance and reliable. 

 o Stability and Performance: If hosting package includes Linux based server, then the performance is good of web servers. This operating system is the most stable and doesn’t slow down over time or freeze up. Linux web servers don’t experience memory leaks and the up times are often much better than other servers. 

o Inexpensive Hosting: Linux is an open-source operating system, which means it’s free to use. 

o Multitasking: Linux server can run multiple programs simultaneously and enables programs to run continuously in the background while user works with other programs. Hence Linux web servers to have multitasking capabilities.

Supercomputers: 

  • Customization: Linux open-source nature make source code available to modify code or make customization of code with supercomputer administration. Hence custom server implantation is possible. 
  • Less overhead, i.e., way faster: Linux does not require extra software to update or upgrade. 
  • No need for reboots. 
  • 10,000 times more stable: Linux with supercomputers is more stable. 
  • Easier to automate with scripts. 
  • Easier backup facility available of Linux servers with supercomputers

Mobile: 

  • Google’s Android developers modified the Linux kernel and created Android operating system which is based on Linux kernel (core of operating system). 
  • powered by the Linux kernel, which can be found on a wide range of devices. 
  • Android is an open-source operating system which allows developers to access unlocked hardware and develop new programs as they wish. 
  • Android manages processes and different Apps to keep minimum power consumption. 

Servers: 

Linux servers are very powerful of their outstanding characteristics like security, stability, and flexibility. These Linux servers has in built web servers and business applications which supports network administration and web and database management services. 10 Following are the Key features of Linux servers: Introduction 

  • High Level Security: Since security is main concern hence Linux servers provides high level of security with the help of firewall protection and powerful system administration and file access system to provide authorization. 
  • Ease of administration: Linux servers are easily administrated. They can be controlled and managed remotely. It reduces cost because no additional software setup for the administration is required. 
  • Supports multiple applications: Linux servers supports many software applications because of its inbuilt technical strength. 
  • Customization is easy. 
  • Reliable: These servers are very reliable as they offer consistent services without any failures.
Credit :© UNIVERSITY OF MUMBAI, Institute of Distance and Open Learning

Thursday, 9 January 2020

Open Source Software Movement and Linux Operating system

Open Source Software Movement and Linux Operating System


Ideals of Open Source
• Share the goal: a broad group of contributors recognize the same need and agree on how to meet 
• Share the work: projects are broken into smaller tasks, and a review process screens the best contributions 
• Share the result: code should be available to all and improvements should be shared to all.

What is: 
• Software? 
• Source? 
• Open?

SOFTWARE 
Computer programme or software is set of instructions to computer to work in a desired manner

SOURCE 
Instructions to computers are normally written by programmers in Programming Languages like – C, C++, Java etc. These instructions are readable by humans and referred as Source Code. To make machines i.e. computers to understand this source code – it either permanently translated (compiled) or translated (interpreted) into machine level codes.
As normal software industry practice, only the final working machine readable version (Compiled Program) of the software is handed over to users. The software works fine because machines don’t need source code. They only understand the compiled version. However, the recipients or the users do not know how it works. If any modification is required, the same can be done only by the producers who retain the source code. 

OPEN
Here original source code of the software is also given. If required, the users can modify the source code and then compile the software to use it. Thus, the source code is Opened up.

OPEN SOURCE SOFTWARE 

  • Here original source code of the software is also given.
  • If required, the users can modify the source code and then compile the software to use it. 
  • Thus, the source code is Opened up.
  • OPEN SOURCE SOFTWARE refers to applications developed in which the user can access and alter the “source” code itself.
  • Open: collaboration is open to all 
  • Source: source code is freely shared
Open source is a development method for software that harnesses the power of distributed peer review and transparency of process. The promise of open source is better quality, higher reliability, more flexibility, lower cost, and an end to predatory vendor lock- in.  The Software source is posted on the web as it is being developed, available for any person to use or to work on. There is a direct access to the developers through the website  Quick identification of bugs and problems are soon discovered and handled.

OPEN SOURCE INITIATIVE (OSI)
  •  The Open Source Initiative (OSI) is a non-profit corporation formed to educate about and advocate for the benefits of open source and to build bridges among different constituencies in the open-source community.
  •  http://www.opensource.org/ 
  1. OPEN SOURCE DEFINITION 
  2. 1. Free Redistribution 
  3. 2. Source Code 
  4. 3. Derived Works 
  5. 4. Integrity of The Author's Source Code 
  6. 5. No Discrimination Against Persons or Groups 
  7. 6. No Discrimination Against Fields of Endeavour 
  8. 7. Distribution of License 
  9. 8. License Must Not Be Specific to a Product 9. License Must Not Restrict Other Software 
FREE SOFTWARE MOVEMENT 

Free software movement was launched in 1983. In 1998, a splinter group of this movement advocated that the term “free” software should be replaced by “open source” software. Problem with “Free” was that it implied “Zero Cost” and not the intended meaning “Freedom”.

  1. FREE SOFTWARE 
  • The freedom to run the program, for any purpose (freedom 0). 
  • The freedom to study how the program works, and change it to make it do what you wish (freedom 1). Access to the source code is a precondition for this. 
  • The freedom to redistribute copies so you can help your neighbour (freedom 2). 
  • The freedom to improve the program, and release your improvements (and modified versions in general) to the public, so that the whole community benefits (freedom 3). Access to the source code is a precondition for this. 
  •  Open Source Software and Free Software for all practical purposes are same . • But “Free” here actually means Freedom not free of cost “Free User “ rather “Free Software 
OPEN SOURCE SOFTWARE 
  • Linux – an operating system.
  • Apache – widely used web-server software.
  • MySQL – widely relational database software that power most web-based applications.
  • PERL – a scripting language.
  • PHP – a widely used scripting language in dynamic websites.
  • OpenOffice – Office suit like Microsoft Office. 
  • Firefox – Internet browsing software like Microsoft’s Internet Explorer.
  1. LINUX HISTORY
  •  In 1984, Richard Stallman from MIT, started to develop a free alternative to Unix. He also established a special license, the GNU license, to ensure that software is free and open to anyone.
  • The GNU GPL (General Public License) says that every copy of a program governed by the GPL license, even if modified, must be subject to the GPL again. It has a “viral” effect! In the 90s, GPL+Internet, many new Open Source projects started. e Free Software Foundation. 
  • The GPL guarantees four basic freedoms for the user: You have the freedom to run the program, for any purpose. You have the freedom to study how the program works and modify it to suit your needs. To make this freedom effective in practice, you must have access to the source code. 
  •  In 1991, Linus Torvalds, a computer science student, started to develop a Unix OS for the personal computer. The code of the experimental version was put under the GPL license. 
  • In 1997, the Open Source Initiative (OSI) was founded, and it developed the Open Source Definition (OSD). The OSD is a guideline for OSS licenses other than the GPL, and the “viral” effect is not a requirement. 
  1. LINUX
  2. A very popular open source operating system that runs on a variety of hardware platforms .
  • Linux is widely deployed as a server OS .
  • Linux is a multi-tasking, multiuser operating system. Although modified by numerous people.
  • It is an ideal environment to run web servers as Apache. It is easily upgradable. It supports multiple processors as standard. Is has a lot of documentation. It runs also on old machines. 
  • Amazon, Yahoo!, CNN, Google run on servers based on Linux. The Human Genome Project was run using Linux clusters.
  • A Linux is a complete OS that is stable and reliable. 
  • Linux is extremely powerful, it comes with a complete development environment and excellent networking facilities




Information credit: Sllideshare:RituBhargava7

Wednesday, 20 November 2019

Review of operating system concepts

Let us first learn what an Operating system is?
Before going to this Operating System concept, first we must know what is SOFTWARE.

A collection of specialized programs is known as Software.
It has two types-
  • Application Software, and
  • System Software
Application Software- Which is going to meet all end users requirements. Like Word processor, Browsers, Databases.


System Software- Software required to run the hardware parts of the computer and other computer software. (Acts as a interface between hardware and user applications.)

Mainly classified into 2 types:

  • Operating System
  • System Utilities - System utilities are the core software functions that allow you to manage your computer in ways that you would find it inconceivable to be without. System utilities may be already included in your computer or downloaded from the Internet.
Examples are- Disk Cleanup, Disk Fragmentation

Operating System, is a software which operates all hardware components. OS is an interface between human being and the computer.




So, OS is the interface between user and computer.

Main functions of Operating system-
  • Memory Management
  • File Management
  • Security
  • Disk Management
  • Job Scheduling
  • I/O system management
  • Networking
  • Program Execution
  • File system manipulation









LINUX KERNEL VS DISTRIBUTION;WHY LEARN LINUX?

 LINUX KERNEL VS DISTRIBUTION                                       When discussing Linux Operating Systems, we mention Whole OS or the Linu...