Ruby On Rails on CentOS 4.5

Since you can’t easily upgrade to CentOS 5 from 4.5 with yum you have to compile it all yourself.

Apache 2.2.4
PHP 5.2.3
Ruby 1.8.6

The following script downloads and compiles a complete stack of the newest apps for a ruby on rails installation, even including PHP. Complete with SSL and the newest Subversion.

#!/bin/bash
mkdir install
cd install
sudo yum -y remove […]

Tags: , , , , , , ,

July 15th, 2007 · 8 Comments »

Setting Up Sudo in 10 Seconds

This is the first thing I do when logging into a dedicated or virtual dedicated server:

su -
visudo

User_Alias FULLTIMERS = youruser
User_Alias PARTTIMERS = anotheruser

Defaults:FULLTIMERS !lecture

# full time sysadmins can run anything on any machine without a password
FULLTIMERS ALL = NOPASSWD: ALL

# part time sysadmins may run anything but need a password
PARTTIMERS ALL = ALL

Tags: , , , , , , ,

July 15th, 2007 · No Comments »


uberdose 2.0

L-l-look at you, hacker.