Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Ubuntu Linux Fundamentals Linux Server Administration Basics
Rating: 4.5 out of 5(1,082 ratings)
6,687 students

Ubuntu Linux Fundamentals Linux Server Administration Basics

Updated for Ubuntu 20.04 - The Latest! Gain essential skills with Linux Server in this 11 hour Beginner's course.
Created byTed LeRoy
Last updated 10/2022
English

What you'll learn

  • You will learn what Linux is
  • Installing Linux
  • Working at the command line and why the Command Line Interface is so simple yet powerful
  • Configuring and securing remote access with SSH
  • Securing your server, ufw, apt update and upgrade
  • Stopping bad guys with Fail2ban
  • Installing and securing nginx web server
  • Managing users and groups
  • How to use the Linux file system

Course content

16 sections117 lectures11h 25m total length
  • Introduction - What Is Linux?2:45

    Ubuntu Linux Fundamentals

    What Is Linux?

    Linux is an operating system.

    In that sense, it’s not unlike Microsoft Windows, or MAC OS X. 

    Linux, however, is open source. Open source does not always mean it’s free from paid licensing. If you want to use RedHat Enterprise Linux or SUSE Linux Enterprise Server, for example, you’ll have to pay. Ubuntu, however, is totally free.

    An operating system is simply a platform upon which you may do you work, or upon which your server may do its work.

    Users interact with applications. Applications interact with operating systems, and operating systems let them both interact with hardware.

    The operating system itself lets you and your applications effectively use your hardware to do what want done.

    If designed well, an operating system hides many of the complexities of dealing with hardware, presenting a clean, intuitive interface for your use.

    Ubuntu is a well designed operating system. It is intuitive, complete, and easy to use and learn.

    Linux is actually a suite of programs, fundamentally built on GNU/Linux.

    The operating system we now commonly refer to as Linux is actually the GNU operating system running on the Linux kernel, or GNU/Linux.

    GNU is the operating system, with Linux as its kernel (the core or “engine” of the operating system).

    Both are designed to emulate the proprietary UNIX operating system designed by AT&T Bell Labs in the 1970’s.

    Richard Stallman started the GNU project in 1983. The project had a kernel called GNU Hurd, but it never gained enough popularity to become fully developed.

    Part of the project, however, was also an open source license, called the GNU General Public License or GPL. This is an important development for Linux as it paved the way for the pioneers who made operating systems that are open to all of us.

    Linux Torvalds released an open source kernel under the GPL, which is now known as the Linux kernel.

    We’ll talk more in a later lesson about the Ubuntu distribution.

  • Linux Distributions And The Ubuntu Distro5:53

    Linux Distributions and the Ubuntu Distro

    Let’s discuss Linux Distributions or Distro’s.

    An operating system isn’t much use if it doesn’t have a suite of applications you can use on it.

    A desktop environment, and an office suite for users, or web application servers like Apache, and Nginx, or databases like MySQL are what you need to do or display your work.

    Linux is packaged into distributions, or distro’s.

    DistroWatch.com has been a go-to resource for what’s going on in the Distro world for some time. 

    If you go to DistroWatch.com, then click on Major Distributions in the upper right, you’ll be taken to their Top 10 Distributions page.

    Scrolling down, we can see that there are many Distro’s available.

    Linux Mint

    Ubuntu

    Debian

    Mageia

    Fedora - A Free, Open source, cutting edge version of Red Hat

    openSUSE

    archlinux

    CentOS - Unbranded version of Red Hat

    PCLinuxOS

    Slackware Linux

    FreeBSD - BSD isn’t Linux, as it’s not based on the Linux kernel, but it is open source and UNIX like.

    That’s just the Top 10 from DistroWatch.

    There are literally hundreds of distro’s out there. 

    This begs the question. 

    Why should you choose Ubuntu?

    The straight answer is, you shouldn’t.

    You shouldn’t, that is, unless it is the distro that fits your needs.

    If you want a unique build for Penetration Testing networks, or ethical hacking, use Kali Linux. It’s a great suite of tools and utilities for scanning for and exploiting vulnerabilities on systems.

    If you want to dynamically have tiny servers spun up and shut down for Docker images hosting web services in the cloud, have a look at Alpine Linux. Alpine Linux is only about 4 to 5 Megabytes in size!

    If you want a secure distro to build a firewall or similar app on, OpenBSD may be for you. Technically, BSD is not Linux, but OpenBSD is also an open source, UNIX like operating system maintained specifically with security in mind.

    Wow, with all of those options, why would Ubuntu be a fit?

    Ubuntu is an excellent general purpose desktop and server operating system. It has the features you would typically want, and a large packaging system called APT for Advanced Packaging Tool, you can use to install and maintain a vast array of applications.

    So where did Ubuntu come from?

    Mark Shuttleworth, who made a huge amount of money building then selling VeriSign, decided the need existed for a more user friendly distro of Linux.

    He built Ubuntu on another distro called Debian. Debian was a fairly main stream distro, but was not updated or patched as frequently or regularly as the community wanted. It also wasn’t easy to install.

    Mark Shuttleworth started his new distro under a company named Canonical Ltd, and named it Ubuntu. 

    Ubuntu means something like “humanity to others” or “I am what I am because of who we all are” in Zulu and Xhosa (pronounced kausa). 

    You’ll find Ubuntu documentation to be rich and user friendly. You can find it at https://help.ubuntu.com.

    Ubuntu also has active forums where you can search for or ask for help with a specific question you may have. It’s at https://ubuntuforums.org/.

    If you’re not familiar with the term RTFM, it stands for Read The F***ing Manual. It’s an attitude you’re much more likely to encounter in other forums than on Ubuntu’s forum.

    That said, it is always best to search for an answer yourself than to ask a question right away without even trying.

    You’ll be learning about the help systems available to you in Ubuntu and all Linux distros in upcoming lessons.

    Ubuntu has a regular patch and release cycle. 

    The latest stable release that provides Long Term Support, as I write this, is version 20.04.

    For a Long Term Support, or LTS, stable version, look for an even number major release number. 20 in this case.

    The next LTS release will be version 22.04, and it will be available sometime in April, 2022.

     Although Ubuntu makes a new release every 6 months, Long Term Supported releases are only released every other year. 

    LTS releases are supported for 5 years, while other releases are only supported for 9 months.

    My recommendation is to always use the LTS releases.

    Please download the attached file for this lesson which contains a transcript of the lesson and links for more info.

  • *nix - Unix, BSD, Linux, MAC OS, Android4:43

    Since you're stepping into the world of *nix (star-nix), it's worth touching on some of the highlights and differences between some of the major Unix-like operating systems out there as well as learning a bit more on the OS they were derived from, which is Unix.

    As you'll learn later in the course, the asterisk character, sometimes called a star, is a wild card character which can be used to represent "anything". In the case of *nix, that would mean anything ending in "nix". On a North American keyboard, the asterisk is above the "8" key. Shift-8 will produce an asterisk.

    Unix is a proprietary operating system that originated at AT&T's Bell Labs. Ken Thompson and Dennis Ritchie started creating it as an alternative to an operating system called Multics in 1969. They wanted it to be similar, but improved, and they wanted it to be able to run on much less expensive systems than Multics.

    Current implementations include Oracle Solaris, IBM AIX, and Hewlett Packard's HP UX. The operating systems and hardware, can be very, very pricey compared to Linux.

    The POSIX Standard ensures that you don't have to buy any of the current implementations of Unix to get Unix-like functionality.

    POSIX stands for Portable Operating System Interface. It's a set of standards created and maintained by the IEEE Computer Society. While most Linux distro's, including Ubuntu, don't claim to be fully POSIX compliant, most are very close. Close enough that someone who has used Unix or any *nix distro can get around and quickly come up to speed on another.

    Besides Unix builds, there are Linux distros, already discussed, Berkeley Software Distribution (BSD) builds, and Apple's MAC OS.

    Berkeley University based BSD on Unix but did not include any original or proprietary Unix code. The University made BSD available under an open source Berkeley license. It is similar in concept to Linux.

    Some popular BSD distros are:


    • OpenBSD - Known as a highly secure operating system with its entire code base reviewed for security vulnerabilities and bugs.

    • FreeBSD - A more user-friendly version of BSD with general use in mind as a server or desktop OS.

    • NetBSD - Often used in engineering and embedded systems including the old SEGA Dreamcast console.

    Next is Apple's MAC OS. If you have a MAC and have opened a terminal session, you'll no doubt be happy you can get around with *nix commands. However, there are some differences.

    Apple's kernel is based on XNU, for "XNU is not Unix". According to a write up in "It's FOSS", "XNU is 'a hybrid kernel combining the Mach kernel developed at Carnegie Mellon University with components from FreeBSD and [a] C++ API for writing drivers'."

    Once you're comfortable with command-line work, which you will be by the end of the course, you'll feel at home using the MAC commands despite the differences.

    Do you have an Android smart phone? It's kernel is based on the Linux kernel with some some libraries from BSD and some written from scratch to accommodate the requirements of smart phone hardware.

    The bottom line is, Linux and BSD distros were designed to be like Unix but are not supposed to be proprietary and closed source. This makes Linux and BSD portable, or able to run on many types of systems, and relatively inexpensive or free to own and use.

    It's FOSS reference:

    https://itsfoss.com/mac-linux-difference/

  • Ratings (Reviews)1:31

    Ubuntu Linux Server

    Introduction - Ratings

    A quick word on ratings.

    Although I’m a Udemy Instructor, like you, I’m also a student. I take courses here in a broad range of topics that interest me.

    Also like you, I look closely at ratings and what people have said about a course when deciding whether to spend my valuable time and money on it.

    You’ll be asked very early in the course to leave a rating by Udemy. Usually within the first 3 to 5 lessons.

    You likely won’t have any idea whether the course is good for you or not by that point in time. Please decline at that time and say you’ll leave a rating later.

    After you’ve taken a sufficient number of lessons to form an opinion, please leave a review when prompted or click on Go To Dashboard in the upper right of a lesson and click on Reviews in the dashboard.

    When leaving a review, please select the number of stars you feel the course deserves, and choose aspects of the course that led you to want to leave that rating.

    It is also helpful if you say what you did or did not like about the course.

    Always feel free to reach out to me in the course Q&A or through Udemy’s messaging system to ask for improvements, additions, or changes that will make this a 5 star course for you. That’s my goal with every course.

    Thank you for your time and patience.

    See you in the next lesson!

  • How To Use This Course2:36

    Ubuntu Linux Server

    Introduction - How to use this course

    This lesson is very similar across all of my courses, so if you’ve already seen it, this can be safely skipped.

    The course progressively builds on knowledge gained in previous lessons. Unless you know the course topic pretty thoroughly, you’re encouraged to go through the lessons as they’re presented.

    In some courses, I provide background information after the main course so those with an understanding of some fundamentals won’t have to wade through material they already know.

    Where this is the case, it will be clearly stated.

    To help you learn the material, there are:

    Quizzes after each section

    A downloadable .pdf file you can use to follow each lesson

    Assignments to complete

    Mini assignments or tasks within lessons

    Links to further information in the downloadable material and lesson descriptions.

    If anything is unclear to you as you progress through the course, please reach out in the course Question and Answer (Q&A).

    To get to the Q&A section, click on Go to Dashboard in the upper right of the screen while taking a lesson. 

    I’ll respond quickly, usually within hours, but definitely within 24 hours unless I’m without Internet access for some reason.

    Very often, searching for help on Google will get your question answered most quickly. Be pretty specific about what you’re looking for and it’s almost always the case that someone else has experienced the same or has written about how to do or fix it.

    You’re encouraged to do what is being demonstrated ile taking the course whenever possible. Just watch how to do something, pause the lesson, do it on your computer, then continue.

    If this isn’t your learning style, you may want to watch the lesson through once, and try doing it along with the download for that lesson. Or, you could watch it through once to take it in, then watch again with pauses while doing what’s presented.

    My speaking tone is pretty clear and measured, which I hope you’ll find helpful in learning a new topic, but I can be a bit slow for some people’s taste. You can increase the speed of presentation if it suits you. Just click on the 1x in the lower left and try a quicker pace.

    Enjoy the course and I look forward to hearing from you!

  • Activity - Introduction - Linux, Distributions, and the Ubuntu Distro1:43

    Activity - Introduction

    Now that you have an overview of what Linux is and what a Linux Distribution or distro is, have a look around to see what distro’s are out there and why Ubuntu is a great general purpose server and desktop build.

    This activity is not graded and is provided solely so you can put what you’ve learned into practice.

    Part 1 - Looking at the most popular distro’s and their pro’s and con’s.

    Go to https://www.distrowatch.com and click on Major Distributions on the menu in the upper right of the page. 

    The primary focus is on Desktop releases, but what are some of the most popular at the time you’re doing it?

    1. ___________________________________
    1. ___________________________________
    1. ___________________________________

    What are some of the pro’s and con’s of each? (Don’t worry if you don’t have enough pro’s and con’s to fill in each). 

    Distro 1.

    Pro #1 __________________________

    Pro #2 __________________________

    Con #1__________________________

    Con #2__________________________

    Distro 2.

    Pro #1 __________________________

    Pro #2 __________________________

    Con #1__________________________

    Con #2__________________________

    Distro 3.

    Pro #1 __________________________

    Pro #2 __________________________

    Con #1__________________________

    Con #2__________________________

    Here’s an example for Linux Mint from the day I created this lesson (1 July 2018).

    Pro #1 Many “minty” tools developed in house.

    Pro #2 Hundreds of user-friendly enhancements.

    Con #1 Alternative “community” editions don’t always include the latest features.

    Con #2 The project does not issue security advisories.

    You can do this for any distro you’re interested in. 

    Part 2 - Looking at the most popular Server distro’s.

    The focus so far has been on desktops. Let’s take a look at what server distro’s are most popular right now.

    In the search box that says “Type Distribution Name” in the upper left of the DistroWatch.com web page, type server and click on Go. 

    You’ll now see the server distro’s that are most popular. At the time of this search, Ubuntu is number one. 

    You can click on the distro name to learn more about it. 

    Just for fun, in the “Type Distribution Name” search box, type Alpine and click Go. 

    What are some of the things Alpine Linux is designed for?

    Wrapping Up.

    Great work! You now know a popular, organized place to check out Linux distributions. You can, of course, simply do a web search for any distro you’re interested in, or for what’s popular in the category of server or desktop OS you’re interested in. DistroWatch is a tried and true place to learn about Linux, Unix, and BSD though.

    Enjoy the next lessons!

  • Introduction
  • BONUS: About Me2:29

    This lesson is not related to the course.

    Learn a few tidbits if you're interested.

    • It's just a quick look at where I live and work on courses.
    • There's more about me and my contact info in the attachment. 
    • Plus, a photo of my Master's from RIT. It really is a Master's, not a Bachelor's as I said in the video...

    Enjoy!


