
This video will give you an overview about the course.
In this video, we will introduce the Linux filesystem and some filesystem commands to navigate the system.
Introduce the cd and pwd command, and the terminology of a home directory.
An overview of the hierarchical filesystem model used in Linux.
Introduce to the ls command to list files, and the file command to figure out the type of files you see. Also a short introduction to symbolic links.
In this video, we introduce the concept of text based configuration files, and some commonly used tools to display and search text files.
Take a look at the group file and the password using the more command.
Look at how to pipe the output from commands, such as ls, into more.
Introduce the commonly used grep command, and how it is used. Also a short explanation of the passwd file.
In this video we are to learn how to find files on the system, without knowing its location.
Learn the basic syntax of the find command, and how it works.
Learn how to get rid of the error messages from find so that we can easily see the results.
Introduce how to use wildcards with find, so that we’ll be able to find files even if don’t know the exact spelling.
This video will guide us to how to use the vi text editor in Linux.
Introduce the two modes in vi, command mode and insert mode.
Create an example text-file using various commands, such as date, whoami and uptime.
Edit the file by using both the various command in command mode, as well as write additional text in insert mode.
This video will guide us to how to use the nano text editor in Linux.
First we will make sure we have an example text file to play around with.
Introduce to editing and moving around inside nano.
Understand the concept of the CTRL-key is introduced, and we learn how to save and quit nano, and other CTRL-key combinations.
This video will teach you everything you need to know about root, su and sudo
First we go through the theory of what the root user is, and why we need to become root from time to time. We also learn that we need to be careful when using root.
Look at an example usage of su.
Look at an example usage of sudo.
In this video, we will install the Apache web server on Debian and Ubuntu.
To start with, we must become root as covered in the last section of this course
Install Apache using the apt-get tool
Verify the web server is in fact running on the system
In this video, we will install the Apache web server on our Red Hat, CentOS, or Fedora machine.
To start with, we must become root, as covered in the last section of this course
Install Apache using either yum or dnf, depending on which distribution we use
Verify that the service is running, and open up the firewall to allow traffic into the web server
In this video we will be creating a small web page that Apache can then serve.
First we need to become root, as we are about to create a file a directory owned by root (the Apache web directory)
Type in the HTML code, using either nano or vi
Simply save and quit the editor
In this video, we will access the web page we made in the previous video. We will try to access the web page from outside of the machine itself, but if we can’t do this, we will also access the webpage from within the machine.
First we figure out the IP address of the machine using the ip addr command
Point a web browser from a second machine to the IP address of our Linux machine
As a last step, in case we can’t access the web page from outside the machine, we access it locally using Lynx
In this video, we learn how to work with the apt tools for Debian and Ubuntu.
Start off this video by updating the repository cache and the system.
Once the system is up-to-date, we search for some new software to install, and install that software on our system.
Clean up the system again, by removing the software we just installed. And then, as a last step we clean up the system of old dependencies that are no longer needed.
In this video, we learn how to work with the yum tool for Red Hat and CentOS.
Start this video by upgrading our system and all of its software.
Look at how to search for new software and install that software.
We then remove the software we just installed. And as final step, we clean up our system of any old dependencies that are no longer needed.
In this video, we learn how to use the new package management tool DNF, which is now part of Fedora.
Start off with upgrading our system.
Once we have upgraded the system, we move on for new software. We also install new software.
Remove the software we just installed. Unlike other tools, here there is no need to clean up old dependencies once we have uninstalled a piece of software.
In this video we will learn how to create and remove users from the system. We also learns how to automatically create the new users home directory, what skeleton files are and so on.
First of all we create a new user with the useradd command. We also use a set of options to automatically create a new group for the user with the same name, and make the user a member of that group.
Next up with set a password for the new user. We also try to login as the new user on the system, and check out that everything has worked out.
As a final step we remove both the user, the group that was created with the user, as well as the user’s home directory.
In this video we learn how to change a user’s settings, such as a user’s default shell, the password, home directory and also the shell settings.
We start this video by re-creating the user from the previous video. We then use this user throughout this video. First of all we change his default shell.
We then login as the new user on the system, and let the user change his own password. We also let the user change his own default shell back to bash again.
We then login as root again, and move the user’s home directory using the usermod command. Then, as a last step we take a look at how the user himself can change his own shell settings by modifying the .bashrc file in his home directory.
In this video we will learn how to create new groups on the system.
The first step in this video is to actually create a new group, which we do with the groupadd command.
The next step we take will be to add the new group, devops, as a supplementary group to our user johnb from the previous video.
As a last step in this video we check out the user johnb’s group memberships using the password file and the group file.
In this video we will learn how to read and understand file permissions and owner and group of files.
Start this video with a looking at examples of different file permissions. This first bit very important theory to understand how the owner of a file, the group and the file permissions all fit together.
Look at some more example, and also some real world examples. We will also see what it means by executing a file.
See some more examples from real system, as well as a common gotcha when it comes to owners and groups.
In this video we will learn how to set permissions to files, and change its owner and group.
Learn how to use the command chown and chgrp to change owner and group of a file.
Move on to learn chmod to change file permissions. We learn how to add permission bits, remove permission bit and set the permissions to sometime specific.
Learn how to set permissions using numerical (octal) values. This will be a bit faster than using letters all the time.
In this video we will be introduced to processes and process owners.
Start this video by learning how we list processes and its owners on the system using the ps command.
Learn how to terminate processes with the kill command.
Try to kill another user’s process. We also try to kill a process a root.
In this video we learn how to manage services on a Linux system that is starting and stopping services enabling and disabling services and reloading their configuration files.
Start this video by taking a look at what systemctl and systemd is. After that we go over some terminology we need to know.
Use the systemctl tool to list currently running services on the machine.
Try to start, stop, disable and enable the httpd / apache2 service that we installed in section two of this course.
In this video we will learn to both modify an existing service (unit file), as well as creating our very own service from the ground up, including the actual service.
Start this video be taking a look at how everything fits together regarding unit files, in which directories they are placed, what happens when you enable or disable a service and so on.
Modify the httpd service (unit file). First we modify the original unit file, and then we learn how to create an override file for the unit.
Create our very own service! First we create a shell script which will act as the service. Then we create the unit file for the service, so that it can be enabled/disabled and started and stopped. Just like a real service!
In this video we will learn why logs are important, what kind of information we can find in them, and how we read them using journalctl. We also learn how to filter and sort the logs, making it easier to find what we are looking for.
Introduce the journalctl command and what kind of information we can find with it.
Learn how to “follow” logs in real time, making it possible to detect intrusion attempts for example.
Learn how to filter out just the kind of information we are looking for. For example what service and between which dates and times.
In this video we learn how to read the logs in /var/log, and what’s the difference in between the logs in /var/log and journalctl.
We begin this video with familiarizing ourselves with the /var/log directory and what we can find in here, and how things are built up with log files for the system and for the services.
Learn how to follow a log file, to view ongoing activities. We also view visitors to our webserver in real time.
Learn how to use two powerful log tools, namely dmesg and last.
In this video we learn how to configure services, what kind of configuration files we find /etc, and how config files, subdirectories and include statements all fits together. We also get some first hands-on experience modifying a service.
Learn the difference between a configuration file and a unit file. We will also learn what we configure with the configuration files for the different services.
Add a warning messages to the SSH daemon, telling people what unauthorized access is prohibited.
Then, before we actually restart the SSH daemon we learn a very important lesson to not lock us out from our own server by mistake. We then restart the service and log back into the machine again.
In this video we will be performing a really fun lab. We are to create a password protected directory on our web server!
Create the directory which should be password protected, and create a simple index.html file in it.
Add the proper configuration for Apache to protect the directory. We then also create a username/password pair.
Validate the configuration file, restart the service and try to access the directory from a web browser.
In this video we will learn how to monitor the system. The things we learn to monitor ranges from everything from the CPU and RAM usage, to I/O performance, to listing open ports and established connections.
We begin this video by learning how to use top tool and how to interpret the “load average” of the system.
Then we move on to install and learn two other tools, namely iotop and iptraf.
The last tool we learn in this video is "ss". This tool is used for two things, both to view open ports (listening ports/daemons), as well as viewing currently established connections to this machine.
In this video we will learn how to examine the system hardware, such as CPU, memory, PCI cards, USB devices, and storage devices and so on.
In the first part of this video we examine the storage and the memory of the system.
We then move along to examine the CPU.
In the last part we learn how to examine USB and PCI devices on the system.
In this video we will add a new storage device to our system, format it, and mount it. As a Linux system admin, you will be facing this very task often!
We begin this video with plugging in a USB thumb drive to the computer which we are going to use as the storage device. We are then going to identify the new device on the system.
Create a EXT4 filesystem on the device and mount it.
And finally, we will add the new device to the /etc/fstab file so that it will be auto mounted at boot time.
Creating and maintaining up-to date backups is an important task to a sysadmin. In this video we learn how to do just that!
Learn about a very powerful backup tool, namely rsync.
Make a complete backup of the entire home directory and place it on our thumb drive.
Change a file, and re-run the rsync command and see how it only copies the changed file.
Scheduling recurring tasks is an important job to automate stuff for a Linux sysadmin. In this video we will learn how to schedule a simple dummy task and learn about the cron daemon.
Introduce how the crontab works, and what all the different fields mean.
Add our very first scheduled task with the help of crontab.
Modify our crontab so that the task will now run every minute, around the clock.
In this video we will tie together the two last videos, by scheduling the backups of the /home directory.
Refresh your knowledge from the video about backups and rsync.
Move on to add the rsync command to the crontab, and also redirect both standard error and standard output to a logfile inside /root.
Check out the result of the backup, after the time for the backup has passed.
This video gives an overview of the entire course.
This video we will get to understand and define what is sudo.
Understand sudo’s capabilities and usefulness in linux
Check the documentations for sudo
Check how sudo works on Unix/Linux terminals
This video we will dive into working with the sudo privilege.
Become the super user with sudo
Use sudo while automating task on our terminal
This video we will be checking or installing some programs with sudo privileges.
Install using sudo on terminal with the rpm (Package Manager) and Yum
Install programs with sudo and Yum
Check how Yum works while installing checking the programs dependencies
This video we will be working with the sudoers files.
Edit this sudoers file with any text editor on our Linux
Edit the sudoers file with Vi editor or nano text editor
understand how the sudo gives the administrator permissions with the sudoers file
This video we will look how to run a command with subtitle user and group ID with the SU.
Use the su command to change to another user
Sign in with the users password while changing
Use the sudo and su to change to any user on our terminal
In this video we will be looking at the /etc/passwd via the terminal and checking the created users account.
Check the /etc/passwd file which contains information about the users on the system
Understand how the users home directories are been created in our terminal
Work with the w or who command on our terminal
We will be working with the /etc/shadow file in this video and see the difference with the /etc/passwd file in user creation.
Check the /etc/shadow file and /etc/passwd files with our vim or nano
Look at how the password is been encrypted on our Linux system
Check types of password formats and how they are been encrypted hands on the terminal
This video we will look at how to create a password in our Linux and checking the file in both /etc/shadow and /etc/passwd files.
Create a password
Create a secured administrative root user password
Test the password strength
This video we will be creating groups and checking were they are stored.
Add users and moving them into groups
Use the groupadd command for administrators we created
Check users in the passwd file and also the add created users into the sudoersfile
This video we will understand the root users password age policy and other users.
Use the chage command for our users
Expire how users password
Reactivate a new password for our users
This video we will be looking at how Cron tabs works for troubleshooting and processing task for our super user.
Enable Unix/Linux users to execute commands or scripts (groups of commands) automatically at a specified time/date
Check and working with the /etc/crontab on the terminal
Edit the Cron tab file on terminal
This video we will be working with the Cron tab editing it on terminal.
Install at for the works and Cron tab
Start the atd on terminal
Enable and disable the atd service in Linux, getting the Cron tab to work for scheduling recurring tasks on Linux systems
This video we will be working with a basic task in the Linux terminal.
Check the /etc/crontab for scheduling a new task
Work on with a new task for administrators in the /etc/cron.d/with a new file for backing up our new task
Check the Cron job man page on our terminal
This video we will be looking at how Cron job works in a Debian Linux.
Check if atd or at is installed and starting the atd service on Debian
Enable the atd service in the Debian system
Create a task in the Debian Linux and editing the new backup file in for scheduling tasks with /etc/cron.d/ the file we backing up
This video we will looking at how or working with how automating task in Cron jobs can be.
Work with date command and task automation
Use task for testing in our Linux terminal
Automate in the tmpdir with /tmp/creating a new task
This video we will be resolving common network issues administrators face while at work or common Linux administrator wireless issues.
Resolving wireless issues with Systemctl and updating the system first
Enable and re-enable the wireless network using Systemctl
Check the network status and the graphical network manager
This video we will get to understand how to check common Network manager issues and get them resolved.
Check the network manager and fix it
Resolve the issues using one the administrative tools in every Linux system called nmcli
Familiarize ourselves with the Linux Network Manager
This video we will be checking the wireless or network details with one of the common tools known to Linux admins called lshw.
List detail records of hardware components in our Linux system
Install lshw using sudo yum -y install lshw
List the hardware details for our Linux
This video we will go deeper into looking at other administrative tools used for troubleshooting like lspci, lsusb, lsmod.
List out disk details with lsblk
List lsmod details
List lspci details, lsusbpendrive details
This video we will be using another administrative tools for troubleshooting ping.
Learn how to ping a Network on our terminal
Examine how ping flows and returns our request when we ping
Understand how to ping with the window command-line (CMD)
This video we will be using other troubleshooting tools.
List with lshw -C and show basic details of our drive
Install Nmap tool
Make use of Nmap on our terminal
This video we will be looking at different types of processing programs use to checking our Linux functionality and how to troubleshoot using them.
Install Htop for troubleshooting
Install Glances for troubleshooting
Start troubleshooting with both programs
This video we will explore Glances program.
Use of glances for troubleshooting on our Linux terminal
Work with shortcuts in Glances
Understand why glances was written in the Python programming language
This video we will be exploring the Htop program and how to troubleshoot with Htop, then we will install a new tool called IPTraf.
Look at the usefulness of Htop for our Linux system
Install IPTraf and how to make use of it
We will be fixing some other common problems in this video.
Fix and abrt issue and resolving it
Enable and disable Linux
This video we will be working with the ps command or processing status and the top command.
Process status with the ps command
Check the same process on the top command
Work with commands
This video we look at steps to installing SSH.
Know how SSH is a cryptographic network protocol
Learn the difference between SSH and Telnet
Make use of SSH
Connect with PuTTy and SSH.
Install PuTTy on our windows system
Get our IP address
Check the service of our SSH with Systemctl, for example:sshd
Getting to know putty and its usefulness.
Install the version of PuTTy
Use PuTTy and SSH
This video we will or make users to access SSH using cryptography key.
Create a key
Use the ssh-keygen
Know our SSH key
This video we will look at how to enable and disable firewall service.
Disable firewall service
Learn the firewalld service
Check if the firewall is running or the sshd service
This video we will be working with Network file system or NFS for file sharing.
Learn the meaning of NFS
Install NFS
Make use of NFS between multiple clients
This video we will be looking at the steps for installing NFS.
Use sudo yum install Nfs-utils
Check the status and service
Understand the services we have in NFS
This video we will be setting up and sharing NFS with client.
Install NFS in other client
Confirm the installations in a client machine
This video we will be checking if the NFs server is running and making sure our services are available before connecting to the client.
Check the NFS services status
Enable services for NFS client
Disable and restarting the NFS server and services
This video gives an overview of this section.
In this video we will discuss about the origin of CentOS 7 and what CentOS 7 is used for.
Discuss the origin of CentOS 7
Understand about what CentOS 7 server is useful for
Learn the differences between CentOS 7 and RedHat Linux
In this video we will download and install oracle VirtualBox, setting up a virtual environment and also preparing our installations media.
Set up and creating our virtual environment
Set up our networks for guest and host connections
Set up our installations media for CentOS 7
This video we will be downloading and installing CentOS 7 server, check type of CentOS 7 versions, and check for hardware requirements.
Look into systems requirements before installing CentOS 7
Download and install CentOS 7
Check for hardware requirements
This video we will be updating and upgrading CentOS 7, installing editions.
Look at installing updates
Install additional tools for screen resolution to make them fit the screen
Check the how to install VMware tools
In this video we will be exploring and checking out the CentOS 7 desktop and the GNOME.
Explore the applications and the nonfictions
Check out what is GNOME and how it works in Linux
In this video we will focus on the Linux command-line.
Explore the terminal and the prompt
Understand what is the Linux shell and the terminal
Use of the terminal as administrators to make our works easier
This video we will focus on how to navigate and list directories, open processes and checking our currently working directories.
Navigate the file systems in the terminal
List and check different directories and print a working directory
Launch processes and monitor our Linux systems
In this video we will learn how to move, remove and copy files from one directories to another.
Copy files
Move directories and removing them
Focus on how to better manage our directories when removed, copied and created.
This video will cover how to create files in different ways, list files and how to extract information from those files for better usage.
Create a file and then listing its contents
Extract information from the text files created from the terminal
List files contents in a less format
This video will cover how to use text editors via the Linux terminal and how to use the graphical ones in the Linux distributions.
Learn about the Nano
Understand VIM
Edit and make use of Nano and VIM for text editing
This video will cover how disk managements works and how to check them in terminal.
Use commands like lsblk, du, and so on
List disk information and getting the view of what the systems running on
Get information on the storage management
This video will cover how to redirect and find helps for commands and how they are been used.
Find command and how to make use of it
Help command and how it works while using the terminal
Redirect the standard streams via the Linux terminal using the <> signs
This video focuses on exploring hard links to link a file to another file.
Understand hard link
Link files into one another with ln command
Link a hard link file in a directory
This video will cover how to use symbolic links not so different from hard link to also link files in a more symbolical way.
Understand the symbolic link
Use symbolic links to link files with ln command
Explain symbolic link to link files in a directory
This video will cover how to use Stickybits, check SUIDbits, and make use of SGIDbits.
Learn about the Stickybits, SUIDbits and SGIDbits
Understand what and how the standard user works and its usefulness
In this video we will cover how to check systems status and file status, the access time and the last time a file or a system directory was modified with time status.
Access the time files and directories were last modified with their last time accessed
Make use of each commands administratively
Check time a directory was last created and making use of the tty command
In this video we will cover how to create users and groups.
Learn about the users in Linux administrations
Learn about the groups in Linux administration
Check the user and group file
This video will cover the user authentication in Centos 7.
Understand how user authentication works in CentOS 7
Explore the usefulness of user authentication
Explore users file in the /etc directory
This video will cover creating a user password and assigning one to the groups.
Check the groups password directory and its contents
Understand the differences between users and groups passwords file
Explain the important details in the user and groups password files
In this video, we will explain what user’s password policy in CentOS 7 is.
Understand what are password policies
Check the password policy and how to expire a user’s account and recreating a new password
View the configuration file in Nano signing out and signing in back to recreate a new password after expiring our account password
In this video we will explain and describing what is networking in centos 7 and how networking plays a major part in system administration.
Learn about the networking
Learn the advantages of Networking
Check ifconfig and other network commands on terminal
In this video we will install SSH and explain what DHCP is.
Install SSH
Install PuTTy and connecting to a windows remotely
Understand the DHCP and port how it works with on client side
In this video we will be setting up or connect to another system remotely with Netcat, Telnet and making use of Ping command.
Set up Netcat and Telnet
Connect via terminal with Netcat and Telnet
Make use of Ping as an administrator
This video will cover how to set up a web server and set up enable and start a web server
Learn about the web server and installations
Start and confirmations of a web server if installed
Do a Basic web testing on a web server
This video will be covering how to manage system services using Systemctl.
Understand system
Make use of Systemctl to check applications and firewall status
Stop and starting services with Systemctl in Systemd
This video will cover how to enable and disable system services.
Enable Systemd services
Disable Systemd services
Check running services fully using Systemctl commands
This video will cover how to check loaded services in system.
List all services in system
Check the types of services loaded in Systemd services
Check little details of services in terminal
In this video we will looking into understanding SELinux in CentOS 7.
Learn about the SELinux
Understand SELinux usefulness
Check SELinux status
This video we will verify and check for SELinux packages on CentOS 7.
Check status with SEstatus command and more
Check the SELinux file
Pass SELinux sestatus command with grep and pipe commands
This video we will check how to verify syslog in CentOS 7.
Work with command journalctl
Check SELinux log with journalctl
Verify service logs with journalctl command
This video we will checking SELinux policy.
Learn about the SELinux policy
Install SELinux policy core utils
This video will cover how to enable and disable SELinux in CentOS 7.
View the SELinux configurations file, What is Enforcing, permissive, and disabled
Check SELinux with getenforce and disabling SELinux in the configuration file
Enable SELinux by editing the configurations file to enforcing
Have you only come into brief contact with Linux before, but now you need to set up or maintain a Linux server? Then this course is perfect for you! Linux is a major and one of the most popular forces in computing technology, powering everything from mobile phones and personal computers to supercomputers and servers. The job of a systems administrator is to manage the operation of a computer system. Hence, troubleshooting is an important skill used in many Information Technology roles including help desks, system administration, networking, and security.
This comprehensive 3-in-1 course follows a strict hands-on approach and demonstrates full troubleshooting steps; performing administrative tasks! Initially, you’ll perform administrative tasks such as keeping the system up-to-date, installing new software, monitoring the system, and configuring new services. Develop your own methods to troubleshoot services and processes and monitor the system to identify critical machine issues. Configure SSH servers for secured connections via remote computers and set up a Network File System to better manage your Linux files. Finally, set up SELinux and SSH, and operate your web server with Apache!
By the end of the course, you’ll configure, manage, and secure CentOS 7 Linux servers with administrative command-line skills to become an expert Linux Systems Administrator!
Contents and Overview
This training program includes 3 complete courses, carefully chosen to give you the most comprehensive training possible.
The first course, Hands-On Linux System Administration, covers how to set up services, keep the system up-to-date, and schedule tasks. With this course, you'll learn how to master any Linux machine. Control and master the administration of a Linux machine, whether a workstation or a server. You'll learn how to set up services, monitor the system, perform backups, and schedule common tasks. By the end of the course, you will be ready to start your career as a Linux system administrator.
The second course, Troubleshooting Linux Administration, covers quick and simple troubleshooting solutions to deal with all the problems you'll encounter as a Linux administrator! In this troubleshooting course, you will master the full power of the superuser; you'll use sudo to fix user management files and passwords, and schedule tasks with cron before troubleshooting. You will also troubleshoot and resolve wireless issues, identify machine issues with different troubleshooting processes, configure an SSH server for remote connections, and set up a Network File System to connect to your client.
The third course, Advanced Linux System Administration, covers how to configure, manage, and secure CentOS 7 Linux servers with administrative command-line skills. Throughout the course, we show you many tasks you'll encounter when administering a Linux server; you'll put the concepts to use in practical, real-world situations. You'll be able to configure, maintain, and run commands across many systems—all at the same time. We provide tips and tricks to make your life easier, speed up your workflow, and make you feel like a certified Linux administrator ninja! We cover topics such as disk and user management, networking, some advanced Linux permissions, shell scripting, and advanced command-line skills—all via practical, hands-on examples and demonstrations. By the end of the course, you will be confident about performing Linux systems administrator tasks; you'll also be able to perform systems engineer tasks smoothly.
By the end of the course, you’ll configure, manage, and secure CentOS 7 Linux servers with administrative command-line skills to become an expert Linux Systems Administrator!
About the Authors
Jack-Benny Persson discovered Linux and the internet way back in 1997 and has since been obsessed by it. Linux and networking have been both his hobby, his field of study, and also his career. He runs a small business in Sweden where he does everything from consulting work to writing books, as long as it has to do with Linux, programming, networking, or electronics. He also has a keen interest in communication and is a HAM radio operator. He is truly a jack-of-all-trades when it comes to technology. One of his (many) dream professions is to become a teacher, though he really likes teaching technology.
Paul Olushile graduated with a diploma degree in computer science and is currently working as a cybersecurity expert. He loves teaching and hence he has been freelancing for over 4 years to share his expertise as a Unix/Linux administrator with students. He has a diverse set of certifications, interests, and experiences, including server administration.