Category: Linux Tutorials

Linux Server Managment

W

Why NASA open sourced the Rover

Artist's conception of the Curiosity rover vaporizing rock on Mars

The host of the Command Line Heroes podcast, Saron Yitbarek, kicks off each episode with a sound-studded description of an event that sets the stage for the topic of the episode. Sometimes it’s a speech from Al Gore, and sometimes its the Mars Curiosity Rover landing.

You should go have a listen.

In the final episode recap, Yitbarek walks us through “how open source fuels some of humankind’s grandest projects.”

read more

U

Use your Linux terminal to celebrate a banner year

Hello again for another installment in our 24-day-long Linux command-line toys advent calendar. If this is your first visit to the series, you might be asking yourself what a command-line toy even is. We’re figuring that out as

Display Linux logo with hardware Info using screenfetch / linux_logo nixCraft Updated Tutorials/Posts

Do you want to display a super cool logo of your Linux distribution along with basic hardware information? Look no further try awesome screenfetch and linux_logo utilities. Say hello to screenfetch screenFetch is a CLI

How do I know if my Linux is 32 bit or 64 bit? nixCraft

I need to find out if my Linux server is running on 32-bit or 64-bit system. How do I know if my Linux is 32 bit or 64 bit?To check if your Linux server is

5 Tips To Speed Up Linux Software Raid Rebuilding And Re-syncing nixCraft Updated Tutorials/Posts

It is no secret that I am a pretty big fan of excellent Linux Software RAID. Creating, assembling and rebuilding small array is fine. But, things started to get nasty when you try to rebuild

How to update LXD container Ubuntu image from 16.04 to 18.04 nixCraft

I run my app inside Ubuntu Linux 16.04 LTS lxd Linux container. To upgrade Ubuntu 16.04 to 18.04 LTS container, I run do-release-upgrade command, but I am getting the error message that read as “Must

H

Head to the arcade in your Linux terminal with this Pac-Man clone

Linux toy: myman

Welcome back to another day of the Linux command-line toys advent calendar. If this is your first visit to the series, you might be asking yourself what command-line toys are all about. Basically, they’re games and simple diversions that help you have fun at the terminal.

Some are new, and some are old classics. We hope you enjoy.

read more

How to check RAID configuration in Linux nixCraft

I need to check RAID configuration in Linux. How do you check your current software RAID configuration in a Linux-based server powered by RHEL/CentOS or Debian/Ubuntu Linux?Introduction – Linux supports both software and hardware based

Bash check if string starts with character such as # nixCraft

My bash shell script read a config file line-by-line using a bash while loop. I need to check if a string stored in $var starts with some value such as # character. If so I

How to secure Apache with Let’s Encrypt Certificates on RHEL 8 nixCraft

I read that Let’s Encrypt is a free, automated, and open certificate for web server and other usages. How do I secure Apache with Let’s Encrypt Certificates on RHEL 8?Introduction – Let’s Encrypt is a

T

The Linux terminal is no one-trick pony

Welcome to another day of the Linux command-line toys advent calendar. If this is your first visit to the series, you might be asking yourself what a command-line toy even is. We’re figuring that out as we go,

How To Install Linux, Apache, MySQL, PHP (LAMP) stack On RHEL 8 nixCraft

How do I set up a LAMP stack on RHEL 8 cloud server or VPS or bare metal server? How can I install Linux, Apache, MySQL/MariaDB, PHP (LAMP) stack On RHEL (Red Hat Enterprise Linux)

Linux / UNIX: Check If File Is Empty Or Not Using Shell Script nixCraft Updated Tutorials/Posts

How do I check if a file is empty or not using bash or ksh shell script under a UNIX / Linux / macOS / OS X / BSD family of operating systems? How do

FreeBSD 12 released: Here is how to upgrade FreeBSD 11 to 12 nixCraft

The FreeBSD project announces the availability of FreeBSD 12.0-RELEASE. It is the first release of the stable/12 branch. The new version comes with updated software and features for a wild variety of architectures. The latest

P

Patch into The Matrix at the Linux command line

Linux toy: cmatrix

You’ve found your way to today’s entry from the Linux command-line toys advent calendar. If this is your first visit to the series, you might be wondering what a command-line toy even is? It’s anything that’s an entertaining diversion at the terminal, be it a game, a fun utility, or a simple distraction.

Some of these are classics, and some are completely new (at least to me), but I hope all of you find something you enjoy in this series.

read more

T

Top 5 configuration management tools

DevOps is evolving and gaining traction as organizations discover how it enables them to produce better applications and reduce their software products’ time to market. DevOps’ core values are Culture, Automation, Measurement, and Sharing (CAMS), and

How to install Nvidia driver on CentOS 7 Linux nixCraft

I am a new CentOS 7 Linux desktop user. I need to use Nvidia software for my video editing software and other purposes. How do I install the Nvidia driver on CentOS 7 Linux?Introduction: Nvidia

P

Powers of two, powers of Linux: 2048 at the command line

Linux toy: 2048

Hello and welcome to today’s installment of the Linux command-line toys advent calendar. Every day, we look at a different toy for your terminal: it could be a game or any simple diversion that helps you have fun.

Maybe you have seen various selections from our calendar before, but we hope there’s at least one new thing for everyone.

read more

O

Optimizing Kubernetes resource allocation in production

My first day with Kubernetes involved dockerizing an application and deploying it to a production cluster. I was migrating one of Buffer’s highest throughput (and low-risk) endpoints out of a monolithic application. This particular endpoint

How to setup a UFW firewall on Ubuntu 16.04 LTS server nixCraft Updated Tutorials/Posts

How do I setup a firewall with UFW (uncomplicated firewall) on an Ubuntu Linux 16.04 LTS server to restrict traffic on my personal web-server that hosts my pictures and blogs for my family members?UFW is