Requirements

  • You should have access to a Microsoft Windows, MAC OS X, or Linux computer.
  • Some computer understanding, such as basic keyboard use, what a Hard Drive is, and what RAM (memory) is.
  • You do NOT need an extra computer to load Ubuntu on to take this course.

Description

=========================Student Reviews==========================

I knew very little about Linux, this course helped me connect all the dots, now I can use Ubuntu Linux by myself. Lectures are very clear and concise, focused on practical topics. Great course for absolute beginners. -- Aco V. ★★★★★

Ted is a very knowledgable professional with zero/nothing/nada intellectual arrogance. He …lectures not as a distant instructor but as your coworker/friend who understands your fear and resistance … The course is continually updated, and he is very responsive to any question … the course is very well rounded without going to deep into not-so-used-stuff but with sound coverage for the-most-commonly-used-stuff. I … couldn't be happier! -- Tony G. ★★★★★

This course is very detailed, very well explained with additional written materials. It's way beyond my expectation! Thank you for it. -- Zsombor T. ★★★★★

This course had been great experience. It is absolutely recommended for beginners to advanced. The lecturer is very knowledgeable and responses to questions asked. -- Scool B. ★★★★★

===============================================================

Ubuntu Linux is consistently among the top 5 Linux Desktop and Server distributions. Learn the basics of the Linux Command Line and Server Administration in this course. You will learn enough to comfortably manage your own server by the end of this course.

