kieranbarnes Independent PHP, WordPress & CubeCart Programmer

Alternate ‘Messing with time and date on Linux’

Posted on December 20, 2011

Posted by kieran

Following up from a previous post, some hypervisors like Xen are a bit fruity when trying to control the time via NTP. Here's how we managed it.

Firstly, if your installation doesn't have ntp install. Install that.

  1. yum install ntp

Super simple Active Directory with Samba

Posted on July 9, 2010

Posted by Kieran

I needed a super simple, straight forward way of installing samba on Ubuntu and joining it to an Active Directory domain.
This doesn't allow you to login to Ubuntu with domain credentials but allows you to share and access files with domain credentials.

Heres how its done

[Snippet] Allow mysql root access from anywhere

Posted on March 18, 2010

Posted by Kieran

A small annoyance of mine is on local development servers, I can't login to the MySQL server as root.

Simply connect the mysql shell

mysq

  1. mysql -u

Then,

  1. GRANT ALL ON *.* TO 'root'@'%' IDENTIFIED BY '[A PASSWORD]'

Exit and you're done.

Tagged as: No Comments

Ridiculously simple NTLM Authentication for Apache (Ubuntu)

Posted on March 9, 2010

Posted by Kieran

We all know Ubuntu makes things amazingly simple. This is the best I've found so far. NTLM authentication in Apache used to take a while to setup, it used to be tricky, fiddly - generally a bit hit and miss.

Tagged as: Continue reading

Ubuntu Upgrades

Posted on February 12, 2010

Posted by Kieran

Here is a really simple way of upgrading your Ubuntu system. After the initial setup, upgrading to Karmic or Intrepid is a one liner.