Isaac Sloan - Web Developer, Photographer, Musician and Citizen of Earth
Banner700

Installing ffmpeg on Ubuntu 14.04

February 05, 2016

As of 14.04 Ubuntu no longer has ffmpeg in its default repositories. If you want to install it you'll have to add a new repo first.

sudo add-apt-repository ppa:mc3man/trusty-media

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install ffmpeg
Installing ffmpeg on Ubuntu 14.04

Setting up an Ubuntu 14.04 Server for Rails

November 25, 2014

Step 1: Install Ubuntu

Step 2: Add a deploy user and optionally a user for yourself.

Assuming you're logged in as root add these users and login as "not root."

adduser deploy
adduser [yourname] #optionally
vim /etc/group
# add your users to the sudo group like so: 
  sudo:x:27:isaac,deploy
vim /etc/ssh/sshd_config
# add to file or if they exist set the flags to no.
Setting up an Ubuntu 14.04 Server for Rails

Setting up an Ubuntu 13.04 Server for Rails

May 25, 2013

Step 1: Install Ubuntu

Step 2: Add a deploy user

sudo adduser deploy

Step 3: Update and Install dependencies

Make sure that each line completes before running the next. Don't just copy the lines in all at once or it will use the beginning letters of one line as an answer to questions the first may ask.

sudo apt-get -y update && sudo apt-get -y upgrade
Setting up an Ubuntu 13.04 Server for Rails

Running php on an ngnix server set up for Rails.

December 05, 2012

Its super easy to set up a server for php if you're running apache as your default web sever. However, I recently had to figure out the how to run php an Ubuntu server which has been set up for rails using nginx and passenger. One option is to run apache on a different port and then route that through nginx but this method requires a lot of memory. The solution I choose was to use php-fpm.

apt-get install php5-fpm
Running php on an ngnix server set up for Rails.

Combining Word Press with a Rails App using nginx proxy_pass

January 15, 2013

Despite our love for Ruby we sometimes find ourselves with clients who want to keep their Wordpress blog in conjunction with their shiny new Rails app. The most obvious way to do this is to run it on a different subdomain (blog.domain.com), but this presents an SEO problem because your blog which is often one of the most useful tools for attracting people is now on a different domain.

The Solution:

Combining Word Press with a Rails App using nginx proxy_pass