This website is preserved for historical and scholarly reference and is no longer actively maintained.
Introduction to Ubuntu
A Unix distribution, such as Centos, Ubuntu, Kali, or Debian,
freeBSD, MAC OS can be described as:
- The specific Unix Variant that the distribution is based on is
the top level classifier. Examples of currently used UNIX
variants: Solaris, AIX, HP-UX, SCO UNIX, Linux.
- One of the very first Unix systems,, AT&T and
System V developed by Ritchie and Thompson effectively no longer
exists.
- UNIX versus Unix:
- All distributions represent a Unix Operating System that
includes a kernel, user level system code, a set of 'packages'
or applications that can be customized by the end user, and a
application and kernel programming interface defined by the
distribution.
- Each Variant is primarily defined by the 'owners' that dictate
the economic policies surrounding the Variant.
Secondly, a Variant is generally tied to a 'kernel'.
Examples: Darwin, BSD, Linux.
- Within a Variant, such as Linux, there are many
distributions. The various Linux Distros, such as
Centos, Debian, Ubuntu, are defined primarily
by the details of what versions and components of the Linux
Kernel that are used.
- Further, Linux Distros tend to have 'target'
user communities. Centos has always been the "high
performance backend server", The Ubuntu desktop Distro
is common within the software development community,
Kali is typically the goto Distro for cybersecurity
professionals (and hackers).
First point....is related to GNU/Linux
- GNU has been working since 1984 to establish a free Unix-like
system called GNU.
- GNU was started by Richard Stallman - he objected to the
licenses that were tied to early Unix systems. He thought the
world needed a Unix OS that was entirely free and could be used
with no restrictions.
- Focus initially was applications and tools
- The term Linux actually JUST refers to the kernel.
- A distribution is the Linux kernal with all of the system
and application software
- A distribution that consists of the Linux kernel and all GNU
system software and applications is the distribution GNU/Linux
- Linux emerged at the best possible time for GNU - they were
in need of a 'free' kernel. Linux Torvalds re-licensed
Linux in the 1990's using the GNU GPL (General Public License)
making it free.
- The GPL follows Stallman's mantra = it is a copyleft license
which means derivative work must carry the same GPL license.
- The alternative is BSD licenses which are does not
require derivative code to be distributed or made available.
Now...let's talk about Ubuntu
- Created by Canonical - A UK company that markets commercial
support for Ubuntu
- Desktop version vs Server version:
difference is only in the initial set of packages installed
- For our class purpose, the desktop version is fine. If you
are building an actual server for test purposes or for
production, definitely install the Server version. This way
you have a standard image that you can always go back to
with a reinstall.
- Releases: Each Distro has its own way of managing
releases. Most major Distros have a Release strategy that
includes versions that are appropriate for most Industry
use cases referred to as Long Term Support
(LTS). In addition, a Distro will usually make its
most recent version available. These might not be stable
and are subject to any changes. There might be multiple
Releases available that are all within their LTS time
window. Ubuntu releases range from 16.04 to 21.04.
The latest release that is under an LTS time window is 20.04.
- 32 vs 64 bit - at this point, we should only be interested in
installing 64 bit systems.
- Any software that for whatever reason is inherently 32 bit
can be built to operate on the platform in 32 bit mode.
- Most companies will group legacy applications to run on a
set of VMs that provide the best runtime environment.
Sources of help for command lines
- the man pages (read
details: $'man man')
- Try this: 'man 1 printf' and then 'man 3 printf'
- Demonstrates the 'section or page' parameter, needed as
some names are used multiple times in completely different
areas of code.
- 1: Executable programs or shell commands
- 2: System calls (functions provided by the kernel)
- 3 Library calls (functions within program
libraries)
- Other commands:
- help - most GNU utilities support this: $help type
- Some utilities/commands might provide similar information if
given a -h or -help parameter
- info - provides access to detailed help text.
- pinfo - slightly easier to use version of info
- Or...google or bing
- Siri or 'Ok Google'
- On an Android device, I asked 'Ok Google, On Linux, what
are the parameters to the ls command?'
- Audio response "here is information from RapidTables.com"
and then it showed a brief summary of the syntax for
'ls'.
Lineage...
- Top three distributions: Debian, Ubuntu and CentOS
- Ubuntu is derived from debian. Is a good choice for desktops -
especially when running on laptops.
- Debian - very large range of support for different platforms.
Many embedded Linux platforms run Debian.
- CentOS is cloned from Red Had Enterprise Linux - seems to be
preferred for cloud or hosting usage.
Installation
- Select which installation and download the ISO
- ISO : An 'image' of the CDs that hold the installation
files. ISO comes from the standard image disc image
(file system) format used on CD-ROMs (ISO-9660)
Misc. items to point out related to Ubuntu
- Building your own kernel
- The desktop (i.e., a GUI) is based on GNOME but modified to
provide a simpler user interface. It it referred to as
Unity.
- It's possible to change the desktop - popular desktops
inlcude KDE, LXDE, MATE, CINNAMON,
Last update: 1/26/2019