TCS IPA LINUX UX SESSION
TCS IPA LINUX UX SESSION
ORIGIN OF LINUX
- **Popularity and Pervasiveness**: Linux is one of the world's most popular operating
systems, powering over 1.3 billion devices. Many people unknowingly interact with Linux
daily via Android, routers, Chromebooks, e-readers, and many internet servers.
- **Relationship with Other OS**: Android is based on Linux, while iOS is based on BSD Unix,
a similar system. Many mobile and web-based OS platforms, like Samsung's and Mozilla's,
also use Linux.
- **Open Source Movement**: In the 1980s, Richard Stallman began the GNU Project to
create a free Unix-like OS. GNU aimed to replace proprietary Unix by developing open-
source modules for Unix components, driven by Stallman’s advocacy for software freedom.
- **Philosophy of Free Software**: Stallman emphasized "free software," focusing on user
freedom over proprietary constraints. He didn’t use "open source," believing it neglected
the importance of user freedom.
- **Linux Kernel Creation**: In the early 1990s, Linus Torvalds, a student at Helsinki
University, created a kernel inspired by Unix for his own use. He combined it with GNU's
tools and licensed it under the GNU General Public License, enabling free distribution.
- **Community and Contribution**: Torvalds shared Linux as open source, expecting
community contributions would improve it, which led to the rapid growth and success of
Linux.
- **Commercialization and Expansion**: Red Hat Linux, launched in 1994, was among the
first commercial Linux distributions and became a billion-dollar company.
- **Current Usage**: Linux dominates enterprise and mobile environments but hasn’t
matched that success on PC desktops, though it’s freely available and compatible with most
hardware, making it easy to try out.
Open source software allows users to access, modify, and distribute the source code freely.
In contrast, closed source software restricts modifications and distribution to only the
original developers. Linux is highlighted as a prime example of open source software,
benefiting from a community of contributors who enhance and create various versions,
known as distributions. Understanding open-source licensing is crucial for anyone interested
in this area, and further learning can be found in a related course on open-source licensing.
Open vs. Closed Source: Closed-source software can only be modified by the copyright
holder's programmers and is usually not freely distributable. In contrast, open-source
software allows users to modify and distribute the code freely.
Community Contributions: Because Linux is open source, it benefits from a rich
community of contributors who continuously improve and diversify the software.
Licensing Importance: Understanding open-source licensing is crucial for anyone
involved in open-source projects. For more details, the course suggests checking out
"Foundations of Programming: Open-Source Licensing".
- **Linux Distribution Definition**: A Linux distribution combines the Linux kernel with
drivers, tools, and applications, available in a distributable format (often as an ISO for
installation).
- **Finding Linux Distributions**: DistroWatch.com is a resource that lists hundreds of
Linux distributions, showing their popularity rankings.
- **Choosing a Distribution**: The video suggests trying popular distributions from
DistroWatch by installing them in virtual machines to explore without commitment.
- **Debian-Based Distributions**:
- **Examples**: Popular Debian-based distributions include Ubuntu, Linux Mint, and Kali.
- **Background**: Debian, one of the earliest distributions, was released in December 1993
by Ian Murdock and is maintained by a democratic community.
- **Software Management**: Uses APT (Advanced Package Tool) for package
management and has approximately 50,000 software packages.
- **Freedom Focus**: Debian emphasizes free software, though non-free software is
available separately.
- **Dependency Resolution**: Debian was the first to offer dependency resolution in
software installation.
- **Red Hat-Based Distributions**:
- **Examples**: CentOS, Fedora, and Mandriva are based on Red Hat.
- **Commercial Success**: Red Hat was released in 1994, went public in 1999, and became
the first open-source company to break $1 billion in revenue in 2012.
- **Software Management**: Uses RPM (Red Hat Package Manager).
- **Corporate Dominance**: Red Hat holds the majority of the corporate Linux server
market, with CentOS as a free, stable, and secure alternative.
- **CentOS**: Used widely as a Red Hat alternative in training due to its near-identical
setup, offering users a stable and accessible option for corporate environments.
This video suggests using CentOS for Linux server knowledge and encourages users to
explore other distributions independently.
- **System Requirements**:
- **PC Specifications**: A reasonably powerful PC is needed, with
sufficient memory and hard disk space.
- **Memory Requirement**: Each CentOS virtual machine will require at
least **1.5 GB** of RAM.
- **Hard Disk Space**: Each CentOS virtual machine will require at least
**8 GB** of disk space.
- **Supported Host Operating Systems**: VirtualBox supports Windows,
Linux distributions, macOS, and Solaris.
- **Downloading VirtualBox**:
- Visit the VirtualBox website and click on the "Download VirtualBox"
icon.
- Choose the appropriate version for your operating system (Windows,
macOS, Linux, Solaris).
- Follow the prompts to download and run the installer.
- **Installation Steps**:
- Run the VirtualBox installer and follow the prompts.
- Accept the default features and installation options.
- Optionally create shortcuts, then proceed with installation.
- Uncheck the box to start VirtualBox after installation, then finish the
setup.
- **Accessing Preferences**:
- Go to the **File menu** and select **Preferences**.
- **Input Tab**: Contains two sections:
- **VirtualBox Manager**: For interacting with the main VirtualBox
interface.
- **Virtual Machine**: Contains shortcuts for interacting with virtual
machines.
- **Keyboard Shortcuts**:
- **Host Key Combination**: Key that may vary by operating system
(commonly the right Control key).
- Common shortcuts include:
- **Adjust Window Size**: Host Key + A
- **Full Screen Mode**: Host Key + F
- **Insert Ctrl+Alt+Delete**: Host Key + Delete
- **Take Screenshot**: Host Key + E (captures the current screen of the
virtual machine)
- **Take Snapshot**: Host Key + T (saves the current state of the
virtual machine, including installed software and running applications)
- **Mouse Pointer Management**: To release the mouse pointer from the
virtual machine, press the Host Key.
- **Help Menu**:
- Provides links to documentation, the VirtualBox website, bug tracking,
forums for support, and Oracle support for corporate customers.
This guide highlights how to navigate and utilize the VirtualBox GUI for
creating and managing virtual machines, ensuring users are familiar with
key features and shortcuts.
Here’s a summary of the key points regarding preparations before installing Linux
(specifically CentOS):
- **CentOS Overview**:
- CentOS is a clone of Red Hat Enterprise Linux (RHEL) that tracks RHEL version
numbers.
- Example: CentOS 7.2 corresponds to RHEL 7.2.
- Each CentOS version includes a date stamp indicating its build time (e.g., CentOS7.2-1511
means it was built in November 2015).
- **Version Management**:
- Minor updates can be performed with a simple update command.
- Major updates (e.g., from version 7 to 8) require a reinstall.
- **Installation Methods**:
- **Large DVD Download**: 4.3 GB; does not require a network connection; faster
installation.
- **Network Install DVD**: 380 MB; requires a fast network connection; slower
installation.
- **Processor Support**:
- Official CentOS install disks support only Intel/AMD 64-bit processors.
- Alternate install disks available for Intel/AMD 32-bit, ARM, and PowerPC processors.
- **Recommendations**:
- Recommended specifications for installation are 1.5 GB of RAM and 8 GB of virtual disk
space.
- If additional disk space is needed later, a new virtual disk can be created and attached in
VirtualBox.
This summary provides a comprehensive overview of the prerequisites and considerations for
installing CentOS, whether on physical hardware or within a virtual machine.
CentOS and RHEL Versions: CentOS is a clone of Red Hat Enterprise Linux (RHEL),
and their versions track each other closely.
System Requirements: For physical hardware, you'll need 1 GB of RAM, 5-10 GB of
disk space, a network card, a 64-bit Intel or AMD processor, and a CentOS DVD install disk.
For virtual machines, you'll need similar specs but can use a CentOS ISO image.
Installation Methods: You can install CentOS using a large DVD download (4.3 GB) or
a smaller network install DVD (380 MB), depending on your network speed and preference.