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

Linux : Philosophy and Community

 Philosophy: 

                   The primary Principle of Linux is a free software system and its open supply nature. It respects users, freedom to Run, modify, and distribute the source code. Because it is open-source distribution, it’s very well-secured. The “Free Foundation Software” system introduced the term Free software system and the “GNU Foundation” in 1985 by Richard Stallman. In today’s world, the foremost distinguished and Open supply software systems are below “GNU GPL,” and the license is formed by “Free Foundation Software” and “GNU Foundation.” The illustrious samples of Open Sources Software are Firefox, Eclipse, and so on.


Community: 

                A distribution is largely driven by its inventor and communities. Some develop and fund their distributions on a levy base, Debian being a well-known illustration. Others maintain a community interpretation of their commercial distributions. Numerous Internet communities also give support to Linux users. Utmost distributions and free software / open-source projects have IRC chatrooms or newsgroups. Online forums are another means of support, with notable examples cations being LinuxQuestions.org and the various distribution-specific support and community forums, such as ones for Ubuntu, Fedora, and Gentoo. Linux distributions host mailing lists: commonly there will be a specific topic such as usage or development for a given list. 



Credit :© UNIVERSITY OF MUMBAI, Institute of Distance and Open Learning

Tuesday, 14 January 2020

Role of Linux system as Desktop

Linux is a best known free and open-source operating system (OS), it is system software that manages software and hardware resources and provides services to computer systems. Linux was released on September 17, 1971, by Linus Torvalds and written in C language. It is typically packaged in Linux distributions.
Linux was firstly used for personal computers later it started working on many platforms than other operating systems. Linux is the leading operating system in servers and many big ironed systems like mainframe systems. With its features, Linux has become popular worldwide and used in 2.3 percent of desktop computers. Linux training is also used in embedded systems where the operating system is made of firmware and highly automated to the systems. It is a multilingual operating system that supports platforms like Alpha, ARC, ARM, Hexagon, NDS32, Unicore32, etc. Popular Linux distributions are Red Hat Enterprise Linux and Suse Linux Entrepreneur server but they are commercial and others are Debian, Fedora, and Ubuntu. Some desktop distributions are Wayland. They intend servers and results in graphics altogether.

How does Linux differ from other operating systems?

Linux is different from other operating systems for many reasons. Firstly, it is open-source and multilingual software. Most importantly, the code used for Linux is free for users to view and edit. In many ways, Linux is similar to other operating systems such as Windows, IOS, and OS X. It has a graphical user interface, and other applications like Word processing application, Linux version of the program can use in other systems as well.
Although many core pieces of Linux are similar to other operating systems, the distributions of Linux include many different software options. Such that web processors and word processors are swiped out. Linux can be used not only in computers but also in other electronic devices. Linux users can choose options like display graphics and user interface components..

Role of Linux system as Workstation

workstation is a personal computer that is used for high end applications such as graphic design, video editing, CAD, 3-D design, or other CPU and RAMintensive programs. A workstation typically has a top of the line, fast processor, multiple hard drives, and a lot of RAM memory. A workstation may also have special audio, video, or processing cards for special editing work. A workstation is marketed by computer manufacturers to professional users, while the server is more of a utility device.
Linux As a Workstation
A final use of Linux in a small office environment is as the actual desktop operating system. If the application base available in Linux is suitable to the work of the office, then Linux-based desktops provide the following advantages:
• Stability and performance
• Full remote management by the network administrator
• Full network backup capabilities
• Lower cost of ownership in comparison with Windows-based desktops
Where money is available, high-powered Linux workstations can offer speed rivaling that of the more expensive Windows-based systems. Linux also offers peer-to-peer networking that is more robust and offers better performance than is seen on many systems, especially those running Windows  5/98/Me. Also, as mentioned in the previous section, Linux can enable low-end or old hardware that can’t run the latest Windows software to become full-fledged X terminals, providing performance on obsolete desktop hardware that feels like that of a low-end Pentium system.

Role of Linux system as server


