Linux Sysadmin Blog

Linux Sysadmin Blog header image 4

Entries from June 29th, 2009

My First Amazon EC2 Setup (CentOS AMI)

June 29th, 2009 · No Comments · Centos, cloud computing, HowTo, Storage

Here’s my first try working with Amazon Web Services. Covered tasks are the following: – getting familiar with AWS, specially EC2 and S3. – working with EC2 instance using CentOS image – search, start/stop, and do some customization of an instance – create AMIs (private) and start instance from it. – S3 buckets – upload [...]

[Read more →]

Tags: ······

Moving Drupal / Civicrm Sites

June 29th, 2009 · No Comments · Centos, cloud computing, HowTo, Storage

In this guide i will provide the steps in moving Drupal sites with CiviCRM – with Drupal and CiviCRM in one or separate databases. I will outline the steps and sample commands but won’t give much details, so feel free to ask if you need any clarifications. Also, refer to my previous guide on “HowTo [...]

[Read more →]

Tags: ·

Cacti and MySQL counters problem

June 16th, 2009 · No Comments · Cacti, monitoring, MySQL

We recently came across a problem with Cacti and the MySQL counters. For those of you who don’t know how to integrate MySQL statistics into Cacti have a look at this: http://code.google.com/p/mysql-cacti-templates/. These templates are a great way to gain some insight into how your MySQL database servers perform. The templates are actually PHP pages [...]

[Read more →]

Tags: ··

Tracing memory leaks with pidstat

June 16th, 2009 · No Comments · Performance, sysadmin

Finding application memory leaks is important part of keeping systems stable and often very hard to track down. Monitoring application memory consumption can be performed in a few different ways, the easiest is a simple capture of ps and append to log file triggered via cron at desired interval. In this example we will track [...]

[Read more →]

Tags: ·

New Debian apt keys

June 11th, 2009 · 1 Comment · Debian, sysadmin

Running apt-get update gives an error message: W: GPG error: http://ftp.us.debian.org etch Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B W: There is no public key available for the following key IDs: 9AA38DCD55BE302B W: You may want to run apt-get update to correct these problems A check [...]

[Read more →]

Tags: ··

HowTo: Get started with Amazon EC2 api tools

June 2nd, 2009 · 15 Comments · CLI, cloud computing, HowTo, sysadmin

This article is meant to be a quick quide that will introduce the things needed to get you started with Amazon EC2. All this information can be found in the EC2 api docs, and this is not meant to be a replacement of the documentation, just trying to show the things needed in a clear [...]

[Read more →]

Tags: ···