Tutorials & tips, usually about Terminal.com

MongoDB replication and backup methods

This post explains how to configure a replicated MongoDB database environment and create full database backups of a MongoDB instance to create redundancy, improve data availability, and provide failure recovery. MongoDB replication How does it work? MongoDB handles replication through replication sets. Conceptually, replication sets are similar to the master-slave configuration explained... Read more

PostgreSQL replication and backup methods

Replication provides redundancy and increases data availability, allowing you to recover from hardware failure and service interruptions. If you have multiple copies of your data, you can dedicate one to disaster recovery, reporting, or backup. Setting up a typical PostgreSQL replicated environment on Terminals We will start with two new Terminals, created... Read more

MySQL replication and backup methods

Setting up a typical MySQL replicated environment with Terminals There are several ways to set up database replication with MySQL. The most popular is the master-slave setup. This replication process allows you to keep multiple copies of your MySQL data by synchronizing it automatically from a master to a slave database server.... Read more

Quick tip: mounting a Terminal in your Mac

Ever wanted to access your Terminal files locally? In this post, we'll show you how to use SSHFS over Fuse to mount any directory on a Terminal into a directory on your local OSX computer. SSHFS relies on the SSH protocol to access the files in your Terminal. To do this, first... Read more

Connecting Terminals: lazy admin edition

This blog post will show you a simple command line tool that we've created to make it easier to link Terminals. For a more extensive and 'low-level' explanation about how to connect Terminals using our API call, please refer to this blog post. Installation This tool is a simple Python script you... Read more

Getting started with Ansible in Terminals

Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems. Earn a good reputation and... Read more

Provisioning linked Terminals

An easy way to start and provision connected Terminals. Some time ago, we were talking about horizontal scaling with Terminals. As a basic condition, in a horizontally scalable or a load balanced infrastructure you need communication between the servers. Without the right know-how this can be extremely time consuming. For example, what... Read more

Expressing math in code without hair loss

Machine learning researchers and data scientists regularly use many different programming languages. Most common are Python, Matlab, R, and C++. Another popular language, Octave offers a similar language to Matlab but is open source and free to use. Its drawbacks are penalties in performance and library available. Another language quickly entering the... Read more

Launch a team messaging app in under a minute

With the growing popularity of distributed teams a host of specialized messaging applications have begun to flood the market. Better than email, messaging apps like the now-famous Slack allow users quick access to specific group members or the entire team, facilitate file sharing, and have the distinguished advantage of allowing new team... Read more

Build a WordPress site on Terminal.com

WordPress is an extremely powerful, highly extensible content management system trusted to power something like 20% of all the sites in existence including blogs, magazines, artist sites, and even important informational sites for NASA, The New York Times, and corporations like Dole. Its GUI administrative panel and WYSIWYG content editor make it... Read more

ELK - elegant logs analysis part III: Kibana

The ELK stack is basically a set of tools commonly used for log parsing, analysis, and graphic representation. In this series we'll discover the real power of these 3 fantastic tools. Series ELK - elegant logs analysis part I: LogstashELK - elegant logs analysis part II: ElasticSearchELK - elegant logs analysis part... Read more

ELK - elegant logs analysis part I: Logstash

The ELK Stack is basically a set of tools commonly used for log parsing, analysis, and graphic representation. In this series we'll discover the real power of these 3 fantastic tools. Series ELK - elegant logs analysis part I: LogstashELK - elegant logs analysis part II: ElasticSearchELK - elegant logs analysis part... Read more

Building a Drupal site lightning fast

Drupal is a content management system used for creating everything from blogs to enterprise applications, and using it on a Terminal couldn't be easier. 1) Start with a snapshot Begin by using this snapshot which has Drupal ready to go on it. Turn off auto-pause so that your server continues running even... Read more

CasperJS: Functional test automation

As originally defined by its authors: CasperJS is an open source navigation scripting & testing utility written in Javascript for PhantomJS and SlimerJS. Functional development tests are currently an essential part of the application development process. These tests are mainly focused on bug discovery, and help to ensure the quality of our... Read more

How to password protect Linux-dash

If you've installed Linux-dash to monitor your server then the next step is to secure access to it and protect your sensitive server info. This is a simple process, and the very first thing you should do is spin up the Terminal you'd like to work with so that you're inside the... Read more

How to install Dash on Ubuntu 14.04

Linux-dash is an open source visual dashboard used to monitor various performance indicators and system information on Linux servers. It's super easy to install and set up, and is great for those who prefer a more graphic approach to system monitoring. In this tutorial you'll see how to quickly and easily install... Read more

Send your desktop to live in the cloud

Learn more about how our new XFCE Linux web desktop works to provide a complete Linux desktop computer, in your browser. An intro to XFCE web desktop I love to try new products for one simple reason: I love making them work together with others. It was curiosity like this which led... Read more

How to use ownCloud on Terminal.com

As a technical consultant, I have to say that clients are getting more demanding every day. It's difficult to get products that are flexible enough to meet companies' expectations. Many times, they have to get an entire development team to code a custom software tool according to their specific needs. Having said... Read more

How to use Monit with Terminals

Monit is a small open source utility for managing and monitoring Unix systems. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations. Sounds like magic, right? It's pretty close. Monit is a modern tool with that Unix feeling, and simplicity at its core. With Monit, you... Read more