This course is designed for the IT professional or computer hobbyist who wants to quickly get their first Linux server up and running. It is four hours of console screen capture with highlights, voiceover explanation, and on-screen description of commands and concepts.
The course assumes some knowledge of computer hardware and operating systems such as files, directories, and disk partitions. If you've been curious about Linux but have been frustrated by the "read the docs and learn" mentality, this course will walk you through installation, configuring a web and file server, setting up redundant disks, and a number of other administrative tasks.
The end product will be an Ubuntu Linux installation suitable for home or small office server.
Most operating systems have users and groups. Users and groups are used to separate file and directory ownership, to control access via passwords, and to let multiple people use the system at the same time. This segment explains how users and groups are used and managed. It also explores the theory of "superusers" like the root account. Additionally, I cover how services like a web server are configured to run more securely as a special user.
The "LAMP stack" is arguably what drove Linux adoption for Internet services well into the early 2000's. "LAMP" stands for Linux, Apache, MySQL, and PHP. In software development, a "stack" is a set of technologies that are engineered to work together and power an underlying product. Apache is a free and open-source web server. MySQL is a free and open-source relational database engine. PHP is a programming language that is most often used to build dynamic web pages. When you run a PHP site, with a MySQL database backend, using the Apache webserver, on Ubuntu...you are using the LAMP stack.
This lecture walks through very basic installation and configuration of all three services. Ubuntu's default installation of all three is solid and will work with no tweaking. Of the three, MySQL is by far the most customizable and the most likely to take an entire career to understand. Default installations, however, will work wonderfully for any home or small office.
The beauty of the "stack" concept, though, is that you can swap pieces in and out with often little effort. Just because your server runs "LAMP" doesn't mean that it can't also run Python, PostgreSQL, or any number of other services. This lecture, though, will get you started down the most common path.
The Domain Name System (DNS) is used for host-to-IP-address resolution. DNS should be one of the core services that you can provide for a local network. The first part of this lecture will walk you through setting up a DNS server for the other hosts on your local network.
The second half installs a DHCP (Dynamic Host Configuration Protocol) server. DHCP is the protocol that assigns IP addresses to devices when they start. Normally, routers handle IP assignment. You gain some control of your network when you move DHCP onto your Linux host. One big advantage is dynamic DNS.
I explain how to set both of those services up and confirm that they are working with a Windows workstation. You will also be most of the way to knowing how to configure a public-facing DNS server.
It happens to everybody: you typed the wrong command and now everything is gone. One step in preventing that eventual data loss is backups. Luckily, there are a few commands already built into the system that let you get backups done easily. This short lecture explores using the common "tar" command to create compressed backups.
I started working at a Linux based internet service provider in 1998 (before I could drive). Through the years I've worked in various positions as a Linux system administrator, a network administrator, a network engineer, a systems engineer, and a DBA (concentrating on MySQL and MongoDB).
I've been lucky enough to teach many people through my career. Some have gone on to become professional system administrators, some are software engineers or coders, and some are networking people. All have said that my teaching style is effective and approachable, so I've tried to capture that here.