ubuntu

Monitor PostgreSQL database with munin

Install munin and dependencies.
sudo aptitude install munin munin-node munin-plugins-extra libdbd-pg-perl

Let munin make suggestions for you.
sudo munin-node-configure --suggest| grep postgres

The above should reply with several lines similar to this.  read more »

Plugin                     | Used | Suggestions                            
------                     | ---- | -----------  
postgres_bgwriter          | no   | yes                                    
postgres_cache_            | no   | yes (+ALL +gis)  

Install RAID0 on Ubuntu Lucid Lynx

set up RAID0

Create a full-disk partition on each of two drives to be RAID0 combined. Set each full-disk partition as type fd - Linux RAID Auto-detect. Use fdisk or your favourite partitioning tool.

Then:
mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sda1 /dev/sdb1
sudo /usr/share/mdadm/mkconf force-generate /etc/mdadm/mdadm.conf
sudo mkfs.ext3 /dev/md0
mkdir /raid
sudo mount /dev/md0 /raid

Everything okay to this point? Add the raid to fstab to mount raid automatically after reboot.  read more »

Build your own OpenStreetMap Server - Ubuntu 10.04 Lucid Lynx

SUNY Buffalo campus as seen on OpenStreetMap.org in March of 2009
Build your own OpenStreetMap server. Build your own what?

OpenStreetMap is the editable World map of everything. It is the Wikipedia of maps. It is to other on-line maps as Wikipedia is to Britannica. And it is awesome in every possible way.  read more »

Build your own OpenStreetMap Server

SUNY Buffalo campus as seen on OpenStreetMap.org in March of 2009

This article is now archived as http://weait.com/content/build-your-own-openstreetmap-server-v1. The updated article is based on Ubuntu 10.04 Lucid Lynx

Build your own OpenStreetMap server. Build your own what?  read more »

Installing drupal on ubuntu 7.10 localhost ( Gutsy Gibbon )

This presumes that you will install drupal 6 in /var/www/drupal6/

Prerequisites

apt-get install apache2 php5-mysql php5-gd libapache2-mod-php5 mysql-server

Configure httpd.conf by adding a ServerName line

ServerName localhost

[Updated for Jaunty]

Configure /etc/apache2/sites-available/default by allowing overrides

<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>

Start apache
 read more »

Postfix relayhosts Ubuntu 6.06

Drupal installation not sending mail to users on Ubuntu 6.06?

dpkg --remove postfix
dpkg --purge postfix
apt-get -V install postfix

choose satellite
for relayhost use smtp.yourisp.example.com

try now.

Syndicate content