Archives

How to Enable Remote Access to MySQL

MySQL remote access is disabled by default, but with a few simple steps, you should be up and running with remote MySQL in just a few minutes. This is especially useful when working with multiple developers in an Agile project environment, so that you all use the same data set, and can focus on just writing the application.

Read more »

Tagged , , ,

Replicate or Migrate Ubuntu Packages with Apt-Get

If you’ve ever needed to upgrade Ubuntu versions, setup a new server or do any other type of migration, this is the easiest and most satisfying way to do it.. using Apt-Get!

First on our “old” server lets use apt-get to dump a list of installed packages to a packages.txt file:

dpkg --get-selections | grep -v deinstall > packages.txt

Then on the new server, lets update Apt-Get and install from our file:

apt-get update
dpkg --set-selections < packages.txt
apt-get -u dselect-upgrade

That’s it!

Tagged , , ,

Use Git Hooks to Push to Live Site

There are too few tools and docs for Git, but the few that exist are awesome. Many developers take the easy and quick approach to working with git by setting up an account with Github and then using tools like gitx to visually manage and track their repos. While I do love this approach for many reasons, there are many reasons to setup your own git hosting and tracking…

Read more »

Tagged , , ,

Page 1 of 212