Skip to main content

Linux Basics

How To Configure SSH Key-Based Authentication on a Linux Server
Tutorials Getting Started Linux Basics Security System Tools
Introduction> Introduction # SSH, or secure shell, is an encrypted protocol used to administer and communicate with servers. When working with a Linux server you may often spend much of your time in a terminal session connected to your server through SSH.
How To Send E-Mail Alerts on a CentOS VPS for System Monitoring
Tutorials CentOS Email Linux Basics Monitoring
Introduction> Introduction # The ability to send e-mail alerts is essential for the day to day management of any VPS. For system administrators (and users alike), being able to take advantage of this [new] possibility not only makes things easier, but also provides you with many allies in your combat against thieves or downtime with triggers you can create.
An Introduction to LVM Concepts, Terminology, and Operations
Tutorials Conceptual Linux Basics Storage System Tools
Introduction> Introduction # LVM, or Logical Volume Management, is a storage device management technology that gives users the power to pool and abstract the physical layout of component storage devices for flexible administration.
How To Set Up vsftpd for a User’s Directory on Ubuntu 16.04
Tutorials Linux Basics Security Ubuntu Ubuntu 16.04
Introduction FTP, short for File Transfer Protocol, is a network protocol that was once widely used for moving files between a client and server. It has since been replaced by faster, more secure, and more convenient ways of delivering files.
How To Use Dig, Whois, & Ping on an Ubuntu VPS to Query DNS Data
Tutorials CentOS Debian DNS Fedora Linux Basics Linux Commands Ubuntu
Dig is a networking tool that can query DNS servers for information. It can be very helpful for diagnosing problems with domain pointing and is a good way to verify that your configuration is working.
How To Set Up SSH Keys on Ubuntu 16.04
Tutorials Getting Started Linux Basics Security System Tools Ubuntu 16.04
Introduction> Introduction # SSH, or secure shell, is an encrypted protocol used to administer and communicate with servers. When working with an Ubuntu server, chances are you will spend most of your time in a terminal session connected to your server through SSH.
How To Add Swap Space on Ubuntu 18.04
Tutorials Linux Basics Ubuntu Ubuntu 18.04
A previous version of this tutorial was written by Justin Ellingwood Introduction> Introduction # One of the easiest way of guarding against out-of-memory errors in applications is to add some swap space to your server.
How To Use ps, kill, and nice to Manage Processes in Linux
Tutorials Linux Basics Linux Commands System Tools
Introduction> Introduction # A Linux server, like any modern computer, runs multiple applications. These are referred to and managed as individual processes. While Linux will handle the low-level, behind-the-scenes management in a process’s life-cycle – i.
How To Add Swap Space on Ubuntu 16.04
Tutorials Linux Basics Ubuntu Ubuntu 16.04
Introduction> Introduction # One of the easiest way of increasing the responsiveness of your server and guarding against out-of-memory errors in applications is to add some swap space. In this guide, we will cover how to add a swap file to an Ubuntu 16.
How To Use LVM To Manage Storage Devices on Ubuntu 18.04
Tutorials Linux Basics Storage System Tools Ubuntu Ubuntu 18.04
Introduction> Introduction # Logical Volume Management, or LVM, is a storage device management technology that gives users the power to pool and abstract the physical layout of component storage devices for flexible administration.
How To Protect SSH with Fail2Ban on Ubuntu 14.04
Tutorials Firewall Linux Basics Security Ubuntu
Introduction> Introduction # While connecting to your server through SSH can be very secure, the SSH daemon itself is a service that must be exposed to the internet to function properly.
Linux Navigation and File Management
Tutorials Linux Basics System Tools
Introduction> Introduction # Navigating and manipulating files and folders in the filesystem is a key part of working with most computers. Cloud servers mostly use the same common Linux shells, and common Linux commands, for working with files and folders.
How To Choose an Effective Backup Strategy
Tutorials Backups Conceptual Linux Basics
Introduction> Introduction # Backups are very important for cloud servers. Whether you are running a single project with all of its data stored on a single server, or deploying directly from Git to VMs that are spun up and torn down while retaining a minimum set of logs, you should always plan for a failure scenario.
How To Use SSHFS to Mount Remote File Systems Over SSH
Tutorials Linux Basics
Introduction> Introduction # Transferring files over an SSH connection, by using either SFTP or SCP, is a popular method of moving small amounts of data between servers. In some cases, however, it may be necessary to share entire directories, or entire filesystems, between two remote environments.
The Upstart Event System: What It Is And How To Use It
Tutorials Conceptual Linux Basics System Tools Ubuntu
Introduction> Introduction # Initialization is a crucial procedure that lies at the heart of any Unix-based operating system to control the operation of every script and service. This is essential in a server environment, where issues can occur at the critical points of startup and shutdown, and where ensuring optimal performance is a priority.
How to Add and Delete Users on Debian 8
Tutorials Debian Linux Basics Linux Commands
Introduction One of the most basic tasks that you should know how to do on a fresh Linux server is add and remove users. When you create a new system, you are often only given the root account by default.
How To Configure Logging and Log Rotation in Nginx on an Ubuntu VPS
Tutorials Linux Basics Logging Nginx Server Optimization Ubuntu
Introduction> Introduction # To save yourself some trouble with your web server, you can configure logging. Logging information on your server gives you access to the data that will help you troubleshoot and assess situations as they arise.
How To Configure Virtual Memory (Swap File) on a VPS
Tutorials Linux Basics Server Optimization
Table of Contents & Preface> Table of Contents & Preface # Introduction – Requirements and Why Pros & Cons – Droplet Check if Enabled on your VPS Swap Partitions, Swap Files, & Disk Images
Using Grep & Regular Expressions to Search for Text Patterns in Linux
Tutorials Linux Basics Linux Commands
Introduction> Introduction # The grep command is one of the most useful commands in a Linux terminal environment. The name grep stands for “global regular expression print”. This means that you can use grep to check whether the input it receives matches a specified pattern.
How To Set Up ProFTPD on Ubuntu 12.04
Tutorials Linux Basics
Status: Deprecated> Status: Deprecated # This article covers a version of Ubuntu that is no longer supported. If you are currently operate a server running Ubuntu 12.04, we highly recommend upgrading or migrating to a supported version of Ubuntu: