Linux Sysadmin Blog

Linux Sysadmin Blog header image 4

Entries Tagged as 'sysadmin'

Colbert tells how Barr stuck his penis into the Anonymous hornets nest

May 9th, 2011 · 1 Comment · Security, sysadmin

I realized that I missed a great episode of Colbert when a friend described at lunch how Colbert had likened the Barr attack on anonymous to him sticking his penis to the hornets nest. I hope you enjoy a laugh. For a good article on how anonymous got into Barrs accounts read this Ars Technica [...]

[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: ·

Google will use site performance and page load speed in SERP ranking – sysadmin SEO here we come

April 13th, 2010 · 2 Comments · Performance, sysadmin

Page Load speed just became a lot more important – Google announced recently that it will use page speed in its SERP rankings. Here is a quote that will make the SEO and marketing folks knock on sysadmin doors: We encourage you to start looking at your site’s speed (the tools above provide a great [...]

[Read more →]

Tags: ···

Enable/Disable APC on virtual host level

March 18th, 2010 · 6 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: ··

Mail Relay Issue on Cpanel Server

February 16th, 2010 · 1 Comment · Centos, hosting, Security, sysadmin

I noticed lots of email being relayed on one of our shared hosting server, CentOS5 with Cpanel and running Exim, and the strange thing is that the email server (MX) for these accounts are pointing to Google (GoogleApps), and we have correct entries for localdomains and remotedomains for these account. The relayers (‘From’ server/address) looks [...]

[Read more →]

Tags: ·

Change Squid outgoing address

October 19th, 2009 · No Comments · Installation, sysadmin, Tips and Tricks

Typically Squid caching proxy server listen and outgoing IP address are the same. Sometimes, for various reasons we want to alter the outgoing IP address. The new address must first be brought up as an interface on the squid server. In squid.conf look for tcp_outgoing_address line, uncomment it and replace the default IP value with [...]

[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:

CentOS 4.8 finally released!

September 1st, 2009 · No Comments · Centos, Security, sysadmin

After a long development time, Centos 4.8 was finally released on the 21st August. This is a good thing that after the latest problems between the centos developers, they were able to pull this out finally and now be able to focus on the upcoming 5.4 release. There are no major changes in this update, [...]

[Read more →]

Tags:

Using wildcards in nginx valid_referers

August 25th, 2009 · 3 Comments · HowTo, sysadmin, Tips and Tricks

This quick post will show how we can easily allow only certain http referrers see some location using nginx. This might be useful for example if you are using nginx as a static content provider and want to not allow everyone hot-linking your images and only your own sites. Doing something like this in nginx [...]

[Read more →]

Tags: ·

Using svn+ssh with a non-standard ssh port

August 17th, 2009 · 1 Comment · CLI, HowTo, sysadmin, Tips and Tricks

Many people use subversion over ssh for a simple and secure way to work on remotely hosted svn repositories. This is normally as simple as running: svn co svn+ssh://user@server/repo . If the remote ssh server is not running on the default ssh port (tcp 22) then this needs a little tweaking to get it working. [...]

[Read more →]

Tags: ··