Linux Sysadmin Blog

Linux Sysadmin Blog header image 4

HowTo Install APC on CPanel/WHM

May 5th, 2011 · No Comments · cpanel, Installation

CPanel includes support in their installer for eaccelerator; still, for some strange reason they don’t include support for APC also. So, if you want to install APC on your CPanel powered server, you will have to go back at the command line and install it manually. Here are the steps needed to install the latest [...]

[Read more →]

Tags: ··

Amazon AWS worse failure

April 22nd, 2011 · No Comments · cloud computing

I’m sure almost everyone is aware at this point on the failure that caused Amazon cloud computing solution AWS to be down yesterday (and still is at some smaller extend happening at this time as we can see on their status page) for most of the day. This has affected a few big (Reddit, Foursquare, [...]

[Read more →]

Tags: ·

CentOS 5.6 released

April 15th, 2011 · No Comments · Centos

While people are still waiting to for Centos 6 (after many month since RHEL6 was released) we got a little teaser in the release of Centos 5.6 last week. This is a minor security release, but it also brings in some interesting additions like ext4 support and php53 packages among others. If you are running [...]

[Read more →]

Tags: ·

APC should be enabled by default

April 1st, 2011 · No Comments · Drupal performance, hosting

PHP is slow. This should not be a huge revelation for any of us, and this is not because PHP is a bad programing language, or because Python or Ruby are better. This is because it is an interpreted language. Every time you execute a PHP script it is going to do the exact same [...]

[Read more →]

Tags: ····

Debian FTP archive for Etch – archive.debian.org

July 9th, 2010 · 21 Comments · Debian

Debian Etch has been discontinued for a while now, and in an ideal world everyone has upgraded to lenny a long time ago. Still, this is not always possible and there are some systems out there that are still running etch, some for a good reason, some just because their admins are lazy . Recently [...]

[Read more →]

Tags:

HowTo remove a list of files

July 9th, 2010 · No Comments · CLI, HowTo, sysadmin, Tips and Tricks

Here is a quick tip on how to remove a list of files. Let’s say you have the list of files inside a file called files_to_remove. Usually I would do something like this: LIST=`cat files_to_remove` and then ls -al $LIST just to check what is in the list and if it looks good. And finally: [...]

[Read more →]

Tags: ·

svnadmin: can’t open file ‘svn/db/fsfs.conf’: No such file or directory

June 13th, 2010 · 24 Comments · svn, Tips and Tricks

While working on setting up a backup script for a subversion repository I encountred an interesting problem. I’ve done this before many times, on different repos, and haven’t seen any issues, but in this case the backup command that is using the built-in svnadmin hotcopy command was failing with this error: svnadmin hotcopy –clean-logs /svn/repo/ [...]

[Read more →]

Tags:

Enable/Disable APC on virtual host level

March 18th, 2010 · 8 Comments · Performance, sysadmin, Tips and Tricks

APC (Alternative PHP Cache) is a free, open, and robust framework for caching and optimizing PHP intermediate code. APC is a great tool to speed up a php driven site and I can’t even think of a big site running on a php framework without an opcode cache (other good choices are eaccelerator or xcache). [...]

[Read more →]

Tags: ··

CentOS 5.4 released

November 3rd, 2009 · 6 Comments · Centos

Almost two months after RHEL5.4, Centos 5.4 was released on the 21st October. This version includes various changes into the virtualization field and it includes support for KVM (kernel-based virtual machine) hypervisor and the Xen hypervisor. Also this release features many bug fixes and security updates, and should be an easy upgrade for users running [...]

[Read more →]

Tags: ·

HowTo display PHP errors when you don’t have access to php.ini

September 15th, 2009 · 1 Comment · Centos, CLI, Debian, HowTo, sysadmin, Tips and Tricks

If you are using a shared server, or just have a limited account on your Buy Cipro Online company servers, you might not have access to your php configuration file php.ini (this is usually found under /etc/php.ini in rhel/centos and /etc/php5/apache2/php.ini in debian/ubuntu). Still, in many situations it might be needed to enable php errors [...]

[Read more →]

Tags: