This website is preserved for historical and scholarly reference and is no longer actively maintained.
Introduction to Ubuntu
Ubuntu: ( http://www.ubuntu.com/
). This material loosely follows chapter 1 in the
Unix and Linux Sys Admin textbook.
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.
- Version: we are using : Ubuntu 16.04 Long Term
Support (LTS)
- Should always be able to find the Latest
desktop
- 32 vs 64 bit - at this point, we should only be interested in
installing 64 bit systems.
- Any software that might be installed that will only work
as a 32 bit program can be built in 32 bit mode.
- Or if you have to work with old code, you can create an
appropriate 32 bit Guest VM
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