Linux system as server
A Linux server is a high-powered variant of the Linux open source operating system that's designed to handle the more demanding needs of business applications such as network and system administration, database management and Web services.
Linux servers are frequently selected over other server operating systems for their stability, security and flexibility advantages. Leading Linux server operating systems include CentOS, DebianUbuntu ServerSlackware and Gentoo.
Definition - What does Linux Server mean?
A Linux server is an efficient, powerful variant of the Linux open source operating system (OS). Linux servers are built to address the ever-increasing requirements of business applications like system and network administration, Web services and database management.
Linux servers are often preferred over other server operating systems because of their reputation for security, consistency and flexibility. Some examples of Linux server operating systems are CentOS, Ubuntu Server, Gentoo, Debian, Slackware, and so on. Linux is considered the best option for operating servers because there is no need for a graphical user interface; all commands can be executed via command prompt. This helps users to attain maximum system performance.
Linux As a File Server
Perhaps the most fundamental need on a small network is a file server. File
servers supply common places to store data, thus allowing shared files to be
accessed by all users who need them and providing centralized locations for
backing up files (thereby eliminating the need for daily data backups on each
workstation on a network).
On a Windows or Novell network, this is generally done in one of two ways:
• Using dedicated file servers
• Using peer-to-peer networks
Linux As a Print Server
                          In addition to file servers, print servers are another component of the  network. Generally, a dedicated file server also plays the role of offering print services to the network, serving double duty.
                      It is not uncommon to find print services provided in both a centralized, dedicated fashion and the peer-to-peer method on the same network. Some users who use a printer heavily may warrant their own printers at their desks, while others who use the printers less frequently may share a printer located in a common area. Often, a user with a dedicated printer shares it on the network so that other users can print documents for that user’s attention directly to the dedicated printer rather than to the common shared printer. 
                    Linux, of course, can work in both environments. Linux supports a healthy range of printers, including most PostScript and HP-compatible PCL printers. In addition, its printer-sharing options include the ability to share printers on Unix/Linux, Windows, and Novell networks.
Linux As a Database Server
                              Like most Unix platforms, Linux has long had a wide selection of free database packages available for it, including Postgress and mSQL. Starting in 1998, though, major commercial database vendors gave Linux a boost in the database market by announcing and releasing Linux versions of their products.
                                 Where Linux once provided only an attractive alternative for file servers and Web servers in an organization, Linux can now be deployed as a robust, scalable database platform for an organization using standard, widely used relational database systems.
                                Combining a Linux-powered database with a Linux-powered Web server allows Linux to serve as a complete intranet server solution.
Linux As an Intranet Server
                              Intranets: internal corporate networks that use Internet technology such as TCP/IP, Web browsers, and Internet-standard e-mail to share information and applications within an organization.Even in small offices, an intranet can provide a convenient way to publish information to be read by all employees through a Web browser. With a little forethought, some of the paperwork in your office can be eliminated by introducing electronic, online, Web-based forms for everything from leave requests to expense report submissions.
                          In addition, if you have small databases scattered across your organization, each used on a daily basis by different users, an intranet can provide a common means by which occasional users of the data can access the information in a database without needing full access to the database tools used to create, maintain, and update the data. By integrating the database with an intranet Web server, simple Web-based forms can be used to query the database. 
                          Linux, which offers a wealth of powerful and flexible Web servers as well as fully functional relational database systems, can allow the creation of an intranet server without the cost involved in deploying Windows NT/2000, a commercial database such as Oracle, and an expensive Web database integration tool. There are even some free tools for Linux that make it relatively easy to produce intranet programs and applications that make use of your corporate databases.