Updated for Ubuntu 20.04, the latest Long Term Support (LTS) version.

Once you understand Linux, you understand the operating system that powers much of the Internet. This beginner level course will take you from knowing nothing about Linux to competency.

You do NOT have to have an extra computer to load Linux on to take this course.
As with all Udemy courses:

  • You have a 30 day, no questions asked, money back guarantee if you're not fully satisfied with the course.

  • You have lifetime full access to the course and all updates and additions.

Ubuntu's a great place to start learning Linux. It's a well maintained, full featured, well documented and supported, free operating system.

Unleash the power of Ubuntu's command line tools.

By the end of this course, you'll know:

  • What Linux is

  • What Distributions or Distro's are

  • When Ubuntu's a fit and when it's not

  • How to install Ubuntu Server

    • Installation on VirtualBox is included in the course

    • VirtualBox is free software that lets you run other Operating Systems with an application on your computer

    • There's no need to find or buy an old computer to run Ubuntu on

    • VirtualBox lets you try Ubuntu or any other Operating System without risk

  • How to keep your system up to date

  • What Shell's are

  • How to navigate your system at the command line using the BASH shell

  • Essential BASH commands

  • Manipulating files with BASH

  • How to manage packages with apt package manager

  • How to add and remove users from the system

  • Managing Files

    • File permissions

    • Changing permissions

    • The letter vs. numeric method of setting permissions

    • How to keep contents secret

    • Changing ownership on a file

    • A simple way to keep versions of system files

  • Managing Users

    • Adding and removing users (two methods)

    • Giving a user sudo (run as root) permissions

    • Adding a user to groups

    • Removing users

    • Cleaning up after removal

  • Managing Groups

    • How groups are used in Linux

    • Primary and secondary groups

    • Changing a users primary group

    • Adding a user to a secondary group

    • Changing the group that owns a file

  • Editing Text Files

    • Using Vi Improved - vim

    • Using nano

    • Saving copies of originals for system files

  • Help and support

    • What manual, or 'man' pages are and how to use them

    • The Linux --help system and how it can help you

    • Ubuntu online documentation

    • Ubuntu forums

  • Linux File System Structure

    • Filesystem Overview

    • Where to Put Things You Install

  • Configuring Remote Access with Secure Shell (SSH)

    • Remote Access Overview

    • Preparing Your Server

    • Connecting with SSH

    • Windows - PuTTY

    • Key Based Authentication - LInux and MAC

    • Key Based Authentication - Windows

    • Saving Your Key (Pageant for Windows

    • Editing sshd_config

  • Moving Files to and From Your Server

    • Using scp to move files

    • Using wget to download from the Internet

    • Using curl to download or copy a whole site

  • Managing Your Server

    • Using ps to see what's running

    • Checking system performance, top, htop, nmon

    • Checking drive space, df

    • Checking memory usage, free

    • Scheduling tasks, cron

  • Securing Your Server

    • Disabling unneeded services

    • Stopping bad guys with Fail2ban

    • Enabling your firewall (ufw)

  • Creating a Web Server With nginx and Securing nginx

    • Installing and configuring nginx

    • Adding encryption with SSL/TLS

    • Securing nginx's configuration file

    • Blocking malicious activity with Fail2ban

  • Deploying and Securing WordPress on Apache

    • Install the LAMP stack

    • Install WordPress

    • Secure WordPress

All that and more will have you walking away from the course at the end with the knowledge you need to be comfortable with Linux at home or at work.

Along with System Administrators wanting to integrate Linux where it is appropriate within their environments, this course has proven useful to developers learning or working with Python, JavaScript, Web Development (HTML, CSS), Machine Learning, Java, MySQL, WordPress, Node.js, Amazon AWS, PHP, Docker, and to aspiring Ethical Hackers, Cyber Security, and DevOps to name a few.

Who this course is for:

  • You are interested in learning Linux
  • You have little to no experience with Linux
  • You want to learn how Linux may fit into your life and work
  • You want to become comfortable with the power and flexibility Linux offers
  • You want to expand your career options by understanding Ubuntu Linux Server