Introduction Most Ruby on Rails applications require user registration and authentication mechanisms. Developing these from scratch requires a lot of time and effort – thankfully, there's Devise . Using the Devise gem, you can set up a full-fledged user authentication system within minutes. However, you could make your users happier by allowing them to access your application without creating a new account. They could simply log in using their existing Facebook, Twitter, Amazon, or DigitalOcean ... Read more
Introduction to Packages and Repositories We've all been there – needing a program – and what do we do? Most of us just apt-get install postfix and presto! We magically have Postfix installed. It isn't really magic, though. The package manager apt-get searches for, downloads, and installs the package for you. This is highly convenient, but what if apt-get can't find the program you need on its standard list of repositories? Thankfully, apt-get allows users ... Read more
An Article from Discourse Introduction Discourse is an open source discussion platform built for the next decade of the Internet. We'll walk through all of the steps required to get Discourse running on your DigitalOcean Droplet. Prerequisites Before we get started, there are a few things we need to set up first: Discourse recommends a minimum of 1 GB RAM, so we will be using Ubuntu 14.04 on a 1 GB Droplet . If you ... Read more
Introduction Percona Server is a drop-in replacement fork of the MySQL project. Percona aims to provide better performance, consistency, and scalability on all hardware. This tutorial will guide you through replacing a current MySQL or MariaDB installation with the latest Percona Server version, or installing Percona Server from scratch on a new Droplet. Benefits Percona Server has a number of benefits over a basic MySQL installation: XtraDB : One of the key benefits of switching ... Read more
Introduction Drupal is a popular content management system (CMS) used to run some of the largest blogs and websites across the internet. Due to the stability of the base, the adaptability of the platform, and its active community, Drupal remains a popular choice after more than a decade on the scene. In this guide, we will cover how to install Drupal on an Ubuntu 14.04 server. We will be using Apache to serve our site, ... Read more
Introduction WebDAV is an extension of the HTTP protocol that allows users to manage files on servers. There are many ways to use a WebDAV server. For example, you can share Word or Excel documents with your colleagues by uploading them to your WebDAV server. You can even share your music collection with your family and friends by simply giving them a URL. All this can be achieved without them installing anything. There are many ... Read more
About Meteor.js Meteor.js is a framework for JavaScript that allows web developers to write JavaScript code once and reuse it both client and server-side. This is possible thanks to Meteor's unique build process (read more about structuring your application code and code sharing ). This also solves the problem of needing a complicated deployment process between development mode , where developers code and debug, and production mode , that is secure enough for the public-facing ... Read more
Introduction By default, Jenkins comes with its own built in web server, which listens on port 8080. This is convenient if you run a private Jenkins instance, or if you just need to get something up quickly and don't care about security. Once you have real production data going to your host, though, it's a good idea to use a more secure web server like Nginx. This post will detail how to wrap your site ... Read more
About DNSSEC DNS Security Extensions (DNSSEC) is a technology designed to protect applications and DNS resolvers from using forged or manipulated DNS data. The problem: It is possible for an attacker to tamper with a DNS response or poison the DNS cache and take users to a malicious site with the legitimate domain name in their address bar. The solution: DNSSEC configured authoritative DNS servers prevent this kind of attack by digitally signing each resource ... Read more
Introduction Mesosphere is a system that combines a number of components to effectively manage server clustering and highly available deployments on top of an existing operating system layer. Unlike systems like CoreOS, Mesosphere is not a specialized operating system and is instead a set of packages. In this guide, we will go over how to configure a highly available cluster in Mesosphere. This configuration will set us up with failover in case any of our ... Read more