Tutorials

Follow along with one of our 2458
development and sysadmin tutorials.

2458 Tutorials
  • Tutorial

    Understanding Generators in JavaScript

    In ECMAScript 2015, generators were introduced to the JavaScript language. A generator is a process that can be paused and resumed and can yield multiple values. They can maintain state, providing an efficient way to ...
    By Tania Rascia JavaScript Development
  • Tutorial

    How To Automate Your Node.js Production Deployments with Shipit on CentOS 7

    Shipit is a universal automation and deployment tool for Node.js developers. It features a task flow based on the popular Orchestrator package, login and interactive SSH commands through OpenSSH, and an extensible API...
    By Haiden Taylor Node.js Automated Setups CentOS Git JavaScript
  • Tutorial

    How To Package and Publish a Snap Application on Ubuntu 18.04

    Snap is a modern application packaging format with powerful sandboxing and security features, including file system isolation, automatic updates and integrated dependency management. In this tutorial, you will create ...
    By Jamie Scaife Applications Development Ubuntu 18.04
  • Tutorial

    How To Install Linux, Nginx, MySQL, PHP (LEMP) Stack on CentOS 8 [Quickstart]

    In this tutorial, you’ll install a LEMP stack on a CentOS 8 server. Although MySQL is available from the default repositories in CentOS 8, this guide will walk through the process of setting up a LEMP stack with Maria...
    By Erika Heidi LEMP CentOS CentOS 8 PHP Nginx MariaDB
  • Tutorial

    How To Install Linux, Nginx, MySQL, PHP (LEMP) Stack on CentOS 8

    The LEMP software stack is a group of software that can be used to serve dynamic web pages and web applications written in PHP. The name "LEMP" is an acronym that describes a Linux operating system, with an (E)Nginx w...
    By Erika Heidi LEMP PHP CentOS 8 CentOS Nginx
  • Tutorial

    How To Set Up Apache Virtual Hosts on Ubuntu 18.04 [Quickstart]

    This tutorial will guide you through setting up multiple domains and websites using Apache virtual hosts on an Ubuntu 18.04 server. During this process, you’ll learn how to serve different content to different visitor...
    By Lisa Tagliaferri Ubuntu 18.04 Apache Quickstart
  • Tutorial

    How To Install R on Ubuntu 18.04 [Quickstart]

    R is an open-source programming language that specializes in statistical computing and graphics. In this tutorial, we will install R on an Ubuntu 18.04 server.
    By Lisa Tagliaferri R Quickstart Ubuntu 18.04
  • Tutorial

    How To Install R on Ubuntu 18.04

    R is an open-source programming language that specializes in statistical computing and graphics. In this tutorial, we will install R and show how to add packages from the official Comprehensive R Archive Network (CRA...
    By Lisa Tagliaferri R Applications Ubuntu 18.04
  • Tutorial

    How To Import Existing DigitalOcean Assets into Terraform

    Terraform is an infrastructure as code tool created by HashiCorp that helps developers with deploying, updating, and removing different assets of their infrastructure in an efficient and more scalable way. In this tut...
    By ivanderz Terraform Cloud Computing DigitalOcean Cloud Firewalls
  • Tutorial

    How To Set Up ReadWriteMany (RWX) Persistent Volumes with NFS on DigitalOcean Kubernetes

    With the digitalocean-csi, DigitalOcean Block Storage, and the NFS protocol, you can make a ReadWriteMany (RWX) Persistent Volume for Kubernetes. In this tutorial, you will configure dynamic provisioning for NFS volum...
    By John Kwiatkoski Kubernetes Block Storage DigitalOcean Managed Kubernetes
  • Tutorial

    How To Use Database Migrations and Seeders to Abstract Database Setup in Laravel

    Migrations and Seeders are powerful database utilities provided by the Laravel PHP framework to allow developers to quickly bootstrap, destroy and recreate an application’s database. In this guide, we'll create Migrat...
    By Erika Heidi PHP PHP Frameworks Databases Laravel
  • Tutorial

    Recommended Steps To Harden Apache HTTP on FreeBSD 12.0

    Although the default installation of an Apache HTTP server is already safe to use, its configuration can be substantially improved with a few modifications. In this tutorial you'll implement some recommended steps to ...
    By Albert Valbuena FreeBSD Apache Security
  • Understanding Map and Set Objects in JavaScript

    Introduced in ECMAScript 2015, Maps in JavaScript are ordered collections of key/value pairs, and Sets are collections of unique values. In this article, you will go over the Map and Set objects, what makes them simil...
    By Tania Rascia JavaScript Development
  • Tutorial

    How To Set Up the Eclipse Theia Cloud IDE Platform on Ubuntu 18.04 [Quickstart]

    Eclipse Theia is an extensible cloud IDE running on a remote server and accessible from a web browser. In this tutorial, you'll deploy Eclipse Theia to your Ubuntu 18.04 server using Docker Compose, a container orches...
    By Savic Cloud Computing Quickstart
  • Tutorial

    How To Use Cron to Automate Tasks on CentOS 8

    Cron is a time-based job scheduling daemon found in Unix-like operating systems, including Linux distributions. This guide provides an overview of how to schedule tasks using cron's special syntax on a machine running...
    By Mark Drake System Tools Automated Setups CentOS CentOS 8
  • Tutorial

    How To Set Up Apache Virtual Hosts on Ubuntu 18.04

    This tutorial will guide you through setting up multiple domains and websites using Apache virtual hosts on an Ubuntu 18.04 server. During this process, you’ll learn how to serve different content to different visitor...
    By Lisa Tagliaferri Ubuntu 18.04 Apache
  • Tutorial

    DigitalOcean's Technical Writing Guidelines

    DigitalOcean is excited to continue building out its collection of technical articles related to server administration and software engineering. To keep the DigitalOcean community unified and to ensure that articles f...
    By Hazel Virdó, Brian Hogan DigitalOcean Articles
  • Tutorial

    How To Build a Node.js Application with Docker [Quickstart]

    Interested in Node.js but not sure where to start with Docker? This tutorial will walk you through the first step: building an image for a Node.js application and creating a container from it. We will also walk you th...
    By Kathleen Juell Node.js Docker Applications Quickstart
  • Tutorial

    How To Set Up SSH Keys on CentOS 8

    SSH, or secure shell, is an encrypted protocol used to administer and communicate with servers. When working with a CentOS server, chances are you will spend most of your time in a terminal session connected to your s...
    By Brian Boucheron, Hanif Jetha CentOS Linux Basics Getting Started Security System Tools CentOS 8
  • Tutorial

    Initial Server Setup with CentOS 8

    When you first create a new CentOS 8 server, there are a few configuration steps that you should take early on as part of the basic setup. This will increase the security and usability of your server and will give you...
    By Justin Ellingwood, Mitchell Anicas, Brian Boucheron CentOS Linux Basics Getting Started Initial Server Setup CentOS 8