Tutorials

Follow along with one of our 4,067 development and sysadmin tutorials.

4,067 Tutorials
  • Tutorial

    How To Install Linux, OpenLiteSpeed, MariaDB, PHP (LOMP stack) on Ubuntu 20.04

    Set up a LOMP server running on Ubuntu 20.04 with PHP 8.1, MariaDB 10.7, and OpenLiteSpeed 1.7. The LiteSpeed PHP interpreter functions very quickly to serve dynamic PHP pages.
    0 days agoBy Apoorv PalMariaDBPHPUbuntu 20.04
  • Tutorial

    How to Automatically Update Docker Container Images with Watchtower on Ubuntu 22.04

    Every Docker container requires a Docker image as its base. Images are updated throughout the development process, but by default these updates must be manually pulled and applied to each running container. By pushing...
    1 day agoBy Tony TranContainerDockerUbuntu 22.04
  • Tutorial

    How To Set Up Password Authentication with Nginx on Ubuntu 22.04

    When setting up a web server, there are often sections of the site that you wish to restrict access to. Web applications often provide their own authentication and authorization methods, but the web server itself can ...
    1 day agoBy Justin Ellingwood, Tony TranNginxSecurityUbuntu 22.04
  • Tutorial

    How To Configure Nginx to Use Custom Error Pages on Ubuntu 22.04

    Nginx is a high performance web server capable of serving content with flexibility and power. When designing your web pages, it is often helpful to customize every piece of content that your users will see. This inclu...
    1 day agoBy Justin Ellingwood, Tony TranNginxUbuntu 22.04
  • Tutorial

    What is Serverless?

    This DigitalOcean Community Glossary entry provides a short introduction to serverless computing and links to related resources.
    2 days agoBy Alex GarnettGlossaryServerless
  • Conceptual Article

    Best Practices for Rearchitecting Monolithic Applications to Microservices

    This tutorial provides an overview of best practices for rearchitecting a monolithic application to use microservices, which you can then deploy using Kubernetes, App Platform, or another serverless environment.
    2 days agoBy Alex GarnettMicroservicesConceptualServerless
  • Conceptual Article

    How To Write a Serverless Function

    Serverless architecture allows backend web services to be implemented on an as-needed basis. Rather than needing to maintain your own server configuration, architecting your software for serverless providers can minim...
    2 days agoBy Alex GarnettMicroservicesConceptualServerless
  • Tutorial

    How To Use Views in SQL

    In Structured Query Language (SQL), a “view” is a virtual table whose contents are the result of a specific query to one or more tables. This guide provides an overview of what SQL views are and why they can be useful...
    2 days agoBy Mark DrakeDatabasesInteractiveSQL
  • Tutorial

    How To Install and Configure Postfix as a Send-Only SMTP Server on Ubuntu 22.04

    Postfix is a mail transfer agent (MTA), an application used to send and receive email. It can be configured so that it can be used to send emails by local application only. In this tutorial, you’ll install and configu...
    2 days agoBy SavicEmailUbuntu 22.04
  • Tutorial

    Recommended Security Measures to Protect Your Servers

    When setting up infrastructure, getting your applications up and running will often be your primary concern. However, making your applications to function correctly without addressing the security needs of your infras...
    6 days agoBy Justin Ellingwood, Alex GarnettSecurityFirewallConceptualNetworkingVPN
  • Tutorial

    How To Use the JavaScript Developer Console

    This tutorial will go over how to work with the Console in JavaScript within the context of a browser, and provide an overview of other built-in development tools you may use as part of your web development process.
    6 days agoBy Lisa TagliaferriJavaScriptDevelopment
  • Tutorial

    How To Install the Django Web Framework on Ubuntu 22.04

    Introduction Django is a full-featured Python web framework for developing dynamic websites and applications. Using Django, you can quickly create Python web applications and rely on the framework to do a good deal of...
    13 days agoBy Brian Boucheron, Jamon CamissoDjangoPythonPython FrameworksUbuntuUbuntu 22.04
  • Tutorial

    DigitalOcean Community Glossary

    A glossary of technical terms for the DigitalOcean community.
    14 days agoBy The DigitalOcean Community TeamLinux BasicsMiscellaneousGetting Started
  • Tutorial

    How To Migrate Linux Servers Part 3 - Final Steps

    In the last tutorial of this series, we will finish up our migration by transferring users, groups, mail, crontabs, and other settings over to our new server.
    14 days agoBy Justin Ellingwood, Alex GarnettSystem ToolsFAQ
  • Tutorial

    How To Migrate Linux Servers Part 2 - Transfer Core Data

    In the previous tutorial, we prepped our servers for data migration. At this point, your target and source system should be able to communicate (the target system should have SSH access to the source system), and you ...
    15 days agoBy Justin Ellingwood, Alex GarnettSystem ToolsFAQ
  • Tutorial

    How To Serve Flask Applications with Gunicorn and Nginx on Ubuntu 22.04

    In this guide, you will build a Python application using the Flask microframework on Ubuntu 22.04. The majority of this tutorial is about how to set up the Gunicorn application server to run the application and how to...
    15 days agoBy Jamon CamissoNginxPythonPython FrameworksUbuntuUbuntu 22.04
  • Tutorial

    How To Create a Self-Signed SSL Certificate for Nginx in Ubuntu 22.04

    In this guide, you will learn how to set up a self-signed SSL/TLS certificate for use with an Nginx web server on an Ubuntu 22.04 server.
    15 days agoBy Jeanelle Horcasitas, Jamon CamissoNginxSecurityUbuntuUbuntu 22.04
  • Tutorial

    How To Set Up a Remote Database to Optimize Site Performance with MySQL on Ubuntu 20.04

    This guide will walk you through the process of configuring a remote MySQL database server that your website or application can connect to. It uses WordPress as a working example of something that can connect to the M...
    15 days agoBy Mark Drake, Brian Boucheron, Kong YangDatabasesMySQLUbuntuUbuntu 20.04WordPress
  • Tutorial

    How to Test a React App with Jest and React Testing Library

    Obtaining solid test coverage is imperative for building confidence in your web application. In this tutorial, you will test asynchronous code and interactions in a sample project containing various UI elements. You w...
    16 days agoBy Alyssa HollandDevelopmentReactJavaScript
  • Tutorial

    How To Set Up a New TypeScript Project

    In this tutorial, you will learn how to set up a TypeScript project without a starter’s help. You will also learn how compiling works in TypeScript and how to use a linter with your TypeScript project.
    16 days agoBy Alligator.ioTypeScript