Tutorials

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

3896 Tutorials
  • Tutorial

    Write for DOnations - Frequently Asked Questions

    This is a list of frequently asked questions about DigitalOcean's Write for DOnations program.
    By Kathleen Juell, Brian Hogan DigitalOcean DigitalOcean Articles FAQ
  • Tutorial

    How To Install Suricata on Debian 11

    Suricata is a Network Security Monitoring (NSM) tool that uses sets of community created and user defined signatures (also referred to as rules) to examine and process network traffic. Suricata can generate log events...
    By Jamon Camisso Security Debian Networking Debian 11
  • Tutorial

    How to Set Up SSH Keys on Debian 11

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

    Initial Server Setup with Debian 11

    When you first create a new Debian 11 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 yo...
    By Brian Boucheron Debian Getting Started Initial Server Setup Debian 11
  • Tutorial

    How To Install Python 3 and Set Up a Programming Environment on an Ubuntu 20.04 Server

    This tutorial will get your Ubuntu 20.04 server set up with a Python 3 programming environment. Programming on a server has many advantages and supports collaboration across development projects. The general principle...
    By Lisa Tagliaferri Python Ubuntu 20.04 Ubuntu Development
  • How To Use the Display Property to Manipulate the Box Model in CSS

    The value of the CSS display property affects the box model, the mechanism that determines how elements interact with one another on a page. Using this property, you can efficiently control how an element interacts wi...
    By Philip Zastrow Development CSS HTML
  • Tutorial

    How To Install and Secure phpMyAdmin on Ubuntu 18.04

    phpMyAdmin is an application that allows users to interact with MySQL databases through a web interface. This tutorial covers the process of installing and securing phpMyAdmin on an Ubuntu 18.04 server.
    By Brennen Bearnes, Mark Drake Applications PHP Apache Ubuntu 18.04 Ubuntu
  • Tutorial

    How To Serve Flask Applications with uWSGI and Nginx on Ubuntu 18.04

    In this guide, we will be setting up a simple Python application using the Flask microframework on Ubuntu 18.04. The bulk of this article will be about how to set up the uWSGI application server to launch the applicat...
    By Justin Ellingwood, Kathleen Juell Python Python Frameworks Nginx Ubuntu Ubuntu 18.04 Flask
  • Tutorial

    How To Make a Calculator Program in Python 3

    In this tutorial, we’ll go through how to make a simple command-line calculator program in Python 3. We’ll be using math operators, variables, conditional statements, functions, and take in user input to make our calc...
    By Lisa Tagliaferri Python Development Programming Project
  • Tutorial

    How To Install Plausible Analytics on Ubuntu 20.04

    Plausible Analytics is an open-source, self-hosted web analytics application written in Elixir. It focuses on being simple, and privacy-focused. In this tutorial you will install the Plausible app and a few helper ser...
    By Brian Boucheron Ubuntu Ubuntu 20.04 Applications Docker
  • How to Use Go Modules

    A Go module commonly consists of one project or library and contains a collection of Go packages that are then released together. With Go modules, you can put code where you want and specify dependencies for each modu...
    By Kristin Davidson Go Development
  • Tutorial

    How To Install and Use Composer on Ubuntu 18.04

    In this tutorial, you'll install and get started with Composer on an Ubuntu 18.04 system.
    By Brian Hogan PHP Ubuntu 18.04
  • Tutorial

    How To Set Up a Node.js Application for Production on Ubuntu 16.04

    Node.js is an open source JavaScript runtime environment for easily building server-side and networking applications. Node.js applications can be run at the command line but this guide focuses on running them as a ser...
    By Brennen Bearnes Node.js Let's Encrypt Nginx Ubuntu 16.04 DigitalOcean App Platform
  • Tutorial

    How to Install and Configure VNC on Ubuntu 18.04

    In this guide, you'll set up a VNC server on an Ubuntu 18.04 server and connect to it securely through an SSH tunnel.
    By finid, Brian Hogan Miscellaneous Applications Ubuntu 18.04
  • How To Create Reusable Infrastructure with Terraform Modules and Templates

    One of the main benefits of Infrastructure as Code is reusing parts of the defined infrastructure. In this tutorial, we'll consider some of the ways of defining and reusing code in Terraform projects. You'll reference...
    By Savic Terraform Configuration Management Infrastructure
  • How To Use MongoDB Compass

    With MongoDB Compass, you can access most of the features the MongoDB database engine offers through an intuitive visual display. You can glance through the databases, collections, and individual documents, interactiv...
    By Mateusz Papiernik MongoDB Databases NoSQL Applications
  • Tutorial

    How To Install PostgreSQL on Ubuntu 20.04 [Quickstart]

    PostgreSQL, or Postgres, is a relational database management system that provides an implementation of the SQL querying language. This quickstart guide demonstrates how to install Postgres on an Ubuntu 20.04 server. I...
    By Mark Drake PostgreSQL Databases Ubuntu Ubuntu 20.04 Quickstart
  • How To Set Up Your First Gatsby Website

    Gatsby is a React framework that allows you to create static and serverless JavaScript apps. In this tutorial, you will install the Gatsby Starter default template, modify metadata in the Gatsby config file, run the d...
    By Portia Burton Development JavaScript GatsbyJS
  • Tutorial

    How To Set Up an ASGI Django App with Postgres, Nginx, and Uvicorn on Ubuntu 20.04

    In this guide, you will set up an ASGI (Asynchronous Server Gateway Interface) Django app on Ubuntu 20.04. You'll set up a PostgreSQL database, configure a Gunicorn application server paired with Uvicorn (an ASGI impl...
    By Mason Egger, Erin Glass Development Nginx Python PostgreSQL Python Frameworks Databases Ubuntu 20.04 Django
  • Tutorial

    How To Work with Files Using Streams in Node.js

    Streams are an efficient way to handle files in Node.js. In this tutorial, you'll create a command-line program, and then use it with streams to read, write, copy, and transform files.
    By Adaobi Aniuchi Node.js JavaScript Development