Multiple LXD Hosts Can Share a Discreet Layer-2 Container-Only Network

Interested in LXD and LXC?  Check out our new LXC/LXD Deep Dive course here at Linux Academy!  We cover topics including installation, launching containers, persistent storage, networking, and even cover some fascinating use cases to make LXC useful and relevant to you right now!

We’ve also created this LXC-LXD Cheat Sheet to help you get started with LXD right away!

Introduction

LXD is a really fun and easy way to jump into containers, especially if you have some experience with virtual machines.  LXD is designed to create machine containers, which strongly resemble virtual machines, so trying out new distributions or testing application deployments is easy and – dare I say it – fun.  LXD 2.0 brought myriad new features to the platform, but a few tasks remain adorably unfledged. A single node of LXD, for instance, can easily be initialized and containers come up on their own private network with the default settings.  Once a second node is added, a major limitation becomes obvious:  Each node has its own private network for containers and, without some networking jujitsu, will never be able to communicate with one another.

Getting all those containers on the same layer 2 network, regardless of which host each one resides on, is what this post is all about.  

(more…)

Using Docker-Compose to Simplify Multi-Container Builds

One of the primary advantages of containers is the ability to quickly deploy a single, discrete application with a known configuration, fully supported within the container. However, as we all know, within our enterprise organizations, most applications do not run on their own – most have to connect to and use search services, databases, and more. Let’s take a look at how to build a multi-container environment, managed with a single utility in order to simplify your deployments. (more…)

What to Expect When You’re Testing – Best Practices to Prepare for a Red Hat (or Any Other) Exam

Pretty frequently, we get students asking for tips on preparing for Red Hat exams in addition to completing Linux Academy courses and using Hands-on labs. No matter how long you study or how much time you dedicate to preparation, there’s always a lingering “what if?” in the back of your mind. Unfortunately, this is a feeling that will most likely stick with you throughout your career, but you don’t need to let those pre-test jitters get to you. If you study hard and keep your focus, passing your next exam will be a breeze – but studying isn’t the only way to prepare. Here are a few of my own suggestions for making sure that you’re at the top of your game in your next exam.

(more…)

Behind the scenes

Hi. I’m Kevin James.

No, I am not the actor.  I get that a lot though.  I am one of your course authors here at Linux Academy.

Let me say straight out, I love working in IT.  It has taken me around the world and allowed me to meet lots of great people and learn many new things.

I have been working in IT for a little over 30 years and I still love what I do.  It’s a field that continually changes over time and I feel just keeps getting better.  It’s a field that has allowed me to travel and work in other countries and meet lots of people and help companies grow and change over time.

When I first started, back as a student.  I learned how to create programs using cards and pencils (I am so glad that didn’t last long) and then moved to green screen terminals and computers with core memory.  My first computer system I worked with and learned on was a Digital PDP-11/70, which was at the school I attended to learn about computers.

(more…)

The Lost Art of Disk Quota Management

Once upon a time, disk space was at a premium (in fact, most compute resources were). Many times, companies and educational institutions provided access to systems via a shell (telnet or SSH) to their employees or students. Since those resources were at a premium, they had to be divided amongst the users in various forms. The most common resource that required strict controls was disk space. Even today, you may need to occasionally limit the disk space (or number of files) that a user account can use. It is one of those system administration functions that is used less often, but it is an important topic to understand (and is one of the objectives on the recently launched LPIC-1: System Administrator – Exam 1 Certification Prep Course here at Linux Academy). Let’s take a look at some of what goes into restricting disk space for your user community. (more…)

Using Personal or Side Projects to Show Experience

One of the most common questions we see here is how to show experience and expertise when you are just starting out or have no professional IT experience. Creating a resume and convincing employers to give you a chance can seem insurmountable when your only job experience is working at the local grocery store or your college bookstore. Even if you do have some professional experience, working towards a promotion or switching to a new field can be incredibly difficult if you are not able to show you have experience with the technologies employers are looking for. (more…)

Windows + Linux

About That Steve Ballmer Comment …

Search the Internet for “Microsoft and Linux.” Go ahead; open a new tab and run that term through Bing. *rimshot* I’ll wait.

Notice a common thread? I sure do. Virtually every top result harkens back to 2001, the year that Steve Ballmer is credited with calling Linux “a cancer.”

For nearly two decades, Microsoft waged a holy war against Linux – I’ve actually had Microsoft employees tell me that the first thing they learned from Redmond were the evils of open source – until 2015, when Microsoft declared its love of Linux and later went on to join the Linux Foundation.

When you consider the circumstances, however, it’s not at all surprising. (more…)

Nerd Wars

Nerd Wars

October 2016 saw several DDoS (Distributed Denial of Service) attacks of unprecedented magnitude and impact. When I am impacted by such things, I’m always a little irritated. “Well, if I were administering that (network|data center|server),” I tell myself, “this would never have happened.”

But let’s be real. I can’t say that. Not with any degree of certainty, anyway, and most certainly not without a LOT of hubris. Even with the best centralized logging and diligent engineering teams, during events like the October 2016 attack, any analysis or determination of causality will likely be post-mortem. Mitigation measures have proven themselves effective to varying degrees, but they all have one thing in common: they’re reactive, not proactive. (more…)

Build Your Own Linux... for Free!

Access the Build Your Own Linux Book for Free!

Last week, we announced one of our newest course offerings, Build Your Own Linux… from Scratch. This course includes an 115-page PDF booklet detailing the process of building a basic Linux distro from the ground-up, alongside Linux Academy’s normal video lessons. But we decided we liked the book so much, we wanted everyone to have it. So we made it a website and released it for free.

BuildYourOwnLinux.com takes all the written copy from the Build Your Own Linux course and offers it to anyone interested in learning about how Linux distros go from simple Linux kernel to useable servers. From preparing your workspace to downloading and configuring needed packages, the course — and website — aims to give you a deeper understanding of Linux and how distros are made. And you don’t even need a Linux Academy account!

Of course, if you come across any issues or have any questions while building your very own Linux, we’re still here to help. Sign up for our free community to chat with thousands of industry professionals and students just like you.

So what are you waiting for? Open up your terminal and get building!