Linux System Admins Blog

System admins of Promet – an e-commerce, high availability Open Source web shop – share their findings

Linux System Admins Blog header image 4

Entries from June 2009

My First Amazon EC2 Setup (CentOS AMI)

June 29th, 2009 · No Comments

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 files.
I based my [...]

[Read more →]

Tags: Centos · HowTo · Storage · cloud computing

Moving Drupal / Civicrm Sites

June 29th, 2009 · No Comments

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 [...]

[Read more →]

Tags: Centos · HowTo · Storage · cloud computing

Cacti and MySQL counters problem

June 16th, 2009 · No Comments

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: Cacti · MySQL · monitoring

Tracing memory leaks with pidstat

June 16th, 2009 · No Comments

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: Performance · sysadmin

New Debian apt keys

June 11th, 2009 · 1 Comment

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 for this missing key tells [...]

[Read more →]

Tags: Debian · sysadmin

HowTo: Get started with Amazon EC2 api tools

June 2nd, 2009 · 9 Comments

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: CLI · HowTo · cloud computing · sysadmin