Introduction to Server Administration
4.4 (89 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
654 students enrolled

Introduction to Server Administration

Deploy and Manage Your Servers | Act as Your Own Server Administrator
4.4 (89 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
654 students enrolled
Last updated 7/2019
English [Auto]
Current price: $69.99 Original price: $99.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 5 hours on-demand video
  • 1 article
  • 10 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • You will learn what exactly a virtual private server (VPS) is, how one can benefit you, and how to provision one.
  • You will learn how to SSH into your new machine and navigate around using the command line.
  • You will learn how to use command line based text editors to edit configuration files.
  • You will learn what a package manager is and how they can help you set up a system.
  • You will learn how to set up a LAMP hosting environment.
  • You will learn how to use Git to populate /var/www/ with your projects.
  • You will learn how to connect projects to local MySQL databases.
  • You will learn how to point domain names to your sites and set up Apache virtual hosts.
  • You will learn to lock down your system by closing common web server attack vectors.
  • You will learn how to troubleshoot your server by reading your log files.
  • You should have basic understanding of the Windows or Mac operating system
  • You should able to use the internet and internet tools

Are you a developer who wants to be able to deploy and manage your own servers?  Perhaps you want to start working in server side development and need to understand the back end environment. Maybe you're interested in starting a career in server administration and want to understand the fundamentals?

The fact is if you're a web developer, or web technologist you need to understand server administration. After you complete this course you will be able to independently provision your own web servers, and deploy salable web applications that can be shared globally. You'll learn the tools of the trade used by server administrators, and how to properly secure your web servers.

This is a course about DOING-- not simply watching an instructor. In the very first chapter you'll hit the ground running as you create and configure your first server. During the course you'll master command interface tools like NANO and VIM. You'll examine package managers and understanding the LAMP stack.

This course also prepares you to work with GIT code repositories and the popular mySQL database.  You'll also learn the important server administration skills of working with security and logs.

When you enroll in this class you'll join a community of learners led by LearnToProgram's Henry Quinn.  If you'd like to add server administration to your list of skills, we'll look forward to seeing you in class.

Who this course is for:
  • Web Designers and Developers who want to understand the server environment
  • People who want to learn DevOps (Development Operations)
  • People who work with enterprise applications
  • Back end developers
Course content
Expand all 76 lectures 04:59:49
+ First Steps In Server Administration
9 lectures 29:10

A quick introduction to the course, overview of the main learning points, and why you should be hyped.

Preview 00:39

Learn a little bit about your instructor for this course, Henry.

Preview 00:50

Dip your feet into Server administration with this quick introductory activity.

Preview 04:37

Learn about which tools and resources you will need while going through this course.

Preview 02:35

Henry goes over Digital Ocean.

Digital Ocean Overview

Henry shows you how to create your first server.

Creating Your First Server

Henry gets you started on your first lab exercise for the course.

Sign up for Digital Ocean and Create a Server

Congratulations video on making your first server!

You’re Officially a Server Admin (“It’s A Unix System!”)
+ How To Connect And Get A Lay Of The Land (SSH & CLI)
9 lectures 37:35

Cool, you have a server. Now what?

Handling Permissions and Users

Learn how to use SSH to log in using emailed credentials.

SSH (Secure Shell)
PuTTY (SSH from a PC)

Henry goes over sudo, and how to add a user that’s not root and explain why that’s important.

Create a User

Some basics of navigating the file tree with - ls (-a -l -alt), cd, cp, mv, rm, pwd, man.

Navigate the File Tree

Take a look at Linux file system.

Quick Tour

Dive a little deeper with File permissions, chmod, chown.

Less Quick Tour

This second lab will have you go through a set of tasks on the command line.

Setting up Tasks on the Command Line

You now have the knowledge to move around your server!

CLI Came, CLI Saw, CLI Conquered
+ Editing Files, Or How To Stop Worrying And Love Vim (Nano & Vim)
7 lectures 23:29

CLI is neat and all, but how do I write code in here?

Navigating with Nano & VIM

CLI editors vs GUI editors

CLI Text Editors

A rundown of the basics of using Nano.


Henry shows you how to install and get started with Vim.


Learn some VIM commands in a neat and fun game!

VIM Adventures

In this lab exercise you will Create a file/edit file, find/replace, and copy/paste.

Creating and editing files

Vim seems like a lot, but it’s powerful. Nano is more than acceptable.

You Too Can Be a Vim Snob!
+ Sudo Yum Get Install Understanding-Of-Package-Managers (Yum)
7 lectures 18:41

Cool. Files and stuff. What else can this do?

Basic Yum Commands

There are programs just like on desktops. Just… different.

Package Managers 101

Henry discusses dependencies, Yum list, yum search, and compares version numbers.

See What You’ve Got and Find Something New

Henry shows you how to install the sl train, shows how it works, and demonstrates how remove it with yum.

Remove a Package

Go over some commands in Yum and some places for quick reference.

Yum Cheat Sheet
Using Package managers

Package managers are the key to making any server you want.

The World At Your Fingers
+ No, The Other Kind of LAMP (LAMP Stack)
8 lectures 31:49

How do I string packages together?

What is the Lamp Stack?
Introduction to the LAMP Stack

Install and enable Apache, MySQL and PHP.

Gather The Tools

Common settings people change, and /var/www/

Common Setting in Apache

Enable and configure MySQL and learn some basic MySQL commands.

Enabling and Configuring with MySQL

Henry talks about how this translates PHP and serves HTML pages.

Serving HTML Pages with PHP
Working with Apache, MySQL, and PHP

Now you have LAMP up. You can put any number of sites in here!

The Hostess With the Mostest
+ Let’s Git Your Code On This Server (Git & HTTPD)
7 lectures 22:47

But how do I get projects on here?

Using GITHUB to put projects on your Server

Brief overview of Git, and an explanation of /var/www/ hosting sites.

Overview of Git and /var/www/

Clone a repository down to your server and check in browser.

Git Clone

Make a change on your computer, push it to GitHub, and pull to your server.

Making Changes (Remote)

Henry shows you how to make changes on the server (Vim), commit, push to GH, and pull to computer.

Making Changes (Local)

This lab will ask you to Git clone two of Henry's repos and set up virtual hosts (ports).

Git Cloning Virtual repositories

Now you can get your code somewhere you can show it off!

You’re A Git-ar Hero
+ If It Only Had A Brain (MySQL)
7 lectures 43:10

But how do I store and use input data?

Connecting Databases to your Server

Create a user, give CRUD access, and go over GRANT.

Creating Users/Passwords/Permissions

Go over how databases are made up of tables.

Creating Databases/Tables/Columns

Connect Prebuilt PHP app to the database and learn how conn/user/pass/db work.

Connecting App To Database

Install and hook up SQLBuddy. Easy mode.


In this lab you will Git clone Henry's repo and hook it up to MySQL.

Linking up to MySQL

Now you can give your apps lasting memory and that's pretty neat.

It’s Alive It’s Alive!!!
+ Help People Find Your Projects (Domains)
7 lectures 32:48
Linking a Domain to your Server

Buy a domain from NameCheap and do the name server forwarding.

Buying A Domain
Pointing That Domain To Your Site/Server

Henry teaches you how to create virtual host to have a subdomain.


Henry talks about how you can use MX, TXT, and AAAA records.

Advanced Domain Stuff
Setting up a Domain with your Server

No one likes remembering IP’s. This makes your life easier.

This Is Kind Of How Google Started
+ How To Stop The Hackers (Security)
7 lectures 30:52

This all seems like it would be awfully easy to hack…

Protecting Your Server

Henry goes over settings, explains some of them, and teaches you how to lock down ssh by root when not local.

Lock Down SSH

Henry explains creating, adding, and using an SSH key.

Add SSH Key

Lock down those ports.

Basic Firewall

Making snapshots with DO, go over offsite backups and git fire.


Read up on basic security principles?

Basic Security

There is SO much more you can do, but this is a solid baseline.

The Best Offense Is A Good Defense
+ Have You Checked The Logs?
7 lectures 28:46

Seriously though, have you checked the logs?

Check those Logs

If something broke, this should be your first stop. Henry explains logs.

Logs and You! (/var/log/)

Quick video to go over ls flags again, so you can find last modified.

Which Files To Check (ls -altr)

Henry breaks a couple things on purpose and finds the access/error logs.

What To Look For

Talk briefly on technology like Splunk and ELK.

Log Aggregators

In this lab, you will open certain logs in vim and search for provided events.

Opening up logs and searching for events

Logs make your life easier. Learn to read them. Learn to love them.

Pay Attention To The Man Behind The Curtain