HowTo install memcached from sources on Linux

Install Libevent 1.3e I will assume that you don’t have libevent installed already on your system. Your system might already have libevent installed, but normally you will have a very old version (for ex. on debian etch the packaged libevent is 1.1a that was released in 2005); in this case you will want to remove(…)

How to Discover the web server software and version of a remote server

This can be achieved in many ways, but the simplest one in my opinion is to use a basic telnet connection on port 80 to the remote server and issue a regular request like “HEAD / HTTP/1.0” (I will use HEAD because we don’t care about the content): telnet 80 Trying… Connected to(…)

How to Hide apache software version

I will talk in this post about setting two apache directives: ServerTokens and ServerSignature and how they can be used. Basically to provide only a minimal amount of information we will set this in the main config to: ServerTokens ProductOnly ServerSignature Off That’s it… For a more detailed describtion check out the rest of the(…)

How to Increase PHP memory limit

If you have seen an error like “Fatal Error: PHP Allowed Memory Size Exhausted” in apache logs or in your browser, this means that PHP has exhausted the maximum memory limit. This post will show 3 different ways on how you can increase the php memory limit and also explain when you should use them.(…)

How to Tune Nagios For Maximum Performance

Optimization Tips: 1. Graph performance statistics with MRTG. In order to keep track of how well your Nagios installation handles load over time and how your configuration changes affect it, you should be graphing several important statistics with MRTG. This is really, really, really useful when it comes to tuning the performance of a Nagios(…)

How to Secure Nagios – Best Practices

Best Practices Use a Dedicated Monitoring Box. I would recommend that you install Nagios on a server that is dedicated to monitoring (and possibly other admin tasks). Protect your monitoring server as if it were one of the most important servers on your network. Keep running services to a minimum and lock down access to(…)

What is robots.txt

Web site owners use the /robots.txt file to give instructions about their site to web robots; this is called The Robots Exclusion Protocol. It works likes this: a robot wants to vists a Web site URL, say Before it does so, it firsts checks for, and finds: User-agent: * Disallow: / The “User-agent:(…)

How to Configure a Cisco Router

Configuring your Cisco Router If you have just turned on the router, it will be completely unconfigured. If it is already configured, you may want to view its current configuration. Even if it has not been previously configured, you should familiarize yourself with the show commands before beginning to configure the router. Enter privileged mode(…)

How to remotely administer IIS by using the Remote Administration (HTML) Tool

ith the Remote Administration (HTML) tool, you can manage IIS from a Web browser. With this tool, you can perform most of the administrative tasks that you can perform with the Internet Information Services Manager. NOTE: You can only use the Remote Administration (HTML) tool to administer servers that are running IIS 6.0. You cannot(…)

How to Set Permissions for Web Content

To set permissions for Web content: 1. Start IIS, or open the Microsoft Management Console (MMC) that contains the IIS snap-in. 2. Expand ServerName, where ServerName is the name of the server, and then expand Web Sites. 3. Right-click the Web site, virtual directory, directory, or file that you want to set permissions for, and(…)

How to Set NTFS Permissions for a File or Folder

To set NTFS permissions for a file or folder: 1. Start Windows Explorer, and then locate the file or folder that you want to set permissions for. 2. Right-click the file or folder, click Properties, and then click the Security tab. 3. To configure permissions for a new user or group, click Add. In the(…)

How to Enable or Disable WordPress Comments on all posts in one step

1. First you need to log into your phpMyAdmin control applet 2. Now locate and select your WordPress database on the left from the database dropdown list 3. Now select the SQL tab from the navigation tabs at the top 4. Within the Run SQL Query box add the following code and click go: UPDATE(…)