Skip to main content

Tutorials

Additional Recommended Steps for New CentOS 7 Servers
Tutorials CentOS Linux Basics
Introduction> Introduction # After setting up the bare minimum configuration for a new server, there are some additional steps that are highly recommended in most cases. In this guide, we’ll continue the configuration of our servers by tackling some recommended, but optional procedures.
Using While Loops and Do…While Loops in JavaScript
Tutorials Development JavaScript
Introduction> Introduction # Automation is the technique of making a system operate automatically; in programming, we use loops to automate repetitious tasks. Loops are one of the most useful features of programming languages, and in this article we will learn about the while and do.
Building Optimized Containers for Kubernetes
Tutorials Conceptual Docker Kubernetes
Introduction> Introduction # Container images are the primary packaging format for defining applications within Kubernetes. Images are used as the basis for pods and other objects, and play an important role in efficiently leveraging Kubernetes’ features.
How To Run Your Own Mail Server with Mail-in-a-Box on Ubuntu 14.04
Tutorials DNS Email Security Ubuntu
Introduction> Introduction # Mail-in-a-Box is an open source software bundle that makes it easy to turn your Ubuntu server into a full-stack email solution for multiple domains. For securing the server, Mail-in-a-Box makes use of Fail2ban and an SSL certificate (self-signed by default).
How To Install and Use Composer on Ubuntu 18.04
Tutorials PHP Ubuntu 18.04
A previous version of this tutorial was written by Brennen Bearnes. Introduction> Introduction # Composer is a popular dependency management tool for PHP, created mainly to facilitate installation and updates for project dependencies.
How To Use Cloud-Config For Your Initial Server Setup
Tutorials API Deployment DigitalOcean Initial Server Setup
Introduction> Introduction # With the introduction of the DigitalOcean metadata service, it is possible to start configuring your servers before you even log in. In short, the metadata service is an HTTP location that your server can access during the boot process.
How To Install and Use Composer on Ubuntu 14.04
Tutorials Getting Started PHP Ubuntu
Introduction> Introduction # Composer is a popular dependency management tool for PHP, created mainly to facilitate installation and updates for project dependencies. It will check which other packages a specific project depends on and install them for you, using the appropriate versions according to the project requirements.
How To Convert Data Types in Python 3
Tutorials Development Python
Introduction> Introduction # In Python, data types are used to classify one particular type of data, determining the values that you can assign to the type and the operations you can perform on it.
How To Create an SSH CA to Validate Hosts and Clients with Ubuntu
Tutorials Security Ubuntu
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:
How To Use GPG to Encrypt and Sign Messages on an Ubuntu 12.04 VPS
Tutorials Email Security Ubuntu
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:
How To Create a Global Event Bus in Vue 2
Tutorials Vue.js
Introduction> Introduction # The event bus / publish-subscribe pattern is a way of getting unrelated sections of your application to talk to each other. The event system used in Vue components can be used in an event bus / publish-subscribe pattern.
How To Deploy a Basic PHP Application Using Ansible on Ubuntu 14.04
Tutorials Ansible PHP Frameworks Ubuntu
Introduction> Introduction # This tutorial covers the process of provisioning a basic PHP application using Ansible. The goal at the end of this tutorial is to have your new web server serving a basic PHP application without a single SSH connection or manual command run on the target Droplet.
How To Install and Configure Django with Postgres, Nginx, and Gunicorn
Tutorials Django Nginx PostgreSQL Python
Prerequisites> Prerequisites # This tutorial assumes you have already set up your droplet (VPS) with Debian 7 or a similar distro of Linux (such as Ubuntu). If you have not already done this, please follow the tutorial on setting up a droplet here.
How To Install and Configure Monit
Tutorials Monitoring
About Monit> About Monit # Monit is a helpful program that automatically monitors and manages server programs to ensure that they not only stay online consistently, but that the file size, checksum, or permissions are always correct.
Understanding Systemd Units and Unit Files
Tutorials Conceptual Linux Basics System Tools
Introduction> Introduction # Increasingly, Linux distributions are adopting the systemd init system. This powerful suite of software can manage many aspects of your server, from services to mounted devices and system states.
How to Install and Configure Magento on Ubuntu 14.04
Tutorials Applications Ubuntu
Introduction> Introduction # Magento is the most popular content management system for e-commerce websites. It is used by small businesses and large enterprise companies alike, and can be enhanced by thousands of extensions and themes.
How To Protect an Apache Server with Fail2Ban on Ubuntu 14.04
Tutorials Apache Firewall Security Ubuntu
Introduction> Introduction # When operating a web server, it is important to implement security measures to protect your site and users. Protecting your web sites and applications with firewall policies and restricting access to certain areas with password authentication is a great starting point to securing your system.
Understanding Variables, Scope, and Hoisting in JavaScript
Tutorials Development JavaScript
Introduction> Introduction # Variables are a fundamental part of many programming languages, and are among the first and most important concepts for novice coders to learn. There are a number of different properties of variables in JavaScript, as well as several rules which must be followed when naming them.
How To Use JSON.parse() and JSON.stringify()
Tutorials JavaScript
Introduction> Introduction # The JSON object, available in all modern browsers, has two useful methods to deal with JSON-formatted content: parse and stringify. JSON.parse()> JSON.parse() # JSON.parse() takes a JSON string and transforms it into a JavaScript object.
How To Use Celery with RabbitMQ to Queue Tasks on an Ubuntu VPS
Tutorials Messaging Python Scaling Ubuntu
Introduction> Introduction # Asynchronous, or non-blocking, processing is a method of separating the execution of certain tasks from the main flow of a program. This provides you with several advantages, including allowing your user-facing code to run without interruption.