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 May 2009

Moving Magento Sites

May 29th, 2009 · 1 Comment

This is my first guide in moving Magento site to another site or server. I’ve completed few Magento site transfers as we recently develop and host Magento sites. I also encountered several issues in transferring sites, and searched for different
approaches from other blog/forum sites, such as installing a new Magento instance on destination [...]

[Read more →]

Tags: Installation · Magento

nginx rewrite to index

May 27th, 2009 · No Comments

Looking to rewrite all file requests to index?
location / {
root /var/www/nginx-default;
index index.html;
if (!-e $request_filename) {
rewrite . /index.html last;
}
}

[Read more →]

Tags: hosting

When Open Source kills

May 27th, 2009 · 4 Comments

RieserFS is a journalling filesystem that is excellent when dealing with small files under 4K in size. When used with tail-packing it is 10-15x faster then ext2/ext3. ReiserFS was first included in Linux kernel 2.4.1 and even used as default filesystem in SUSE Enterprise Linux and others. What many may not know is that [...]

[Read more →]

Tags: Down Time · News

Red Hat Enterprise Linux 4.8 released

May 26th, 2009 · No Comments

With the 8th update of their venerable Red Hat Enterprise Linux 4 version (first released in February 2005), RedHat switches to “production 2 lifecycle phase“, where it helps customers transition to RHEL5. Ideally everyone will upgrade to rhel5 by the end of the year – Q4 2009 (in case not done already, this is a [...]

[Read more →]

Tags: News

Hidden Wordpress Spam: <-- manager-start -->

May 22nd, 2009 · 1 Comment

A month ago one of our customers complained on lots of spam comments appearing on his Wordpress site. There’s no development changes, including updates, to that site since it was launched and it runs on WP version 2.3.3. We managed the issue by activating the Akismet plugin and upgrading the Wordpress to latest [...]

[Read more →]

Tags: Installation · Security · wordpress

Install GNUPG PHP extension in Cpanel

May 21st, 2009 · No Comments

Here’s my quick howto on installing GNUPG PHP Pecl extension (pecl docs) in Cpanel. Please note that this covers only the installation process and no further details on setting up gpg keys or using the function with extension or sample PHP scripts.
Installation process is very straightforward provided you met the requirements like php-pear, gnupg, [...]

[Read more →]

Tags: Centos · Installation · cpanel

Google’s Cheeseburgers

May 19th, 2009 · No Comments

From the register:
Google has declared newspapers, orange juice and cheeseburgers that much more harmful to the planet than running a vast network of datacentres.

[Read more →]

Tags: Installation

rhel/centos x86_64 and i386 packages mess…

May 19th, 2009 · 2 Comments

Anyone running centos/rhel x86_64 systems has probably noticed that redhat has a strange way to install a mix of i386 and x86_64 rpms on such a systems. This is how redhat is using the 64bit architecture in a mixed way to be able to support also i386 applications. This is completely different from how for [...]

[Read more →]

Tags: CLI · Centos · sysadmin

Setup Nagios User to View Specific Host and Services

May 14th, 2009 · No Comments

This guide will help you setup Nagios user to have limited access to host and service checks. It is helpful when you want to allow your customers or clients to view and receive alerts on their servers and services, like for dedicated servers.
Procedure:
Contacts: Create new contact definitions for your client.
[...]

[Read more →]

Tags: HowTo · Nagios · Tips and Tricks · monitoring

umask ‘ing apache under cPanel

May 14th, 2009 · No Comments

Ran into an issue today where a php created file was unreadable by other users or services that run under a different user. Since this is a software originated issue the sysadmin would love for the developer to change the code to include the chmod() php function to set permission to 644 after [...]

[Read more →]

Tags: Security · cpanel · hosting · sysadmin