Linux As an Applications Server
Linux is by nature designed to act as both a file/print/intranet server and a fullfledged applications server. With an applications server, applications actually run on the server and are only displayed on a terminal or workstation, using the X Windows protocol or a terminal connection such as Telnet. In contrast, on many typical Windows networks, the applications run on the desktop and the data is stored on the server and accessed there. For some types of applications and in some situations, centralizing the running of applications can bring both performance and management benefits. If you are running a Windows or Novell network, a Linux system can act as an applications server for several purposes:
• Running character-based programs such as powerful Unix/Linux mail software
• Running a custom-designed, character-based database interface to a centralized Linux database
• Accessing custom in-house applications, such as a corporate telephone book, designed to run in a Unix/Linux shell
Where budgets are low, Linux can create full-fledged GUI networks without the hardware or software expense of running Windows 95/98/Me or NT/2000.
Linux As a Router
The concept of a router is simple: Where two or more networks need to be connected, a router is the device that makes it possible to communicate between the networks.
Linux has all the features needed to act as a router:
  • Support for multiple Ethernet cards
  • Support for regular modems and high-speed connections such as DSL and cable modems
  • Support for IP forwarding (the means by which packets can be received, analyzed, and rerouted by the Linux-based router)
In fact, for small Ethernet-to-Ethernet inter connectivity or Ethernet-to-high speed- connection Internet routing, a Linux-based solution can be far less expensive than dedicated hardware routers, and once it is properly configured can be very secure and reliable.

MS--Windows Vs Linux

WINDOWS OS
LINUX OS
The Windows operating system, does not provides the users access to the programming code that forms the basis for foundation of this OS.
Linux OS belongs to the GNU Public License. It provides the access of code to the users of all categories. That code is basis for foundation of Linux OS.
The user must and should belong to some special category to get access to the code,that forms the basis for foundation of this OS.
The user need not belong to some special category to get access to the coding part, which formsthe basis for foundation of the operating system.
The users must and should be bounded to the number of licenses he/she purchases, in case of the Microsoft license policy. Here,no such facility is provided to permit installation of a single application on multiple machines.
In Linux GPL-licensed OS, users are free to modify that software and use and even republish or sell it. GPL helps users to download a single copy of a Linux application and permits to install it on many machines.
The Windows operating system provides some easy methodology. In this,the users do not need to have installation disk for installing it. But the users can buy the 10-cent Ethernet to install it.
If you need to install Linux operating system on a machine, we must hand-pick each piece of hardware or else your installation won’t be up to the mark of expectation.
The users can run the Windows installed machines for numerous years and it even provides various types of help to the users via command line.
We can run a machine running on the Linux OS also for many years without help of the command line[2].
In Windows, we need to know where to find software and install it,by running executable files (.exe files) related to it.
In Linux,we have a centralized location where we can search for, add or remove software co-related to packet management system.
In the case of Windows, the users are needed to connect to internet to install an application.
In linux, the users can install an application without using internet support.
In earlier days the installation of apps on Windows was simpler.
Due to the modifications in the features of OS,the linux supports easy installation of apps.
In Windows, if users want to change the desktop appearance, they have to pay and install a third party application[1].
In case of Linux, users are free to make their desktop appearance in the way they desire.
Windows provides a greater facility for its users by providing various drives like C:, D:,E: and so on. In windows, all the drives are not mounted on a single tree.
Users won’t find "My Documents" on Ubuntu, nor will you find "Program Files" on Fedora. There are no C: or D: drives. But, there is only one single file tree and all our drives are mounted on the tree.
In Windows the users have an “installation package”. In this,the users can install a program only after running the .exe file related to it.
In Linux OS, there exists “package manager”, which acts as a center for browsing, installing, and removing program packages.
Microsoft created the Windows OS, but allows other computer manufacturers to distribute their own computers with Windows pre-installed.
Linux kernel is developed by the community. Linus Torvalds oversees things.
The Windows OS can be installed on PC's desktops, laptops, servers and recently even on some mobile phones.
Linux can be installed on various types of computer hardware, starting from mobiles, tablet computers andvideo game consoles, to mainframes and supercomputers.
The file systems that are supported by Windows are “FAT, FAT32, NTFS, exFAT.”[4]
File systems supported by Linux are “Ext2, Ext3, Ext4, Jfs, ReiserFS, Xfs, Btrfs, FAT, FAT32, NTFS”.
The Windows GUI (Graphical User Interface)is an integral component of OS and it cannot be replaceable[5] .
The Linux mainly provides two GUI’s,KDE and GNOME .But there are many alternatives like LXDE, Xfce , Unity, Mate, twm etc.
Windows uses a command shell and each Windows version has a single command interpreter with DOS, recently an optional PowerShell has been added that mostly supports Unix commands.
In the context of Text mode interface, the Linux OS has default shell called “BASH” (Bourne Again Shell). This BASH can support multiple command interpreters.
The price of the Windows OS ranges from $50-$450.
The price of Linux is free, but the help is provided for a certain price.

Unix Vs Linux

Features of Unix OS
  • Multi-user, multitasking operating system
  • It can be used as the master control program in workstations and servers.
  • Hundreds of commercial applications are available
  • In its heydays, UNIX was rapidly adopted and became the standard OS in universities.
Features of Linux

  • Support multitasking
  • Programs consist of one or more processes, and each process have one or more threads
  • It can easily co-exists along with other Operating systems.
  • It can run multiple user programs
  • Individual accounts are protected because of appropriate authorization
  • Linux is a replica of UNIX but does not use its code
Limitation of Linux
  • There's no standard edition of Linux
  • Linux has patchier support for drivers which may result in misfunctioning of the entire system.
  • Linux is, for new users at least, not as easy to use as Windows.
  • Many of the programs we are using for Windows will only run on Linux only with the help of a complicated emulator. For example. Microsoft Office.
  • Linux is best suitable for a corporate user. It's much harder to introduce in a home setting.
Limitations of Unix
  • The unfriendly, terse, inconsistent, and non-mnemonic user interface
  • Unix OS is designed for a slow computer system, so you can't expect fast performance.
  • Shell interface can be treacherous because typing mistake can destroy files.
  • Versions on various machines are slightly different, so it lacks consistency.
  • Unix does not provide any assured hardware interrupt response time, so it does not support real time response time systems.
Basis of Difference
Linux
Unix
Cost
Linux is freely distributed, downloaded through magazines, Books, website, etc. There are paid versions also available for Linux.
Different flavors of Unix have different pricing depending upon the type of vendor.
Development
Linux is Open Source, and thousands of programmer collaborate online and contribute to its development.
Unix systems have different versions. These versions are primarily developed by AT&T as well as other commercial vendors.
User
Everyone. From home users to developers and computer enthusiasts alike.
The UNIX can be used in internet servers, workstations, and PCs.
Text made interface
BASH is the Linux default shell. It offers support for multiple command interpreters.
Originally made to work in Bourne Shell. However, it is now compatible with many others software.
GUI
Linux provides two GUIs,viz., KDE and Gnome. Though there are many alternatives such as Mate, LXDE, Xfce, etc.
Common Desktop Environment and also has Gnome.
Viruses
Linux has had about 60-100 viruses listed to date which are currently not spreading.
There are between 80 to 120 viruses reported till date in Unix.
Threat detection
Threat detection and solution is very fast because Linux is mainly community driven. So, if any Linux user posts any kind of threat, a team of qualified developers starts working to resolve this threat.
Unix users require longer wait time, to get the proper bug fixing patch.
Architectures
Initially developed for Intel's x86 hardware processors. It is available for over twenty different types of CPU which also includes an ARM.
It is available on PA-RISC and Itanium machines.
Usage
Linux OS can be installed on various types of devices like mobile, tablet computers.
The UNIX operating system is used for internet servers, workstations & PCs.
Best feature
Kernel update without reboot
Feta ZFS - next generation filesystem DTrace - dynamic Kernel Tracing
Versions
Different Versions of Linux are Redhat, Ubuntu, OpenSuse, Solaris, etc.
Different Versions of Unix are HP-UX, AIS, BSD, etc.
Supported file type
The Filesystems supported by file type like xfs, nfs, cramfsm ext 1 to 4, ufs, devpts, NTFS.
The Filesystems supported by file types are zfs, hfx, GPS, xfs, vxfs.
Portability
Linux is portable and is booted from a USB Stick
Unix is not portable
Source Code
The source is available to the general public
The source code is not available to anyone.

LINUX KERNEL VS DISTRIBUTION;WHY LEARN LINUX?

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